Approved edits after review no longer force a new full review, and ship works in git worktrees (#4862)

Small edits that a project lead approves after the final review no
longer force a whole new review. Shipping from a git worktree no longer
crashes, and merging main no longer throws away a finished review when
main already made one of the PR's exact changes.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/specialist-batched#2 reader=testing
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-27 23:07:11 +00:00
1 parent 9befb56288
commit d0b59828d6
21 files changed
+582 -66

No files matched your search

+8
View File
@@ -484,6 +484,14 @@ export const KNOWN_WINDOWS_INCOMPATIBLE: Array<{ file: string; reason: string }>
file: 'test/ship-finish-edit-ruling.test.ts',
reason: 'drives bin/gstack-ship-release, gstack-approvals, gstack-docs-candidate and gstack-wtree (shebangs) through test/helpers/ship-bin-fixture.ts like test/ship-finish-ruled-notes.test.ts, whose every case fails on windows-latest at the first bin spawn',
},
{
file: 'test/git-path-worktree.test.ts',
reason: 'puts a POSIX shell script named git first on PATH to make one git call fail; windows-latest cannot run it as git',
},
{
file: 'test/ship-receipt-carry-absorbed.test.ts',
reason: 'drives bin/gstack-ship-receipt write and carry (shebangs) through test/helpers/ship-bin-fixture.ts like test/ship-receipt-carry-mixed.test.ts; windows-latest fails every case at the first bin spawn (windows-scoped-shard on #4862)',
},
{
file: 'test/review-pass-program.test.ts',
reason: 'split from test/review-pass.test.ts, which Windows never ran (its POSIX mode-bit check): runs bin/gstack-review-dispatch (a shebang) and bash git fixtures through test/helpers/review-pass-harness.ts',