Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

ci(rtl): run eight pages per RTL shard instead of four (#7411)

Cindy Zhangd24b0d4acc08
diff --git a/.github/scripts/ci-test-routing.test.mjs b/.github/scripts/ci-test-routing.test.mjs
index 06349b1352..750642e3d8 100644
--- a/.github/scripts/ci-test-routing.test.mjs
+++ b/.github/scripts/ci-test-routing.test.mjs
@@ -302,7 +302,7 @@ describe('ci.yml RTL package sharding', () => {
'produced no explicit should_run decision',
);
expect(runLines(shard)).toContain('--packages "$PACKAGE"');
- expect(runLines(shard)).toContain('--concurrency 4');
+ expect(runLines(shard)).toContain('--concurrency 8');
expect(runLines(shard)).toContain(
'.github/scripts/rtl-report-completion.mjs',
);
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f6f61a322a..7506790ef7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2186,8 +2186,9 @@ jobs:
# routing and target changes prove themselves instead of skipping their own
# check. A policy-sensitive full run spans ~2,000 stories and exceeded the
# single-job budget, so CI partitions it by canonical package; each shard runs
- # four browser workers, and the stable pr-rtl join requires all five scope
- # manifests plus a report from every applicable package.
+ # eight browser pages on its four cores (the audit waits on page loads), and
+ # the stable pr-rtl join requires all five scope manifests plus a report from
+ # every applicable package.
# The scheduled full sweep also runs in rtl-weekly.yml.
#
# Three auto dimensions: D1 icon-mirror, D5 positional-mirror, and D6
@@ -2282,7 +2283,7 @@ jobs:
--storybook-dir apps/storybook/dist \
--output rtl-audit-report.json \
--packages "$PACKAGE" \
- --concurrency 4 \
+ --concurrency 8 \
"${FILTER_ARGS[@]}"
- name: Require completed RTL shard report