Merge queue ready fetches missing pull request heads in one go, says so, and stops after 60 seconds (GST-3460) (#4668)

`gstack-ship-queue ready` no longer goes silent for minutes on a long
merge queue: it fetches every missing pull request head in one `git
fetch`, prints a progress line first, and stops after 60 seconds.

Why: on gbrain #10011 ready printed nothing for minutes, so nobody could
tell a slow fetch from a hang.

Nothing to do; `GSTACK_TRIAL_FETCH_TIMEOUT_MS` changes the limit.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-22 05:46:02 +00:00
1 parent c2b4f0d2ad
commit 7c0659a69f
7 files changed
+199 -11

No files matched your search

+4
View File
@@ -318,6 +318,10 @@ export const KNOWN_WINDOWS_INCOMPATIBLE: Array<{ file: string; reason: string }>
file: 'test/gstack-ship-queue.test.ts',
reason: 'spawns bin/gstack-ship-queue (shebang) and a #!/bin/sh gh shim through test/helpers/restamp-fixture.ts and test/helpers/ship-queue-fixture.ts',
},
{
file: 'test/ship-queue-trial-fetch.test.ts',
reason: 'spawns bin/gstack-ship-queue (shebang), a #!/bin/sh gh shim and a #!/bin/sh upload-pack wrapper through test/helpers/restamp-fixture.ts and test/helpers/ship-queue-fixture.ts, as test/ship-queue-ready-fresh-base.test.ts does',
},
{
file: 'test/ship-queue-ready-fresh-base.test.ts',
reason: 'spawns bin/gstack-ship-queue (shebang) and a #!/bin/sh gh shim through test/helpers/restamp-fixture.ts and test/helpers/ship-queue-fixture.ts (windows-scoped-shard, run 42720453184)',