Skip to content

spec(AST-030): a changed release spec runs in full before merge - #11052

Merged
cixzhang merged 3 commits into
mainfrom
specs/release-specs-changed
Nov 10, 2026
Merged

cixzhang merged 3 commits into
mainfrom
specs/release-specs-changed

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor

Records only. Delegated CI authority (chief of staff), 2026-11-10, extending DEC-28's rule that a changed spec always runs:

  • FR32: a pull request that adds or changes a release spec (*.release.*.spec.ts, or a module it imports where the mapping can see it) runs that spec in full, alone (--workers=1), on the runner class that gates the release check, in release-specs (changed). Merge-guard requires it only when triggered; a missing, skipped, or stale-head result waits and fails closed. A timing-budget miss is a failure, never retried automatically.
  • DEC-29 records why: FR12's contract plan can drop a changed release spec as not run.
  • A verification row is added, plus an FR32 gap (no job yet).
  • The verification table's padding is re-aligned by the formatter (whitespace only).

Writing rubric results

  • R1: no; each sentence states what CI does.
  • R2: no research in the record.
  • R3: no evidence cell names a pull request.
  • R4: two rejected alternatives, each stated as a reason.
  • R5: no pull request or issue number.
  • R6: no open question added.
  • R7: no project status; the gap states the observable mismatch.

Scope

Records: AST-030

@vercel

vercel Bot commented Nov 10, 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 Nov 10, 2026 7:39pm UTC

Request Review

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 7f4ebf5

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 10, 2026
@astracat-bot

astracat-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 10, 2026, 7:45 PM UTC

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes. An engineering owner has approved FR32 and DEC-29 for this head; two defects in the record's wording remain.

  • DEC-29 says running a release spec alone on the gating runner class "gives timings that match the release check", but the release check runs contract files four at a time per leg (A11Y_CONTRACT_WORKERS: 4 in .github/workflows/ci.yml) on 4-core-ubuntu or ubuntu-latest depending on who dispatches it, so please name the runner label in FR32 and either state the release-check conditions the job reproduces or correct that sentence.
  • The FR32 verification row has three cells in a four-column table, so its failure expectation renders under "Representative states" and "Mutation or failure expectation" is empty; please split the Verification cell into the test and the representative states (re-running the formatter should then also drop the re-padding of the other 48 rows).

Optional: say what an incomplete changed-file list or an import graph that cannot be computed does to FR32's trigger, and whether "a module such a spec imports" includes transitive imports, as FR12 and FR31 do for their own selection.

[Automated review]

Comment thread docs/specs/AST-030/spec.md Resolved
Comment thread docs/specs/AST-030/spec.md Resolved
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 188fbb9

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes. An engineering owner has approved FR32 and DEC-29 for this head; two defects in the record's wording remain.

  • DEC-29 says running a release spec alone on the gating runner class "gives timings that match the release check", but the release check runs contract files four at a time per leg (A11Y_CONTRACT_WORKERS: 4 in .github/workflows/ci.yml) on 4-core-ubuntu or ubuntu-latest depending on who dispatches it, so please name the runner label in FR32 and either state the release-check conditions the job reproduces or correct that sentence.
  • The FR32 verification row has three cells in a four-column table, so its failure expectation renders under "Representative states" and "Mutation or failure expectation" is empty; please split the Verification cell after "job" into the test and its representative states.

The verification table also conflicts with main, and CI has not run on this head; after the rebase, an engineering owner approves the new head. Worth a look too: FR32's visit rule runs seven release specs that visit a11y-* stories or fixture pages on every pull request in a job with no time limit, and FR32 does not say whether a Lab-only pull request (FR26) runs the job.

[Automated review]

Comment thread docs/specs/AST-030/spec.md Resolved
Comment thread docs/specs/AST-030/spec.md Resolved
…hanged

# Conflicts:
#	docs/specs/AST-030/spec.md
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 2c6bcb7

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. An engineering owner approved FR32 and DEC-29 for this head, and both wording defects from the earlier review are fixed: FR32 names 4-core-ubuntu, DEC-29 no longer claims an alone run matches the release check, and the FR32 verification row has four cells. Required checks pass on this head.

Worth a look, none blocking:

  • 4-core-ubuntu is the paid runner pool the repository keeps for the release path (.github/scripts/ci-free-runners.test.mjs), so the job that builds FR32 will need an allowance there and will share that pool with release checks; DEC-29 could say that is intended, or why ubuntu-latest does not serve.
  • FR26 still lists what a Lab-only pull request runs without the new job; a sentence there, like its interaction-spec exception, would match FR32.
  • Only core-<component>--… story ids and sandbox paths resolve, so release specs that visit a11y-* or richtext-* stories or fixture pages may run on every pull request, in a job with no stated time limit.
  • The description's last bullet (the table re-padding) no longer applies after the merge from main.

[Automated review]

every failure the full runs caught (DEC-28). FR31 gap: the selection and its tests have no implementation yet; the lane runs every interaction spec.

- **FR32 — A changed release spec runs in full before merge.** A pull request
runs a release spec in full, alone (`--workers=1`), on `4-core-ubuntu`, the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: 4-core-ubuntu is the paid larger-runner pool that .github/scripts/ci-free-runners.test.mjs reserves for the release path ("a dedicated paid pool so PR load never starves a release"). The job that builds FR32 will need an entry in its PAID_ALLOWED list, its minutes are billed, and it will share runners with the release check. Consider saying in DEC-29 that this is intended, or why the standard ubuntu-latest (the same four vCPUs and 16 GB, per that test) does not serve.

touched-component mapping can see it, or changes a component the spec
visits. A release spec is a `*.release.*.spec.ts` file or a spec tagged
`@pr-a11y release-only`. A spec visits a component through a story id
(`core-<component>--…`) or a sandbox path that maps to the component's

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking, unchanged from the earlier head: only core-<component>--… story ids and sandbox paths resolve here, so release-only specs that visit only a11y-* stories (Listbox, PopoverSecondDocument, Dialog, TooltipFocusReturn), fixture pages (useChatStreamScroll, reset.until-found, the Table release proof) or richtext-* stories would run on every pull request. That is about 9 minutes of recorded test time before any triggered spec, in a job FR32 gives no time limit or legs. Consider saying how those visits map to a component, or how the job splits.

visits. A release spec is a `*.release.*.spec.ts` file or a spec tagged
`@pr-a11y release-only`. A spec visits a component through a story id
(`core-<component>--…`) or a sandbox path that maps to the component's
folder; a visit that cannot be resolved runs the spec. A Lab-only pull request (FR26) runs the job for the release specs it triggers. The job MUST NOT drop a spec as not run. Merge-guard requires the job only when a pull request

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: FR26 still says a Lab-only pull request runs "no visual, accessibility or RTL suite unless a maintainer's label runs one", and FR12 says it runs no contract job. This sentence settles the precedence, but FR26's list of what the Lab-only lane runs doesn't show the new job. FR26 already states its interaction-spec exception inline; a matching sentence there would keep the two clauses in step.

@cixzhang
cixzhang merged commit 3505a30 into main Nov 10, 2026
64 checks passed
@github-actions
github-actions Bot deleted the specs/release-specs-changed branch November 11, 2026 06:05

This branch was successfully deployed

1 active deployment
Preview — 2c6bcb77 Deployed Nov 10, 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