Skip to content

ci: add positive tooling-only lane - #6113

Merged
cixzhang merged 5 commits into
mainfrom
ci/tooling-only-surface-lane
Sep 7, 2026
Merged

cixzhang merged 5 commits into
mainfrom
ci/tooling-only-surface-lane

Conversation

@cixzhang

@cixzhang cixzhang commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Why

A score-ledger-only change currently waits for the full UI suite, Storybook and Sandbox builds, browser guards, and unrelated docsite generation. Those checks do not own this operational Node surface.

Builds on the positive surface/check-ownership contract landed in #6112.

What

  • classify every changed path into a positive surface set, including package-specific runtime, theme/build, Storybook/visual, and shared/unknown surfaces
  • derive every specialized lane only from exact surface-set equality using the trusted base-branch classifier
  • admit only scripts/score-ledger.mjs and its test as the first Node-tooling group
  • run Node Vitest plus the existing required lint/guardrail workflow
  • keep test, build, docsite-test, and lint reporting under their historical names while skipping unrelated UI, browser, Storybook, Sandbox, theme, visual, a11y, and RTL work
  • bypass preview publication for tooling while explicitly settling visual status and removing stale preview links
  • fail closed for missing classifier dependencies, incomplete input, renames from unknown paths, mixed scope, workflow/classifier changes, shared infrastructure, and package runtime paths
  • pin the exact trusted-classifier invocation and the full serialized shape consumed by the Sandbox score-ledger projection

Risk

The allowlist is intentionally two files. Every other unsupported or mixed path still takes broad CI. This PR changes its own workflow/classifier, so trusted-base classification makes this PR run broad CI; the new lane becomes active only after landing.

Validation

  • 126 focused routing, workflow, and consumer-contract tests passed
  • repository pre-commit guardrails passed on every commit
  • exact-head CI runs broad by design because this PR changes the classifier/workflows
  • independent review challenged and verified the positive-set authority, trusted invocation, and Sandbox projection boundary

@vercel

vercel Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
astryx Ready Ready Preview Sep 7, 2026 3:00pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 7, 2026
@cixzhang
cixzhang force-pushed the ci/tooling-only-surface-lane branch from ec95245 to 242aac8 Compare September 7, 2026 14:55
@cixzhang
cixzhang merged commit fd90faa into main Sep 7, 2026
26 of 27 checks passed
github-actions Bot added a commit that referenced this pull request Sep 7, 2026
cixzhang added a commit that referenced this pull request Sep 7, 2026
Nine commits, no conflicts. Two touched files this branch also changes, both
auto-merged cleanly and re-read by hand:

- ci.yml gained a tooling_only lane (#6112, #6113) and moved the heavier test
  lane to a larger runner (#6080). The tooling lane is an exact two-file
  allowlist in change-scope.cjs, so it cannot claim this PR, and the
  accessibility additions — the widened check-components filter, the a11y-spec
  typecheck step, and the test:a11y-contract step in pr-a11y — all survived the
  merge intact;
- deploy.yml's a11y-spec typecheck step is intact.

The 0.6 breaking change (#6118) removes deprecated focus-hook options, an
isImeKeyEvent re-export, and useResizable pixel bounds. Nothing under Switch,
the stories, or internal/a11y-spec references any of them.
@github-actions
github-actions Bot deleted the ci/tooling-only-surface-lane branch September 8, 2026 06:22

This branch was successfully deployed

1 active deployment
Preview — 242aac87 Deployed Sep 7, 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.

1 participant