crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

refact: pkg/database decisions extract, rename

Open mmetc opened this issue 7 months ago • 2 comments

mmetc avatar May 16 '25 10:05 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 May 16 '25 10:05 github-actions[bot]

Codecov Report

Attention: Patch coverage is 66.83938% with 64 lines in your changes missing coverage. Please review.

Project coverage is 60.65%. Comparing base (d64ee2a) to head (e39ad43). Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
pkg/database/decisionfilter.go 63.63% 56 Missing and 4 partials :warning:
pkg/database/decisions.go 83.33% 4 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3635      +/-   ##
==========================================
- Coverage   60.70%   60.65%   -0.06%     
==========================================
  Files         374      375       +1     
  Lines       41322    41328       +6     
==========================================
- Hits        25086    25067      -19     
- Misses      14166    14186      +20     
- Partials     2070     2075       +5     
Flag Coverage Δ
bats 44.74% <64.76%> (-0.03%) :arrow_down:
unit-linux 34.27% <33.16%> (-0.03%) :arrow_down:
unit-windows 24.30% <0.00%> (-0.04%) :arrow_down:

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 May 16 '25 10:05 codecov[bot]

@blotus too many conflicts with the ip changes, I'll redo this one for 1.7

mmetc avatar Jul 08 '25 14:07 mmetc