Preserve native exit codes in the release wrapper

This commit is contained in:
2026-10-06 01:03:18 +00:00
parent 6b777dd861
commit 685cd8a64d
5 changed files with 118 additions and 3 deletions

View File

@@ -291,6 +291,8 @@ authentication. The Gitea suite passes.
### R8 — Medium: The release wrapper collapses documented exit codes
Status: Resolved.
Category: Executable integration and documentation correctness.
**Evidence:** [scripts/release](../../scripts/release), line 9, executes
@@ -313,6 +315,12 @@ distribution, or external preparation gate.
unknown-publication status 3, as well as ordinary success and known failure.
Use local fixtures rather than a real publication endpoint.
**Resolution:** The source wrapper builds its native executable into ignored
`.releasekit/bin` and invokes it directly. Documentation distinguishes native
exit codes from `go run` driver behavior. Local-repository tests execute the
actual wrapper and verify success 0, rejected publication 1, invalid input 2,
and unresolved publication 3. The focused wrapper test passes.
### R9 — High: Manual recovery inspects the fetch endpoint
Category: Release recovery correctness and documentation gap.