Skip to content

Commit 8d5bb3d

Browse files
committed
chore(specgit): wait-step deadline 40min — the 15min inline deadline was the real timeout
The job-level 45min bump was necessary but not sufficient: the sibling-wait script carries its own hardcoded 15-minute deadline and gives up while Unit Tests (linux) (~28min) is still running.
1 parent 6a3f3b2 commit 8d5bb3d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/specgit-accept.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ jobs:
7171
const retried = [...byName.keys()].find((k) => k.startsWith(name + ' ('));
7272
return retried !== undefined && terminal.has(byName.get(retried));
7373
};
74-
const deadline = Date.now() + 15 * 60 * 1000;
74+
// Must outlast the slowest required sibling (Unit Tests (linux)
75+
// runs ~28min on PRs); the job timeout above bounds this too.
76+
const deadline = Date.now() + 40 * 60 * 1000;
7577
while (Date.now() < deadline) {
7678
const res = await fetch(url, { headers });
7779
if (!res.ok) throw new Error('check-runs API ' + res.status);

0 commit comments

Comments
 (0)