Skip to content

docs(AST-030): a release-critical pull request is admitted to CI at once - #12106

Merged
cixzhang merged 4 commits into
mainfrom
specs/ast030-release-critical-admission
Nov 16, 2026
Merged

cixzhang merged 4 commits into
mainfrom
specs/ast030-release-critical-admission

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor

User impact

A release pull request, a fix forward for a regression in the current release range, or a change that unblocks a consumer's upgrade no longer waits behind ordinary pull requests when CI is full. People waiting on a release or a fix get it sooner; the change still runs every suite it would otherwise run.

What this records

spec:AST-030 gains DEC-30: a pull request labelled release-critical starts its CI run at once, whatever the load, and still runs its full suite. DEC-16's wait for room and FR16's per-author holds do not apply to it. Only a person with write access applies the label, for the three cases above.

  • FR16 names the exemption beside the other unaffected runs.
  • DEC-16's list of bounded ways CI can pass ninety jobs grows from five to six.

Decider: cixzhang, 2026-11-16 08:24 PT: "What is release critical? CI should just allow them they're not that common".

Records only; the workflow change follows in a separate pull request.

Writing rubric results

  • Present tense, describes the system; no history, pull request numbers, or project status in the record.
  • One decision, one owner record (spec:AST-030); extends DEC-16 and FR16 rather than creating a new record.
  • The decider and the owner's words are in the DEC block.
  • pnpm check:knowledge: aligned.

Overlap checked: #12100, #11921 (both edit other AST-030 sections, DEC-16 admission counting and Node test timing; this adds DEC-30 and one FR16 sentence and does not change their text)

@vercel

vercel Bot commented Nov 16, 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 16, 2026 6:47pm UTC

Request Review

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

astracat-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

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

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 16, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec d8cb8eb

@cixzhang
cixzhang marked this pull request as ready for review November 16, 2026 16:54
@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 16, 2026

@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.

