-
Notifications
You must be signed in to change notification settings - Fork 867
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
feat(analysis): add ttlStrategy on AnalysisRun for garbage collecting stale AnalysisRun automatically #3324
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3324 +/- ##
==========================================
+ Coverage 81.77% 81.83% +0.06%
==========================================
Files 135 135
Lines 20649 20688 +39
==========================================
+ Hits 16886 16931 +45
+ Misses 2888 2883 -5
+ Partials 875 874 -1 ☔ View full report in Codecov by Sentry. |
Go Published Test Results2 106 tests 2 106 ✅ 2m 49s ⏱️ Results for commit c20482c. ♻️ This comment has been updated with latest results. |
E2E Tests Published Test Results 4 files 4 suites 3h 27m 56s ⏱️ For more details on these failures, see this check. Results for commit c20482c. ♻️ This comment has been updated with latest results. |
724b384
to
6612838
Compare
@jessesuen @zachaller PTAL, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we re-run codegen to fix conflicts
Signed-off-by: Kevin Qian <[email protected]>
Signed-off-by: Kevin Qian <[email protected]>
Signed-off-by: Kevin Qian <[email protected]>
Signed-off-by: Kevin Qian <[email protected]>
0f06eb2
to
500d37d
Compare
Rebased on master and reran codegen. |
Signed-off-by: Kevin Qian <[email protected]>
Signed-off-by: Kevin Qian <[email protected]>
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 2 New issues |
This PR adds the following according to discussions in Enhancement Proposal. This is a first-stage PR that only contains change to AnalysisRun, but will have a second PR in the future for AnalysisTemplate. See more reasoning in the proposal above.
ttlStrategy
to AnalysisRun spec. It looks likeNote that
secondsAfterSuccess
andsecondsAfterFailure
will overridesecondsAfterCompletion
if specified, and the corresponding AnalysisRun is of the corresponding state.completedAt
(next tostartedAt
) in AnalysisRun status.Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.