crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

refact cmd/crowdsec for clarity

Open mmetc opened this issue 1 month ago • 2 comments

mmetc avatar Nov 20 '25 12:11 mmetc

@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.

github-actions[bot] avatar Nov 20 '25 12:11 github-actions[bot]

Codecov Report

:x: Patch coverage is 53.09735% with 53 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 63.49%. Comparing base (65b7465) to head (e45bd57). :warning: Report is 36 commits behind head on master.

Files with missing lines Patch % Lines
cmd/crowdsec/serve.go 42.30% 13 Missing and 2 partials :warning:
cmd/crowdsec/pour.go 15.38% 10 Missing and 1 partial :warning:
cmd/crowdsec/parse.go 67.74% 6 Missing and 4 partials :warning:
cmd/crowdsec/dump.go 33.33% 4 Missing and 4 partials :warning:
cmd/crowdsec/output.go 64.28% 3 Missing and 2 partials :warning:
cmd/crowdsec/crowdsec.go 60.00% 0 Missing and 4 partials :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4072      +/-   ##
==========================================
+ Coverage   62.81%   63.49%   +0.67%     
==========================================
  Files         464      447      -17     
  Lines       33272    32534     -738     
==========================================
- Hits        20901    20657     -244     
+ Misses      10247     9805     -442     
+ Partials     2124     2072      -52     
Flag Coverage Δ
bats 46.15% <53.09%> (+0.02%) :arrow_up:
unit-linux 35.70% <0.00%> (+0.11%) :arrow_up:
unit-windows ?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov[bot] avatar Nov 20 '25 12:11 codecov[bot]