Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,13 @@ jobs:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
max-parallel: 5
# The fleet is the longest verification chain: 82 caps of ~2.5 min each.
# At the former width of 5 it alone took 42-87 minutes and was the last
# job to finish. The organization plan allows 20 concurrent hosted jobs;
# 12 leaves 8 for the rest of this run (some of it is still queued when
# the fleet is dispatched) and for sibling workflows. Replaying recorded
# runs, wider than 12 gains under 3 minutes and delays those jobs more.
max-parallel: 12
matrix:
cap: ${{ fromJson(needs.cockpit-e2e-dispatcher.outputs.caps) }}
steps:
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci-workflow.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ it('reuses only same-run dependencies while preserving every isolated Cockpit pr
assert.equal(restore.env.COCKPIT_DEPENDENCY_NODE, '${{ needs.cockpit-e2e-dispatcher.outputs.dependency_node }}');
assert.equal(restore.if, undefined, 'a failed restore must prevent proofs from running');
assert.equal(restore['continue-on-error'], undefined);
assert.equal(consumer.strategy['max-parallel'], 5);
assert.equal(consumer.strategy['max-parallel'], 12,
'the fleet may hold at most 12 of the 20 hosted-runner slots; the rest of the run and sibling workflows need the other 8');
assert.equal(consumer.strategy['fail-fast'], false);
assert.equal(consumer.steps.some(step => step.run === 'npm ci'), false);
const originalSteps = consumer.steps.filter(step => ![download, restore].includes(step))
Expand Down
Loading