mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-19 19:32:18 +02:00
fix(e2e): retro-base-branch session budget survives runner contention (#2473)
Same class as review-dashboard-via, one test over in the same file: /retro is a long multi-step flow whose clean pass measures 225-239s — a coin flip against the 240s inner budget. First CI run passed at 225s; the rerun timed out at the 240s line on all 3 attempts (exitReason "timeout"); the local verification run passed at 239s, ONE second under the old cap. Inner timeout 240s -> 360s; outer bun timeout 300s -> 480s for headroom. Verified: PASS locally post-fix (17 turns, 239s). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
61ae9809e6
commit
85804bb0b5
@@ -427,7 +427,11 @@ This is a local-only repo so use the local branch (main) instead of origin/main
|
|||||||
Write your retrospective to ${dir}/retro-output.md`,
|
Write your retrospective to ${dir}/retro-output.md`,
|
||||||
workingDirectory: dir,
|
workingDirectory: dir,
|
||||||
maxTurns: 25,
|
maxTurns: 25,
|
||||||
timeout: 240_000,
|
// 360s, not 240s: same runner-contention class as review-dashboard-via.
|
||||||
|
// /retro is a long multi-step flow — a clean pass measured 225s and the
|
||||||
|
// next CI run timed out at the 240s line (exitReason "timeout", 3/3
|
||||||
|
// attempts). Outer bun timeout below rises to 480s for headroom.
|
||||||
|
timeout: 360_000,
|
||||||
testName: 'retro-base-branch',
|
testName: 'retro-base-branch',
|
||||||
runId,
|
runId,
|
||||||
});
|
});
|
||||||
@@ -444,7 +448,7 @@ Write your retrospective to ${dir}/retro-output.md`,
|
|||||||
const content = fs.readFileSync(retroPath, 'utf-8');
|
const content = fs.readFileSync(retroPath, 'utf-8');
|
||||||
expect(content.length).toBeGreaterThan(100);
|
expect(content.length).toBeGreaterThan(100);
|
||||||
}
|
}
|
||||||
}, 300_000);
|
}, 480_000);
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- Retro E2E ---
|
// --- Retro E2E ---
|
||||||
|
|||||||
Reference in New Issue
Block a user