mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-02 23:14:33 +01:00
fix(free-tests): narrow the CI matrix in the #3850 wiring test; keep free-suite job names
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
a509613f45
commit
2dd7be2843
2 files changed
+2
No files matched your search
@@ -440,6 +440,7 @@ jobs:
|
||||
run: xvfb-run -a bun run test:quick
|
||||
|
||||
free-suite:
|
||||
name: free-suite (${{ matrix.shard }})
|
||||
needs: [free-plan, reuse]
|
||||
if: ${{ !cancelled() && needs.free-plan.result == 'success' && (needs.reuse.result != 'success' || needs.reuse.outputs.reused != 'true') }}
|
||||
runs-on: ${{ needs.free-plan.outputs.runner }}
|
||||
|
||||
@@ -252,6 +252,7 @@ describe('free-tests workflow wiring', () => {
|
||||
loadFreeTestDurations() ?? {}, 'wiring', Number(workflow.env.FREE_SUITE_JOBS));
|
||||
const declared = workflow.jobs['free-suite']['timeout-minutes'];
|
||||
const emitted = ciPlanMatrix(plan, setupSeconds);
|
||||
if (!('include' in emitted)) throw new Error('the CI matrix carries no per-shard timeouts');
|
||||
const short = plan.shards.flatMap(shard => {
|
||||
const neededMs = wallTimeoutForPackedShard(shard.predictedMs, DEFAULT_WALL_TIMEOUT_MS, shard.files.length)
|
||||
+ wallTimeoutForShard(FLAKY_RETRY_CAP) + setupSeconds * 1000;
|
||||
|
||||
Reference in new issue
Block a user