crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

refact: migrate net.IP -> net/netip: part 1

Open mmetc opened this issue 6 months ago • 3 comments

mmetc avatar Jun 11 '25 18:06 mmetc

@mmetc: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
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 Jun 11 '25 18:06 github-actions[bot]

@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 Jun 11 '25 18:06 github-actions[bot]

Codecov Report

Attention: Patch coverage is 92.20779% with 12 lines in your changes missing coverage. Please review.

Project coverage is 60.70%. Comparing base (e542890) to head (13f097b). Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
pkg/database/alerts.go 70.37% 8 Missing :warning:
pkg/database/alertfilter.go 92.30% 2 Missing and 1 partial :warning:
pkg/database/decisions.go 97.61% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3680      +/-   ##
==========================================
- Coverage   60.70%   60.70%   -0.01%     
==========================================
  Files         373      374       +1     
  Lines       41177    41187      +10     
==========================================
+ Hits        24998    25001       +3     
- Misses      14127    14132       +5     
- Partials     2052     2054       +2     
Flag Coverage Δ
bats 44.76% <89.61%> (+0.05%) :arrow_up:
unit-linux 34.31% <70.12%> (+0.03%) :arrow_up:
unit-windows 24.31% <29.22%> (+0.03%) :arrow_up:

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 Jun 11 '25 18:06 codecov[bot]