Repository navigation
spec(AST-030): a changed release spec runs in full before merge - #11052
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
/approve-spec 7f4ebf5 |
|
AI review status for this pull request.
|
There was a problem hiding this comment.
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: 4in.github/workflows/ci.yml) on4-core-ubuntuorubuntu-latestdepending 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]
|
/approve-spec 188fbb9 |
There was a problem hiding this comment.
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: 4in.github/workflows/ci.yml) on4-core-ubuntuorubuntu-latestdepending 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]
…hanged # Conflicts: # docs/specs/AST-030/spec.md
|
/approve-spec 2c6bcb7 |
There was a problem hiding this comment.
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-ubuntuis 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 whyubuntu-latestdoes 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 visita11y-*orrichtext-*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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
Records only. Delegated CI authority (chief of staff), 2026-11-10, extending DEC-28's rule that a changed spec always runs:
*.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, inrelease-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.Writing rubric results
Scope
Records: AST-030