Keep recovery handoffs available after publication cancellation
This commit is contained in:
@@ -465,9 +465,15 @@ failures without additional consumer release infrastructure.
|
||||
cold Go-tool executable's removal and launcher-owned metadata cleanup.
|
||||
Explain how to use another selected supported CLI if an entry point becomes
|
||||
unavailable.
|
||||
5. Prepare the command after publication using a separate bounded context so
|
||||
publication cancellation leaves handoff construction available. Report
|
||||
module-preparation failures separately and retain a persistent native
|
||||
executable fallback. Recognized temporary Go-build executables provide no
|
||||
durable native fallback. Keep publication's original status/error and
|
||||
immediate reconciliation context unchanged.
|
||||
|
||||
**R14 follow-up completed:** API-only recovery uses an independent private module
|
||||
root. R15 tracks cancellation and preparation-failure handling separately.
|
||||
**R14/R15 follow-ups completed:** API-only recovery uses an independent private
|
||||
module root; post-failure preparation handles cancellation and native fallback.
|
||||
|
||||
**Verification:** Extend existing publication CLI tests for the default, override,
|
||||
recording warning with successful status, and original failed/unknown status.
|
||||
@@ -479,6 +485,10 @@ Include an API-only consumer that vendors the library without declaring the CLI
|
||||
tool; execute its handoff and verify source/vendor contents remain unchanged.
|
||||
Exercise relative local replacements, versioned replacements, and ReleaseKit's
|
||||
own source-module recovery entry point.
|
||||
Coordinate cancellation at the recorded push boundary for native, cold
|
||||
registered-tool, and temporary-launcher invocations. Execute the resulting
|
||||
handoff after driver/launcher cleanup and verify retained publication diagnostics
|
||||
and recovery statuses. Exercise native fallback after module-preparation failure.
|
||||
|
||||
## Stage 8: Finish assembled coverage and canonical documentation
|
||||
|
||||
@@ -495,6 +505,8 @@ contracts and a short consumer recovery workflow.
|
||||
before later recovery. Cover root/nested tags and original-record selection.
|
||||
Retain the assembled vendored API-only handoff coverage added for R14,
|
||||
alongside cold registered-tool and temporary-launcher recovery.
|
||||
R15 adds canceled publication and preparation-failure handoff cases using
|
||||
explicit push readiness and fresh later invocations.
|
||||
2. Establish read-only behavior through resulting refs, worktree/branch state,
|
||||
saved records, and controlled observations of candidate/hosted boundaries.
|
||||
Reuse lower-level classification and codec tests. Tests use local remotes,
|
||||
|
||||
@@ -648,6 +648,13 @@ Retain existing cold-build, registered/vendored-tool, quoting, and status cases.
|
||||
|
||||
## R15: Preserve the recovery handoff after publication cancellation — P2
|
||||
|
||||
**Completed:** Post-failure handoff preparation has a separate bounded context
|
||||
and retains a persistent native fallback after module-preparation failure.
|
||||
Coordinated native, cold registered-tool, and temporary-launcher cancellation
|
||||
tests passed, including execution of the printed command after cleanup and
|
||||
retained cancellation diagnostics/statuses. Temporary Go-work executable
|
||||
classification is covered, and Stage 7/8 plus canonical guidance is updated.
|
||||
|
||||
**Relevant code:** `cmd/releasekit/main.go:116–134`, especially the caller context
|
||||
passed to `git.CommonDirectory`. Affects Stage 7 and its Stage 8 coverage.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user