Skip to content

ci: move all workflows off ubuntu-latest to unblock runner backlog - #4708

Merged
cixzhang merged 1 commit into
mainfrom
ci/move-off-ubuntu-latest
Aug 4, 2026
Merged

cixzhang merged 1 commit into
mainfrom
ci/move-off-ubuntu-latest

Conversation

@cixzhang

@cixzhang cixzhang commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Reassigns every CI job off the backlogged hosted ubuntu-latest pool, per-job by workload class. Runner choices validated against the smoke tests in #4705.

This PR is also its own proof: opening it runs ci.yml (test + builds + a11y + rtl), lint, cli-smoke-test, codemod-verify, and internal-registry on their new runners.

Mapping

Target $/min Jobs Rationale
ubuntu-slim (1c x64) $0.002 18 API/bot jobs, join gates, artifact-download + git-push deploys. IO/API-bound; 1 core is plenty.
2-core-ubuntu-arm $0.005 15 All our pnpm build/test/typecheck/Playwright jobs. Like-for-like 2 cores, cheaper than ubuntu-latest ($0.006), 75 GB RAM. ARM validated in #4705 (pickup, node/pnpm install, Playwright all passed).
4-core-ubuntu (x64) $0.012 5 release.yml npm publish kept on x64 (outward-facing, hard to reverse). crowdin (Docker action) + internal-registry (3rd-party action) kept on x64 for tooling/arch compatibility.

Net: 33 of 38 jobs are now cheaper than ubuntu-latest; the 5 x64 jobs are all low-frequency (publish, i18n sync, dep check).

Notes

  • The ci: test alternate runner labels #4705 heavy smoke failure was not an ARM problem — it ran pnpm -F @astryxdesign/core build instead of full pnpm build, so storybook's config couldn't resolve @astryxdesign/build/dist/vite.mjs. The real jobs all run full pnpm build first, so this won't reproduce. This PR's own CI is the confirmation.
  • 4-core-ubuntu-arm was intentionally avoided — it wasn't in the smoke matrix. Only 2-core-ubuntu-arm / ubuntu-24.04-arm were validated.

Testing

Watching this PR's CI on the new runners.

Reassigns every CI job's runner by workload class to get off the
backlogged hosted ubuntu-latest pool, validated against the runner
smoke tests in #4705:

- ubuntu-slim (1c x64, $0.002/min): API/bot jobs, join gates, and
  artifact-download + git-push deploys — IO/API-bound, 1 core is plenty.
- 2-core-ubuntu-arm ($0.005/min): all pnpm build/test/typecheck/
  Playwright jobs. Like-for-like 2 cores, cheaper than ubuntu-latest,
  ARM-validated in the smoke run (pickup, node/pnpm install, Playwright).
- 4-core-ubuntu (x64, $0.012/min): npm publish (release.yml) kept on
  x64 as it's outward-facing and hard to reverse; crowdin (Docker action)
  and internal-registry (third-party action) kept on x64 for tooling/arch
  compatibility.

33 of 38 jobs are now cheaper than ubuntu-latest ($0.006); the 5 x64
jobs are all low-frequency (publish, i18n, dep check).
@vercel

vercel Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview Aug 4, 2026 5:56pm

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 4, 2026
@cixzhang
cixzhang merged commit 5392b88 into main Aug 4, 2026
18 of 19 checks passed
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

No new or modified components detected.

Bundle Size Summary

No component packages changed.

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

github-actions Bot added a commit that referenced this pull request Aug 4, 2026
@github-actions
github-actions Bot deleted the ci/move-off-ubuntu-latest branch August 4, 2026 19:16
nynexman4464 added a commit that referenced this pull request Aug 7, 2026
Restores the coverage the previous commit traded away. Now that pr-rtl only
audits the components a PR touches, nothing checks the rest of the library —
and RTL regressions are not confined to the component you edited: tokens,
shared hooks, and icon primitives break RTL from a distance.

The RTL twin of a11y-weekly.yml, mirroring its shape (build once, audit
unfiltered, summarize, upload, open-or-update one deduped tracking issue) and
its runner split per #4708 — 2-core-ubuntu-arm for the Playwright/build job,
ubuntu-slim for the API-bound issue job.

