Repository navigation
ci: add weekly full-suite RTL audit - #4797
Merged
nynexman4464 merged 1 commit intoAug 7, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
nynexman4464
force-pushed
the
nynexman4464/ci/rtl-weekly
branch
from
August 7, 2026 16:09
5419a38 to
9d0f7c2
Compare
nynexman4464
marked this pull request as ready for review
August 7, 2026 16:27
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
force-pushed
the
nynexman4464/ci/rtl-weekly
branch
from
August 7, 2026 18:38
9d0f7c2 to
5227108
Compare
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#4796 scopes
pr-rtlto the components a PR touches, so nothing checks the rest of the library any more. But RTL breaks from a distance — a token, shared hook, or icon primitive can regress a component no PR edited.a11y-weekly.ymlalready solved this for a11y and says so in its header. This adds the RTL twin, so the split is symmetric:pr-a11ya11y-weekly.ymlpr-rtlrtl-weekly.ymlSame shape as its a11y sibling: build once → audit with no
--filter→ summarize → upload → open-or-update one deduped tracking issue. Mondays 06:17 UTC (offset from a11y-weekly's 05:23 so the two Playwright sweeps don't contend), plusworkflow_dispatch. Runners follow #4708's classes —2-core-ubuntu-armfor the audit,ubuntu-slimfor the issue job.One difference from the a11y twin:
rtl-audit.mjsexits non-zero on any finding, so a failed step is normal here rather than a tripped gate.weekly-rtl-summary.jsderives status from the report's contents instead, and the job goes red only on a crash — findings open a tracking issue whilepr-rtlis still soft-gated.Test plan
weekly-rtl-summary.jsrun against all three status paths, using a real full-sweep report (1394 stories, generated from run 31122588220's Storybook artifact):status=clean, 125 components / 1394 stories, no tablesstatus=findings,total_findings=3, D1 + D5 + curated tables render (failures injected into the real report)status=crashedon a missing reportrtl-weekly.ymlparses to 2 jobs / 9 audit steps; prettier-clean.