Distinguish rejected rehearsal pushes from uncertain writes
This commit is contained in:
@@ -66,7 +66,10 @@ the independent CI job or establish that cleanup is safe.
|
||||
## Cleanup and recovery
|
||||
|
||||
Recovery selects one explicit record and uses its captured destinations with
|
||||
current explicitly supplied credentials. A started or uncertain dispatch is
|
||||
current explicitly supplied credentials. A recorded `push: "not_dispatched"`
|
||||
means Git supplied definite rejection or failure-before-dispatch evidence;
|
||||
cleanup removes the owned local tag without requiring CI completion. A started
|
||||
or uncertain dispatch is
|
||||
eligible for cleanup only after every matching observed pipeline and relevant
|
||||
job is terminal and the CI search is checked again. Missing, active, or
|
||||
unavailable CI evidence leaves cleanup pending. Cleanup verifies the recorded
|
||||
|
||||
@@ -192,6 +192,12 @@ selected release version and preserve currently supported Go module paths.
|
||||
|
||||
## 4. A definitively rejected push strands cleanup waiting for nonexistent CI
|
||||
|
||||
**Completed:** Git push errors retain definite non-dispatch/rejection evidence;
|
||||
the coordinator records `not_dispatched` and cleanup removes owned local
|
||||
resources without CI. Ambiguous writes retain observation-based recovery.
|
||||
Native rejecting-hook, pre-dispatch, lost-acknowledgment, unavailable-observation,
|
||||
Git/rehearsal, and source-publication regression checks pass.
|
||||
|
||||
**Priority:** P2. **Stages:** 9, 10, 12, 13.
|
||||
|
||||
**Relevant code:** [`Start`](../../internal/rehearsal/coordinator.go), lines
|
||||
|
||||
Reference in New Issue
Block a user