Reporting, not gating: rtl-audit.mjs exits non-zero on ANY finding, so unlike
accessibility-audit.js a failed step is the normal way findings surface.
weekly-rtl-summary.js derives status from the report's contents instead, and
the job goes red only on a crash — findings open a tracking issue while
pr-rtl is still soft-gated.

Scheduled Mondays 06:17 UTC, offset from a11y-weekly's 05:23 so the two
full-suite Playwright sweeps don't contend for runners.

Test plan: weekly-rtl-summary.js exercised against all three status paths
using a real full-sweep report (1394 stories, generated locally from the
Storybook artifact of run 31122588220): clean -> status=clean with 125
components / 1394 stories; findings -> status=findings, total_findings=3,
D1 + D5 + curated tables render (failures injected into the real report);
crashed -> status=crashed on a missing report. rtl-weekly.yml parses to the
expected 2 jobs / 9 audit steps. Prettier-clean.
nynexman4464 added a commit that referenced this pull request Aug 7, 2026
Restores the coverage the previous commit traded away. Now that pr-rtl only
audits the components a PR touches, nothing checks the rest of the library —
and RTL regressions are not confined to the component you edited: tokens,
shared hooks, and icon primitives break RTL from a distance.

The RTL twin of a11y-weekly.yml, mirroring its shape (build once, audit
unfiltered, summarize, upload, open-or-update one deduped tracking issue) and
its runner split per #4708 — 2-core-ubuntu-arm for the Playwright/build job,
ubuntu-slim for the API-bound issue job.

Reporting, not gating: rtl-audit.mjs exits non-zero on ANY finding, so unlike
accessibility-audit.js a failed step is the normal way findings surface.
weekly-rtl-summary.js derives status from the report's contents instead, and
the job goes red only on a crash — findings open a tracking issue while
pr-rtl is still soft-gated.

Scheduled Mondays 06:17 UTC, offset from a11y-weekly's 05:23 so the two
full-suite Playwright sweeps don't contend for runners.

Test plan: weekly-rtl-summary.js exercised against all three status paths
using a real full-sweep report (1394 stories, generated locally from the
Storybook artifact of run 31122588220): clean -> status=clean with 125
components / 1394 stories; findings -> status=findings, total_findings=3,
D1 + D5 + curated tables render (failures injected into the real report);
crashed -> status=crashed on a missing report. rtl-weekly.yml parses to the
expected 2 jobs / 9 audit steps. Prettier-clean.
nynexman4464 added a commit that referenced this pull request Aug 7, 2026
Restores the coverage the previous commit traded away. Now that pr-rtl only
audits the components a PR touches, nothing checks the rest of the library —
and RTL regressions are not confined to the component you edited: tokens,
shared hooks, and icon primitives break RTL from a distance.

The RTL twin of a11y-weekly.yml, mirroring its shape (build once, audit
unfiltered, summarize, upload, open-or-update one deduped tracking issue) and
its runner split per #4708 — 2-core-ubuntu-arm for the Playwright/build job,
ubuntu-slim for the API-bound issue job.

Reporting, not gating: rtl-audit.mjs exits non-zero on ANY finding, so unlike
accessibility-audit.js a failed step is the normal way findings surface.
weekly-rtl-summary.js derives status from the report's contents instead, and
the job goes red only on a crash — findings open a tracking issue while
pr-rtl is still soft-gated.

Scheduled Mondays 06:17 UTC, offset from a11y-weekly's 05:23 so the two
full-suite Playwright sweeps don't contend for runners.

Test plan: weekly-rtl-summary.js exercised against all three status paths
using a real full-sweep report (1394 stories, generated locally from the
Storybook artifact of run 31122588220): clean -> status=clean with 125
components / 1394 stories; findings -> status=findings, total_findings=3,
D1 + D5 + curated tables render (failures injected into the real report);
crashed -> status=crashed on a missing report. rtl-weekly.yml parses to the
expected 2 jobs / 9 audit steps. Prettier-clean.

This branch was successfully deployed

1 active deployment
Preview — 77d6ad3d Deployed Aug 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants