Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db: review update timestamps, immutable columns #2981

Merged
merged 6 commits into from
May 2, 2024
Merged

Conversation

mmetc
Copy link
Contributor

@mmetc mmetc commented Apr 30, 2024

No description provided.

@mmetc mmetc added this to the 1.6.2 milestone Apr 30, 2024
Copy link

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

Copy link

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

@codecov-commenter
Copy link

codecov-commenter commented Apr 30, 2024

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 ⚠️
pkg/database/ent/machine_update.go 8.33% 22 Missing ⚠️
pkg/database/ent/mutation.go 0.00% 15 Missing ⚠️
pkg/database/ent/meta_update.go 0.00% 10 Missing ⚠️
pkg/database/ent/bouncer_update.go 10.00% 9 Missing ⚠️
pkg/database/ent/alert_create.go 25.00% 4 Missing and 2 partials ⚠️
pkg/database/ent/bouncer_create.go 25.00% 4 Missing and 2 partials ⚠️
pkg/database/ent/configitem_create.go 25.00% 4 Missing and 2 partials ⚠️
pkg/database/ent/decision_create.go 25.00% 4 Missing and 2 partials ⚠️
pkg/database/ent/event_create.go 25.00% 4 Missing and 2 partials ⚠️
... 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%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mmetc mmetc marked this pull request as ready for review April 30, 2024 12:45
@mmetc mmetc changed the title db: change behavior for update timestamps db: review update timestamps, immutable columns May 2, 2024
@mmetc mmetc merged commit 91fbc63 into master May 2, 2024
15 checks passed
@mmetc mmetc deleted the schema_updates branch May 2, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants