crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

refact pkg/types

Open mmetc opened this issue 1 month ago • 3 comments

todo:

  • type alias -> proper types
  • add missing values
  • consistent names
  • swagger
  • ent

mmetc avatar Nov 25 '25 11:11 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 Nov 25 '25 11:11 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 Nov 25 '25 11:11 github-actions[bot]

Codecov Report

:x: Patch coverage is 80.95238% with 4 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 62.74%. Comparing base (9b16f08) to head (ab949d6). :warning: Report is 31 commits behind head on master.

Files with missing lines Patch % Lines
pkg/types/types.go 80.95% 4 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4086      +/-   ##
==========================================
- Coverage   62.76%   62.74%   -0.03%     
==========================================
  Files         459      458       -1     
  Lines       33067    33067              
==========================================
- Hits        20755    20748       -7     
- Misses      10192    10196       +4     
- Partials     2120     2123       +3     
Flag Coverage Δ
bats 46.38% <80.95%> (ø)
unit-linux 35.45% <19.04%> (-0.02%) :arrow_down:
unit-windows 24.81% <0.00%> (-0.01%) :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 Nov 25 '25 11:11 codecov[bot]