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

✨ Add gc repository, tag, artifact, blob daemon task #226

Merged
merged 25 commits into from
Nov 16, 2023

Conversation

tosone
Copy link
Contributor

@tosone tosone commented Nov 16, 2023

No description provided.

@tosone tosone self-assigned this Nov 16, 2023
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

Attention: 1041 lines in your changes are missing coverage. Please review.

Comparison is base (c4efbeb) 45.16% compared to head (ad919ad) 39.70%.

Files Patch % Lines
pkg/dal/dao/daemon.go 0.00% 292 Missing ⚠️
pkg/daemon/gc/decorator.go 0.64% 153 Missing and 1 partial ⚠️
pkg/daemon/gc/gc_tag.go 4.76% 140 Missing ⚠️
pkg/daemon/gc/gc_artifact.go 4.86% 137 Missing ⚠️
pkg/daemon/gc/gc_repository.go 4.68% 122 Missing ⚠️
pkg/daemon/gc/gc_blob.go 8.13% 79 Missing ⚠️
pkg/dal/dao/tag.go 38.63% 27 Missing ⚠️
pkg/validators/validators.go 13.63% 19 Missing ⚠️
pkg/dal/dao/artifact.go 5.26% 18 Missing ⚠️
pkg/dal/dao/webhook.go 6.25% 15 Missing ⚠️
... and 12 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
- Coverage   45.16%   39.70%   -5.46%     
==========================================
  Files         123      123              
  Lines        7202     7880     +678     
==========================================
- Hits         3253     3129     -124     
- Misses       3651     4478     +827     
+ Partials      298      273      -25     
Flag Coverage Δ
unit-test-mysql 39.70% <9.55%> (-5.46%) ⬇️
unit-test-postgresql 39.70% <9.55%> (-5.46%) ⬇️
unit-test-sqlite3 39.70% <9.55%> (-5.46%) ⬇️

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.

@tosone tosone added this pull request to the merge queue Nov 16, 2023
Merged via the queue into main with commit 4b7d444 Nov 16, 2023
9 of 11 checks passed
@tosone tosone deleted the feat/daemon-task-gc branch November 16, 2023 12:33
tosone added a commit that referenced this pull request Nov 16, 2023
* ✨ Add dao funcs for gc

* ⬆️ Upgrade syft

* ⬆️ Upgrade axios

* ✨ Add gc artifact, blob daemon task

* ✨ Update definitions

* ✨ Add daemon task handler

* ✨ Add gc tag table

* ✨ Update gc api handler types

* ✨ Update dao

* ✨ Update daemon gc decorator

* ✨ Update gc api handlers

* ✨ Add daemon gc tag task

* ✨ First day about gc fe

* ✨ Add api docs for daemon

* ⬆️ Update syft and trivy

* ✨ Show next run

* ✨ Support create gc rules

* ✨ Add message field for record table

* ✨ Support update gc repository success count

* ✨ Change gc implement

* ✨ Complete gc implemention

* ✨ Update gc daemon task page

* ✨ Add runner and records page

* ✨ Fix link

* ✨ Fix bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant