A stopped or crashed /ship run no longer blocks the next run or its granted fix round (GST-3260) (#4654)

A /ship run that stopped or crashed no longer blocks the next run or the
fix round it stopped for, and a run that is still working past two hours
stays protected.

Why: a leftover "run in progress" note blocked fix-round grants on four
PRs, and the old 2-hour timer could mark a live run as finished.

Nothing for readers to do; a run that really died is ended with
`gstack-ship-run abandon`.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p1/specialist-batched#3 reader=state-machines
Review-Finding: p1/specialist-batched#4 reader=state-machines
Review-Finding: lib/ship-run-record.ts:167:correctness reader=core
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-22 04:37:26 +00:00
1 parent 23ee4c3dec
commit e8e755473f
28 files changed
+885 -136

No files matched your search

+4
View File
@@ -464,6 +464,10 @@ export const KNOWN_WINDOWS_INCOMPATIBLE: Array<{ file: string; reason: string }>
file: 'test/capy-host-publish.test.ts',
reason: 'drives bin/gstack-ship-receipt, gstack-post, gstack-approvals and gstack-review-log (shebangs) plus a #!/bin/sh gh shim through test/helpers/ship-bin-fixture.ts and restamp-fixture.ts, like test/round-cap-granted-stop.test.ts',
},
{
file: 'test/ship-run-record.test.ts',
reason: 'drives bin/gstack-ship-preflight, gstack-ship-run, gstack-ship-receipt, gstack-approvals, gstack-review-log, gstack-lease and gstack-skill-end (shebangs) through test/helpers/ship-bin-fixture.ts like test/round-cap-granted-stop.test.ts; a bin spawn fails on windows-latest the same way (first-bin-spawn failure class of test/ship-uid-sidecar.test.ts)',
},
{
file: 'test/round-cap-granted-stop.test.ts',
reason: 'drives bin/gstack-ship-receipt, gstack-approvals, gstack-review-plan, gstack-review-log, gstack-review-scope and gstack-ship-release (shebangs) through test/helpers/ship-bin-fixture.ts like test/ship-finish-fixed-links.test.ts; a bin spawn fails on windows-latest the same way (first-bin-spawn failure class of test/ship-uid-sidecar.test.ts)',