crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

db: change behavior for update timestamps

Open mmetc opened this issue 1 year ago • 3 comments

mmetc avatar Apr 30 '24 10:04 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 Apr 30 '24 10:04 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 Apr 30 '24 10:04 github-actions[bot]

Codecov Report

Attention: Patch coverage is 34.42623% with 160 lines in your changes are missing coverage. Please review.

Project coverage is 27.58%. Comparing base (c70a2fe) to head (bf6e4fc).

Files Patch % Lines
pkg/database/alerts.go 50.00% 28 Missing and 1 partial :warning:
pkg/database/ent/machine_update.go 8.33% 22 Missing :warning:
pkg/database/ent/mutation.go 0.00% 15 Missing :warning:
pkg/database/ent/meta_update.go 0.00% 10 Missing :warning:
pkg/database/ent/bouncer_update.go 10.00% 9 Missing :warning:
pkg/database/ent/alert_create.go 25.00% 4 Missing and 2 partials :warning:
pkg/database/ent/bouncer_create.go 25.00% 4 Missing and 2 partials :warning:
pkg/database/ent/configitem_create.go 25.00% 4 Missing and 2 partials :warning:
pkg/database/ent/decision_create.go 25.00% 4 Missing and 2 partials :warning:
pkg/database/ent/event_create.go 25.00% 4 Missing and 2 partials :warning:
... and 13 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2981      +/-   ##
==========================================
+ Coverage   27.49%   27.58%   +0.09%     
==========================================
  Files         398      398              
  Lines       58402    57853     -549     
==========================================
- Hits        16055    15960      -95     
+ Misses      40398    39939     -459     
- Partials     1949     1954       +5     
Flag Coverage Δ
unit-linux 35.12% <ø> (ø)
unit-windows 25.63% <34.42%> (+0.08%) :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.

codecov-commenter avatar Apr 30 '24 12:04 codecov-commenter