Skip to content

refact pkg/csplugin: prevent race condition, simpler loop, don't trigger broker on noop#4294

Open
mmetc wants to merge 3 commits intomasterfrom
plugin-panic
Open

refact pkg/csplugin: prevent race condition, simpler loop, don't trigger broker on noop#4294
mmetc wants to merge 3 commits intomasterfrom
plugin-panic

Conversation

@mmetc
Copy link
Contributor

@mmetc mmetc commented Feb 9, 2026

No description provided.

@mmetc mmetc added this to the 1.7.7 milestone Feb 9, 2026
@mmetc mmetc added the kind/fix label Feb 9, 2026
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@mmetc mmetc changed the title refact pkg/csplugin: prevent race condition, don't trigger broker on noop refact pkg/csplugin: prevent race condition, simpler loop, don't trigger broker on noop Feb 9, 2026
@mmetc
Copy link
Contributor Author

mmetc commented Feb 9, 2026

this should reduce (if not remove) the flakiness in https://github.com/crowdsecurity/crowdsec/actions/runs/21713230734/job/62644176583

@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.19%. Comparing base (1df2c55) to head (f80b141).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4294      +/-   ##
==========================================
+ Coverage   63.11%   63.19%   +0.07%     
==========================================
  Files         473      473              
  Lines       33466    33459       -7     
==========================================
+ Hits        21123    21143      +20     
+ Misses      10222    10203      -19     
+ Partials     2121     2113       -8     
Flag Coverage Δ
bats 46.59% <79.41%> (+0.01%) ⬆️
unit-linux 36.08% <97.05%> (+0.01%) ⬆️
unit-windows 24.49% <64.70%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant