Skip to content

spec(AST-030): heavy CI runs once review passes, for every author (DEC-32) - #12595

Merged
cixzhang merged 4 commits into
mainfrom
specs/ast030-dec32-review-pass
Nov 18, 2026
Merged

cixzhang merged 4 commits into
mainfrom
specs/ast030-dec32-review-pass

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Heavy CI runs once review passes, for every author. A push runs typecheck (lint keeps its own workflow). The heavy suites run at each head whose review and spec gates pass, and at the pre-merge re-run. Marking a pull request ready, opening it and reopening it start no heavy suite, except that a draft or fork head whose gates already passed gets its review-pass run when it is marked ready or admitted. A fork admitted with ci:run follows the same rule.

This is lever A of DEC-32. #12359 currently carries both levers. Once this merges, #12359 drops lever A and keeps only the three-run cap (lever B) under a new number.

Records

  • spec:AST-030 FR20 (every author; heavy suites at the review-pass run and the pre-merge re-run), FR17 and FR29 (fork runs follow FR20, with a new FR29 verification row), FR12 (the dependent-audits leg runs on runs that run the heavy suites), FR16's held-suite messages (they name the review-pass run and the pre-merge re-run), and the Lab-only wording.
  • New DEC-32 "Heavy CI runs once review passes", with the owner's decision of 2026-11-17 07:57 PT, plus amendment notes on DEC-14 and DEC-26.
  • An FR20 implementation gap line, because the workflows still defer only the shared agent login's pushes.
  • Main's ci:run-swizzle opt-in in FR12 and FR13 is unchanged.

Writing rubric results

  • R1: no sentence describes a change; the system is stated in the present tense (DEC-32's Decider line and the FR20 gap line are the allowed forms).
  • R2: no research in the record.
  • R3: every verification cell names test files and states, not pull requests.
  • R4: DEC-32's one rejected alternative is one line, inside DEC-32.
  • R5: no # number, /pull/ or /issues/ in the record.
  • R6: no open question.
  • R7: no project status beyond the FR20 gap line.

Number checked: #12359 renumbers (it keeps only the cap and takes the next free number once this lands).

Overlap checked: #12359, #12320, #12287, #12285, #12223, #12129, #11921 (#12359 is the source PR and keeps only the three-run cap; #12223 edits only DEC-30's decider line; the others edit other parts of AST-030 or CI text, not FR20, FR17, FR29 or the heavy-suite deferral)

@vercel

vercel Bot commented Nov 18, 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 18, 2026 7:24am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 18, 2026, 7:31 AM UTC

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec b91d5c0

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 18, 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. The heavy-CI direction in DEC-32 is approved at this head; four fixes in the record and the description remain.

  • FR12 and FR13 drop the ci:run-swizzle opt-in that #12449 added, so the record now contradicts spec:AST-110 FR7 and the label CI still honours; restore both passages and keep only the DEC-32 edits.
  • FR16's held-suite messages still say a held suite runs "on a push" or "tomorrow", which the new FR20 no longer does for any author; reword them to name the review-pass run and the pre-merge re-run.
  • FR29's new rule that a fork head started by the contributor job keeps its heavy-suite admission after the label is removed has no verification row; add that state to the FR20 or FR29 row.
  • The description's rubric results misstate the longest added sentence (48 words, not 38), do not report R1 to R7 one line each, and say #12359 keeps only the cap while its head still rewrites FR20 and defines DEC-32; correct the description.

Non-blocking: DEC-32 says marking ready starts no heavy suite, while FR20 starts every suite when a draft head whose gates already passed is marked ready, so a short exception in DEC-32 would keep the two in step.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claims:
    • A push runs typecheck only, with lint in its own workflow: verified (FR20).
    • The heavy suites run at each head whose review and spec gates pass, and at the pre-merge re-run: verified (FR20).
    • Marking ready, opening and reopening no longer start them: verified (FR20), apart from a head whose gates passed while it could not run CI.
    • A fork admitted with ci:run follows the same rule: verified (FR17, FR29).
    • This is split from #12359, which keeps only the three-run cap: not yet true, since #12359 still rewrites FR20 and defines DEC-32.
    • The records touched are FR20, FR17, FR29, FR12 and the Lab-only wording: verified, but FR12 and FR13 also lose the swizzle opt-in.
    • New DEC-32 with the owner's decision, and amendment notes on DEC-14 and DEC-26: verified.
    • An FR20 gap line, because the workflows still defer only the shared agent login's pushes: verified against the CI workflow's deferral job.
    • Present tense, no history or project status beyond the Decider line and the gap line: verified.
    • The longest added sentence is 38 words: false (48 words).
    • Every new requirement has a verification row: false (FR29's admission after the label is removed).
    • Terms match the record: verified.
    • DEC-32 is a free number: verified on main.
    • Overlap checked against seven open pull requests: verified for FR20, FR17, FR29 and the deferral; the merged swizzle change was missed.
  • Files:
    • docs/specs/AST-030/spec.md: the four findings above and the non-blocking DEC-32 note.

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
Comment thread docs/specs/AST-030/spec.md Resolved
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 18, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec a58a730

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 18, 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.

Approved pending CI: CI has not run on this head yet, and it runs once the pull request is marked ready for review. An engineering owner approved the DEC-32 record at this head, and the four fixes from the last review are in place.

  • Miss (non-blocking): DEC-25 is edited in place under its original decider, while DEC-14 and DEC-26 keep their text and gain an "Amended by DEC-32" note; consider restoring DEC-25's text, appending the same kind of note, and naming DEC-25 in DEC-32 and in the description.
Claims and files checked

Review mode: full; reason: spec-record

  • Claims:
    • A push runs typecheck only, with lint in its own workflow: verified (FR20).
    • The heavy suites run at each head whose review and spec gates pass, and at the pre-merge re-run: verified (FR20).
    • Marking ready, opening and reopening start no heavy suite, except the review-pass run a draft or fork head was owed: verified (FR20, DEC-32).
    • A fork admitted with ci:run follows the same rule: verified (FR17, FR29).
    • #12359 currently carries both levers and keeps only the run cap once this merges: verified against #12359's current changes.
    • The records touched are FR20, FR17, FR29 with a new verification row, FR12, FR16's messages and the Lab-only wording: verified; DEC-25 is also edited.
    • New DEC-32 with the owner's decision, plus amendment notes on DEC-14 and DEC-26: verified.
    • An FR20 gap line, because the workflows still defer only the shared agent login's pushes: verified against the CI workflow's deferral job.
    • Main's ci:run-swizzle opt-in in FR12 and FR13 is unchanged: verified.
    • Writing rubric results R1 to R7: verified.
    • DEC-32 is a free number and #12359 renumbers after this lands: verified on main.
    • Overlap checked against seven open pull requests: verified; none of them edits FR20, FR17, FR29 or the heavy-suite deferral.
  • Files:
    • docs/specs/AST-030/spec.md: the non-blocking DEC-25 note above; otherwise clear.

Automated review (maintainer link)


Rejected: running the audits only when the pull request is marked ready and on
a re-run (a push after ready merges without them); every audit spec on every
Rejected: running the audits on fewer of those runs than the other heavy suites

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.

Miss (non-blocking): DEC-25 is rewritten here under its original decider, while DEC-14 and DEC-26 keep their text and gain an "Amended by DEC-32" note. Consider restoring DEC-25's text and appending "Amended by DEC-32: ...", so the change is attributed to DEC-32.

cixzhang added a commit that referenced this pull request Nov 18, 2026
…messages name the review-pass run and the pre-merge re-run (AST-030 FR16)
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 7b7ca4a

cixzhang added a commit that referenced this pull request Nov 18, 2026
…push runs every suite (AST-030 FR20, DEC-30)

@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: CI has not run on this head yet, because the pull request is a draft; it runs once the pull request is marked ready for review. An engineering owner approved the DEC-32 record change at this exact head, and no blocking finding remains.

Non-blocking:

  • DEC-32 says marking ready, opening and reopening start no heavy suite "with one exception", then adds release-critical as a second, and the FR20 gap line does not say that the workflows also defer a release-critical pull request's push from the shared login.
  • The description does not mention the new release-critical exception in its summary or its records list.
  • DEC-25 is still rewritten in place rather than amended like DEC-14 and DEC-26.
Claims and files checked

Review mode: full; reason: spec-record

Claims:

  • A push runs typecheck for every author, with lint in its own workflow: verified (FR20, spec lines 502-503).
  • The heavy suites run at each head whose review and spec gates pass, and at the pre-merge re-run: verified (FR20, lines 507-511).
  • Marking ready, opening and reopening start no heavy suite, except a draft or fork head whose gates already passed: verified, but incomplete at this head, where release-critical pull requests are a second exception (FR20, line 512; non-blocking).
  • A fork admitted with ci:run follows the same rule: verified (FR17, line 459; FR29, line 652).
  • This is the first of two levers, and the source pull request keeps only the per-author run cap after this lands: verified for today (the source pull request is open, carries both levers and defines its own DEC-32); the renumbering is a stated plan.
  • The records list (FR20, FR17, FR29 with a new verification row, FR12's dependent-audits leg, FR16's held-suite messages, the Lab-only wording): verified (lines 502-512, 448-459, 652, 809, 256, 402-406, 606).
  • New DEC-32 with the owner's decision of 2026-11-17, plus amendment notes on DEC-14 and DEC-26: verified (lines 1498-1511, 1077-1079, 1425-1427); DEC-25 is also rewritten, which the list leaves out (non-blocking).
  • An FR20 gap line, because the workflows still defer only the shared agent login's pushes: verified against the CI workflow's deferral job; it does not name the release-critical mismatch (non-blocking).
  • Main's ci:run-swizzle opt-in in FR12 and FR13 is unchanged: verified (lines 222 and 314 match the base and main).
  • The writing rubric results R1 to R7: verified (no change narration outside the amendment notes, the gap line and the decider line; no research; verification cells name tests; DEC-32's one rejected alternative is one line; no pull request or issue number; no open question; no status beyond the gap line).
  • DEC-32 is the next free number: verified (main ends at DEC-30, and another open pull request claims DEC-31).
  • The seven listed overlapping pull requests edit no part of FR20, FR17, FR29 or the heavy-suite deferral: verified; the one that touches DEC-30 drops its quoted-owner sentence rather than its decider line, and this pull request edits neither.

Files:

  • docs/specs/AST-030/spec.md: clear, with three non-blocking notes.

Automated review (maintainer link)

Most heavy runs are on heads that never merge. So, for every author, the heavy
suites run only at the heads that can merge: each head whose review and spec
gates pass, and the pre-merge re-run. Typecheck and lint run on every push.
Marking ready, opening and reopening start no heavy suite, with one exception:

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: this says "with one exception", and the next line adds a second one (release-critical). Consider "with two exceptions", or moving the release-critical sentence ahead of this one, so DEC-32 reads like FR20.

Comment on lines +753 to +755
FR20 gap: the CI workflows defer the heavy suites only for the shared agent
login's pushes, and run them when a pull request is marked ready, opened or
reopened rather than when the review and spec gates pass at a head.

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: FR20 now exempts release-critical pull requests, but the workflows' deferral job defers every first-attempt push from the shared login without reading that label. Consider adding that mismatch here, so the gap line lists everything the workflows still miss.

@cixzhang
cixzhang marked this pull request as ready for review November 18, 2026 10:25
@cixzhang
cixzhang merged commit c585652 into main Nov 18, 2026
138 checks passed
cixzhang added a commit that referenced this pull request Nov 18, 2026
…e per-author caps; CONTRIBUTING describes the deferral (AST-030 FR16, FR20, FR29)

Merges main (c585652, #12595's record).
cixzhang added a commit that referenced this pull request Nov 18, 2026
…uthor cap, as DEC-33

Main now carries the heavy-CI-at-review-pass text (#12595, DEC-32), so this record keeps only the three-run cap, renumbered DEC-33.
@github-actions
github-actions Bot deleted the specs/ast030-dec32-review-pass branch November 19, 2026 06:04
cixzhang added a commit that referenced this pull request Nov 19, 2026
… the fast checks (AST-030 FR20, DEC-32) (#12606)

* spec(AST-030): heavy CI runs once review passes, for every author (DEC-32)

* ci: heavy suites run once review passes and before merge; a push runs typecheck and lint (AST-030 FR20, DEC-32)

* Merge remote-tracking branch 'origin/main' into specs/ast030-dec32-review-pass

* spec(AST-030): keep main's swizzle opt-in; held-suite messages name the review-pass run; FR29 verification row; DEC-32 ready exception

* Merge #12595's head a58a730 into ci/heavy-on-review-pass; held-suite messages name the review-pass run and the pre-merge re-run (AST-030 FR16)

* spec(AST-030): a release-critical pull request is never deferred (DEC-30)

* Merge #12595's head 7b7ca4a; a release-critical pull request's first push runs every suite (AST-030 FR20, DEC-30)

* ci: the review-pass run finds a fork's pull request and is held by the per-author caps; CONTRIBUTING describes the deferral (AST-030 FR16, FR20, FR29)

Merges main (c585652, #12595's record).

* spec(AST-030): remove the FR20 gap line again; this change closes it

* ci: a release-critical label skips the deferral only when someone with write access applied it last (AST-030 DEC-30)

* spec(AST-030): FR16 says a held review-pass run is not started again at its head; FR20's row names ci-review-pass.test.mjs

* ci: a run that 'Re-run failed jobs' left deferred still gets its review-pass run; CONTRIBUTING names DEC-30's write-access condition

* ci: the review-pass workflow also starts on Review signal's end, which carries a write token for a fork's review

* ci: the review-pass step retries a failed API call three times

* ci: one run-to-pull-request lookup, shared by the PR preview resolver and the review-pass start

* ci: the review pass is a review of the exact head (knowledge-contracts DEC-11), never the author's own push; a head already reviewed runs every suite in its first run

* ci: the deferral notice, CONTRIBUTING and the headers say the full run waits for a review of the exact head; the sweep contains a failed lookup

This branch was successfully deployed

1 active deployment
Preview — 7b7ca4a8 Deployed Nov 18, 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