Repository navigation
✨ report ClusterObjectSet teardown as Ready=False/Archiving - #3000
perdasilva wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
2658f34 to
e8dba11
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## cos-ready-objectsnotready #3000 +/- ##
=============================================================
+ Coverage 64.67% 64.68% +0.01%
=============================================================
Files 133 133
Lines 9822 9825 +3
=============================================================
+ Hits 6352 6355 +3
Misses 3036 3036
Partials 434 434
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
e8dba11 to
4d585cc
Compare
While spec.lifecycleState=Archived and teardown is in progress but not yet complete, report a dedicated Archiving reason on the Ready condition instead of RetryableError; Archived stays terminal. A teardown error remains a transient error (RetryableError for now; unified in a later change). ClusterExtension Progressing maps Archiving to RollingOut (neutral). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
4d585cc to
84b69b6
Compare
|
/hold for #2999 |
|
closing since stacks are a problem for prow - re-opened at #3010 |
Description
Part 2/5 of a series completing the
ClusterObjectSet(COS)Readycondition vocabulary.While
spec.lifecycleState=Archivedand teardown is in progress but not yet complete, report a dedicatedReady=False/Archivingreason instead of the genericRetryableError, so the archival phase is distinguishable from a transient error.Archivedremains the terminal reason onceteardown completes.
Changes
ClusterObjectSetReasonArchivingand amarkAsArchivinghelper; emit it fromarchive()on the teardown-in-progress path (requeue 5s).RetryableErrorfor now; unified in the later "remove RetryableError" PR).progressingFromReadymapsArchiving→Progressing=True/RollingOut(neutral).Scope
Experimental API only. Updates the archival unit tests, the concept doc, and regenerates CRD/manifests/API reference. (Also corrects a pre-existing concept-doc row that listed
ArchivedasUnknown; the controller sets itFalse.)🤖 Generated with Claude Code
Summary by CodeRabbit
Archivingstatus while owned objects are being removed, instead of reporting a retryable error.Archivingstate fromArchived, which applies after teardown is complete.