Preserve native exit codes in the release wrapper
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user