Changes requested: an engineering owner approved spec:AST-030 DEC-30 at this head, but FR16 still contradicts it in two places.

  • FR16 still says "Every run of the CI and Main workflows, of any event, waits for room before its jobs start, except two CI workflow jobs" right after the new release-critical sentence, and its main-wait clause says the same, so add the release-critical run to those exceptions (and to DEC-16's opening list of jobs that start before room).
  • FR16's verification row still fails "a run that starts without room before its longest wait" and "a pull-request run that starts while main has waited under fifteen minutes", which DEC-30 now requires, and lists no labelled state, so add those states and limit the two expectations to runs that are not release-critical.

The fix makes a new head, so an engineering owner approves it again by commenting /approve-spec <full head SHA>; the author may do so as an engineering owner. Optional: count the label the way FR12 and FR18 count theirs (last applied by someone with write, maintain or admin access, and no label when that lookup cannot confirm it).

Claims and files checked

Review mode: same-head; reason: none

  • Changed rules since the last review (0): none.
  • Claim: release, fix-forward and upgrade-unblock pull requests stop waiting behind ordinary ones when CI is full and still run every suite: verified as the rule the record now states (DEC-30); this pull request changes the record only.
  • Claim: AST-030 gains DEC-30: verified (the DEC-30 section).
  • Claim: a labelled pull request starts at once whatever the load, outside DEC-16's wait for room and FR16's per-author holds: verified (DEC-30, first two sentences).
  • Claim: only someone with write access applies the label, for three cases: verified (DEC-30).
  • Claim: FR16 names the exemption beside the other unaffected runs: verified; the next FR16 sentence contradicts it (finding above).
  • Claim: DEC-16's list of bounded ways to pass ninety jobs grows from five to six: verified (six bullets).
  • Claim: the decider and the owner's words sit in the DEC block: verified.
  • Claim: records only, with the workflow change in a separate pull request: verified (one Markdown file changes, and no workflow reads the label yet).
  • Claim: the record is present tense, with no history, pull request numbers or project status: verified for the added lines.
  • Claim: one decision in one owner record, extending DEC-16 and FR16: verified.
  • Claim: pnpm check:knowledge reports aligned: verified at this head.
  • Claim: #12100 and #11921 edit other AST-030 sections and this change leaves their text alone: verified; their AST-030 edits apply cleanly on this head.
  • File: docs/specs/AST-030/spec.md: the two findings above, plus the optional label wording.

Automated review (maintainer link)

Comment thread docs/specs/AST-030/spec.md Resolved
Comment thread docs/specs/AST-030/spec.md Resolved
Comment thread docs/specs/AST-030/spec.md Resolved
@cixzhang
cixzhang marked this pull request as draft November 16, 2026 17:24
@cixzhang
cixzhang marked this pull request as ready for review November 16, 2026 17:25
@cixzhang
cixzhang marked this pull request as draft November 16, 2026 17:45
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 763a7d7

@cixzhang
cixzhang marked this pull request as ready for review November 16, 2026 17:45

@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.

Changes requested: an engineering owner approved spec:AST-030 DEC-30 at this head, but the record's wording still contradicts it in two places.

  • FR16 (line 406) and its verification row (line 762) now limit the main yield and the room checks to "unlabelled" pull-request runs, but the record already uses "unlabelled" for a fork without ci:run and a pull request without an opt-in suite label, so every fork running with ci:run, every ci:run-* opt-in and any pull request carrying another label such as CLA Signed would escape them; write "every other pull-request run" and "a run that is not release-critical" instead.
  • Miss: DEC-16 (lines 1127-1128) still says that while a main check waits "pull-request runs wait too", which covers a release-critical run and contradicts FR16 line 400 and DEC-30, so except release-critical runs there and add "even while a main check waits" to the new sixth bounded way, as the first one says.

Optionally, add a verification case for a release-critical label whose applier cannot be looked up, which FR12's rule counts as absent. After the fix, an engineering owner records approval of the new head with /approve-spec <full head SHA>.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: release work no longer waits behind ordinary pull requests when CI is full. Verified as the recorded rule (FR16 line 400, DEC-30); the change is records only.
  • Claim: such a pull request still runs every suite it would otherwise run. Verified (DEC-30 lines 1455-1456; FR16 line 400, heavy suites never held).
  • Claim: the record gains DEC-30, starting the run at once with its full suite. Verified (lines 1450-1468).
  • Claim: DEC-16's wait for room and FR16's per-author holds do not apply to it. Verified (lines 400, 402, 1104-1107, 1456-1457); DEC-16 lines 1127-1128 still disagree (finding above).
  • Claim: only a person with write access applies the label, for three named cases. Verified (lines 1457-1461: write, maintain or admin access).
  • Claim: FR16 names the exemption beside the other unaffected runs. Verified (line 400).
  • Claim: DEC-16's bounded ways past ninety jobs grow from five to six. Verified (lines 1151, 1174-1176).
  • Claim: the decider and the owner's words are in the decision block. Verified (lines 1453, 1463-1464).
  • Claim: records only, with the workflow change in a separate pull request. Verified (one changed file, a knowledge record).
  • Claim: present tense, with no history, pull request numbers or project status in the record. Verified (added lines).
  • Claim: one decision in one owner record, extending DEC-16 and FR16. Verified.
  • Claim: the knowledge check is aligned. Verified (rerun at this head: aligned).
  • Claim: two other open pull requests editing this record do not change its text. Verified (both apply cleanly to this head, alone and together); the description's "one FR16 sentence" understates the edits to FR16, its verification row and DEC-16.
  • File: docs/specs/AST-030/spec.md: the two findings above (lines 406, 762, 1127-1128); DEC-30, the FR16 exemption and DEC-16's opening list are otherwise consistent.

Automated review (maintainer link)

Comment thread docs/specs/AST-030/spec.md Resolved
Comment thread docs/specs/AST-030/spec.md Resolved
Comment thread docs/specs/AST-030/spec.md Resolved
@cixzhang
cixzhang marked this pull request as draft November 16, 2026 18:16
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 8bce120

@cixzhang
cixzhang marked this pull request as ready for review November 16, 2026 18:16

@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.

Approved: an engineering owner approved spec:AST-030 DEC-30 at this head, and FR16, its verification row and DEC-16 now state the release-critical exemption consistently.

Two optional follow-ups:

  • FR16's verification row could add a failing case for a release-critical pull request whose heavy suites are held, since DEC-30 exempts it from the per-author caps and the row tests only its admission.
  • The wider FR16 cell re-pads the whole Verification table, so the FR22 row edit in #11921 now conflicts textually with this change, and whichever lands second needs to re-run the formatter.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: release work no longer waits behind ordinary pull requests when CI is full. Verified as the recorded rule (FR16 lines 400-402, DEC-30); the change is records only.
  • Claim: such a pull request still runs every suite it would otherwise run. Verified (DEC-30 lines 1455-1456; FR16 line 400, heavy suites never held).
  • Claim: the record gains DEC-30, starting the run at once whatever the load. Verified (lines 1450-1468).
  • Claim: DEC-16's wait for room and FR16's per-author holds do not apply to it. Verified (lines 400-402, 406, 1105-1107, 1128, 1456-1457).
  • Claim: only a person with write access applies the label, for three named cases. Verified (lines 1457-1461: write, maintain or admin access, and an applier who cannot be looked up counts as absent).
  • Claim: FR16 names the exemption beside the other unaffected runs. Verified (line 400).
  • Claim: DEC-16's bounded ways past ninety jobs grow from five to six. Verified (line 1151; six bullets at lines 1153-1176).
  • Claim: the decider and the owner's words are in the decision block. Verified (lines 1453, 1463-1464).
  • Claim: records only, with the workflow change in a separate pull request. Verified (one changed file, a knowledge record).
  • Claim: present tense, with no history, pull request numbers or project status in the record. Verified (added lines).
  • Claim: one decision in one owner record, extending DEC-16 and FR16. Verified.
  • Claim: the knowledge check is aligned. Verified (CI's spec-record validation at this head reports the records aligned).
  • Claim: two other pull requests that edit this record touch other sections, and this change does not alter their text. Verified for content: one has since merged and this head merges cleanly with it; the other's FR22 row now conflicts textually because the table is re-padded (follow-up above).
  • File: docs/specs/AST-030/spec.md: clear, with the two optional follow-ups above (line 762 and the re-padded table).

Automated review (maintainer link)

| FR13 | classifier, workflow contract, component-analysis and RTL-scope tests | component change; shared module; Changeset beside code; infrastructure path; incomplete list; no build; an interaction-harness or lint-plugin path beside code, alone and with another shared path, and a script or other shared path beside one | an infrastructure path is scoped, a file-system guard test is skipped, a reverse dependent leaves visual/RTL or enters PR accessibility, or a full-suite event is narrowed |
| FR14 | `workflow-paths.test.mjs` over every workflow | path allowlist; required-context workflow | a `paths-ignore`, a match-all or exclusion glob, or a path filter on a workflow that reports a required context fails |
| FR15 | workflow contract and reconciler tests | ENGOWNER spec PR; owner command; other comment; fork review; non-spec PR; run over the request budget; maintainer dispatch; fork PR, code-only: an owner's exact-head approval plus the owner command clears the code half | `review-required` succeeds while spec approval is missing, another workflow publishes a review context, a fork review starts the spec checks, a non-command comment starts a runner, an over-budget run decides, or a fork's approved code-only PR stays pending after the owner command |
| FR16 | `heavy-caps-action.test.mjs` cap cases and heavy-job contract; `ci-admission.test.mjs` | sixteenth-oldest PR; 101st heavy run of the day, beside cancelled, light and other-branch runs; agent lane and its five-PR and forty-run backstops; an engineering owner, including the shared login past those backstops, a commented-out or trailing-comment handle and an unreadable roster; bot; the deciding run; re-run; failed lookup; a run with room, without room, past its longest wait, beside a waiting `main` check, as a draft or unlabelled fork, with opt-in labels, labelled `release-critical` by write access, by someone without it, and by someone who cannot be looked up, beside small workflows past their measured most, and with the API unreadable; each workflow's most jobs; every required context's rule; a full queue: the capacity tool and admission agree there is no room | a heavy suite that runs ahead of the author's fifteen oldest PRs, or past the daily cap, a capped job that passes, an engineering owner or a re-run that is held, or a roster read from the pull request's head, a run that is not `release-critical` and starts without room before its longest wait, a pull-request run that is not `release-critical` and starts while `main` has waited under fifteen minutes, a `release-critical` run that waits, a run whose label was last applied without write access or by someone who cannot be looked up that does not wait, a job admission could skip, a peak below the jobs its run holds, or a job on a slim runner planned past its fifteen-minute cap fails |

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.

Optional: FR16 (line 400) and DEC-30 exempt a release-critical pull request from the per-author holds, but this row's release-critical failures cover only admission. Consider adding "a release-critical pull request whose heavy suites are held" beside "an engineering owner or a re-run that is held", with an author past the fifteen-PR or daily cap among the states.

@cixzhang
cixzhang marked this pull request as draft November 16, 2026 18:39
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 2cc41d1

@cixzhang
cixzhang marked this pull request as ready for review November 16, 2026 18:39

@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.

Approved pending CI: an engineering owner approved spec:AST-030 DEC-30 at this head, and FR16, its verification row and DEC-16 state the release-critical exemption consistently.

CI did not finish here: the run stopped at admission with "CI is full: re-run all jobs or push later" after twelve minutes, with about 62 other jobs running and a main check waiting, which is the behaviour FR16 already defines, so test, build and docsite-test were cancelled. Re-run all jobs when the queue frees up.

Two optional follow-ups:

  • FR16's verification row could add a failing case for a release-critical pull request whose heavy suites are held, since DEC-30 exempts it from the per-author caps and the row tests only its admission.
  • The wider FR16 cell re-pads the whole Verification table, so the FR22 row edit in #11921 now conflicts textually with this change, and whichever lands second needs to re-run the formatter.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: release work no longer waits behind ordinary pull requests when CI is full. Verified as the recorded rule (FR16 lines 400-402, DEC-30 lines 1455-1457); the change is records only.
  • Claim: such a pull request still runs every suite it would otherwise run. Verified (DEC-30 lines 1455-1456; FR16 line 400, heavy suites never held).
  • Claim: the record gains DEC-30, starting the run at once whatever the load. Verified (lines 1450-1468).
  • Claim: DEC-16's wait for room and FR16's per-author holds do not apply to it. Verified (lines 400-402, 406, 1105-1107, 1128, 1456-1457).
  • Claim: only a person with write access applies the label, for three named cases. Verified with the record's own nuance (lines 1457-1461): the label counts only when last applied by someone with write, maintain or admin access, and an applier who cannot be looked up counts as absent.
  • Claim: FR16 names the exemption beside the other unaffected runs. Verified (line 400).
  • Claim: DEC-16's bounded ways past ninety jobs grow from five to six. Verified (line 1151; six bullets at lines 1153-1176).
  • Claim: the decider and the owner's words are in the decision block. Verified (lines 1453, 1463-1464).
  • Claim: records only, with the workflow change in a separate pull request. Verified (one changed file, a knowledge record).
  • Claim: present tense, with no history, pull request numbers or project status in the record. Verified over the added lines, and the record's structural check reports no status phrase in it.
  • Claim: one decision in one owner record, extending DEC-16 and FR16. Verified.
  • Claim: the knowledge check is aligned. Verified by running it on this head: "Knowledge templates and records are aligned."
  • Claim: two other pull requests that edit this record touch other sections, and this change does not alter their text. Verified for content; one has merged and this head merges cleanly with it, while the other's FR22 row now conflicts textually because the table is re-padded (follow-up above).
  • File: docs/specs/AST-030/spec.md: clear, with the two optional follow-ups above (line 762 and the re-padded table).

Automated review (maintainer link)

@cixzhang
cixzhang marked this pull request as draft November 16, 2026 19:42
@cixzhang
cixzhang marked this pull request as ready for review November 16, 2026 19:42
@cixzhang
cixzhang merged commit c56d65a into main Nov 16, 2026
188 of 196 checks passed
@github-actions
github-actions Bot deleted the specs/ast030-release-critical-admission branch November 17, 2026 06:03

This branch was successfully deployed

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