An open source design system that's fully customizable and agent ready
TypeScript
ci(a11y): run the contract shards on four cores (#7439)
Cindy Zhange897146a3170
diff --git a/.github/scripts/release-check-workflow.test.mjs b/.github/scripts/release-check-workflow.test.mjsindex fb3502a886..cb011fd250 100644--- a/.github/scripts/release-check-workflow.test.mjs+++ b/.github/scripts/release-check-workflow.test.mjs@@ -689,6 +689,8 @@ describe('full release scope without PR metadata or maintenance writes', () => {'pnpm test:a11y-contract --shard=${{ matrix.shard }}/${{ strategy.job-total }}',);expect(contracts.env.A11Y_CONTRACT_WORKERS).toBe(4);+ // Four workers need four cores; on two the CPU-bound specs time out.+ expect(jobs['a11y-contracts-shard']['runs-on']).toBe('4-core-ubuntu');expect(contracts['continue-on-error']).toBeUndefined();// The join fails closed: a failed shard, or an evidence set no shard// produced, blocks release-check through a11y-contracts.diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 45704aff63..46aad95a5a 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -1952,7 +1952,9 @@ jobs:fail-fast: falsematrix:shard: [1, 2, 3]- runs-on: 2-core-ubuntu-arm+ # One core per worker: on two cores, four workers starved the CPU-bound+ # "every expectation" specs past their timeouts.+ runs-on: 4-core-ubuntupermissions:contents: readsteps: