Clean known rehearsal pages after their tags are removed
This commit is contained in:
@@ -78,6 +78,10 @@ tag, and the matching local tag. It records intent before each deletion and
|
||||
reobserves ambiguous outcomes. A canceled observation does not cancel CI;
|
||||
cleanup uses an independent bounded context.
|
||||
|
||||
A known matching page can be removed when its tag is already confirmed absent.
|
||||
Adopting a page whose ID was not recorded still requires its tag target to be
|
||||
verified.
|
||||
|
||||
A completed result describes the recorded resources and the CI runs observed
|
||||
at cleanup time. Later operator-initiated reruns, CI history, notifications, and
|
||||
webhook effects are outside that result. Records remain available for operator
|
||||
|
||||
@@ -230,6 +230,11 @@ the original push error, while uncertain dispatch retains recovery evidence.
|
||||
|
||||
## 5. An already-absent tag prevents cleanup of its known hosted page
|
||||
|
||||
**Completed:** Cleanup accepts confirmed tag absence for a recorded matching
|
||||
page, while retaining target verification for page adoption and preserving
|
||||
conflicting IDs, contents, and live targets. Missing-tag, repeated-cleanup,
|
||||
conflict, and the full rehearsal suite pass.
|
||||
|
||||
**Priority:** P2. **Stages:** 10, 13.
|
||||
|
||||
**Relevant code:** [`cleanup`](../../internal/rehearsal/cleanup.go) accepts an
|
||||
|
||||
Reference in New Issue
Block a user