Skip to content

ci: the review app's exact-head approval starts the heavy suites for a maintainer-admitted fork too; merging is unchanged - #13042

Merged
cixzhang merged 6 commits into
mainfrom
ci/heavy-turn-read-collaborators
Nov 20, 2026
Merged

cixzhang merged 6 commits into
mainfrom
ci/heavy-turn-read-collaborators

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Who this helps

Contributors whose pull requests come from a fork that a maintainer admitted with ci:run, such as vjeux. Today the review app's approval at their exact head does not start the heavy suites, because the heavy turn reads the merge gate's rule, where the app counts only for a write-access author. Their deferred CI runs wait for an engineering owner even after the review app has approved. With this change, that approval starts the heavy suites. Who may merge is unchanged.

Why the maintainer's ci:run, not "read access", is the signal. vjeux has no repository access record: collaborators/vjeux is 404, and his "read" permission is the public-repository default that GitHub reports for anyone. He is a private member of the organization, so the workflow token sees his association as CONTRIBUTOR, exactly like an outside contributor. Organization membership and author association are not usable signals either (architecture:knowledge-contracts DEC-11). The one signal the workflow can trust is a maintainer having admitted the fork with ci:run. That is already the gate external forks must pass first.

Authority: the record owner's decision (cixzhang, 2026-11-19 19:49:29 PT), raised by the Chief 2026-11-20 01:33Z via the coordinator; DEC-32 refinement (spec:AST-030 FR20 and DEC-32, heavy turn only).

What changes

  • .github/scripts/lib/heavy-turn.mjs: a new predicate, heavyReviewPasses, for the heavy turn only. It clears no gate. It passes when:
    • the review gate's spec half passes at the head (readSpecGate). It does not require review-required success, which for a fork author waits for an engineering owner; and
    • an exact-head review approves the code: an engineering owner, or the review app's latest verdict when the author has write access or the pull request is a fork that a maintainer (write access or more) ever labelled ci:run. The label may be gone since, because an admitted run stays admitted (FR29). A label from a bot or a reader does not count, and a head with no repository (a deleted fork) counts as a fork.
    • The author's own review never counts.
    • A new helper, maintainerAdmitted, reads the issue's labeled events.
    • startHeavy (ci-review-pass.yml) and heavy-ci's gate step in ci.yml use it. The gate step still waits up to three minutes for Review signal, then lets the predicate decide.
  • .github/workflows/ci-review-pass.yml: the header comment describes the rule.
  • docs/specs/AST-030/spec.md: FR20 says a maintainer-admitted fork head also gets its review-pass run once its spec gate passes and the review app approves that exact head; this starts the suites only and clears no gate. DEC-32's amendment gives the reason, with its Decider line.
  • Unchanged: reviewPasses (DEC-11's merge-gate reading), review-signal.yml and review-required. An engineering owner still has to approve before such a pull request can merge.

Preflight before the ready flip

Tooling fallback (CI-only change, the shared machine loaded), at d74848c: review:pre 0 findings; every .github/scripts test passes (2943 passed, 25 skipped); eslint and Prettier clean; actionlint shows no new findings; pnpm check:knowledge aligned.

Tests (red first)

ci-review-pass.test.mjs, "the heavy turn's review (DEC-32)". Each case checks the heavy turn and the merge gate side by side:

  • A maintainer-admitted fork with a review-app approval at the head: heavy turn starts, merge gate does not pass. The same holds after the label was removed.
  • No ci:run, or one added by a reader or a bot, or another label: the app does not start it. A deleted fork without admission: does not start. An engineering owner's approval still counts for both.
  • An approval of an older head: no.
  • The author's own approval (an engineering-owner author): no for the heavy turn.
  • review-required pending but the spec half passed: the heavy turn starts. Spec half not passed: never.
  • A write-access author: both pass, as before.
  • startHeavy re-runs the deferred run for an admitted fork head.

ci-heavy-deferral.test.mjs: the gate step calls heavyReviewPasses (never reviewPasses). A gate still pending after three minutes leaves the decision to it; no gate at all defers.

4 of the new cases fail on the previous head's helper; the whole helper is new against main. 65/65 pass in these two files.

Writing rubric results

  • Present tense, describing the system: pass. FR20's sentence and DEC-32's amendment state what the review-pass run does and that it clears no gate.
  • No narration, research, pull-request references, project status or open options: pass.
  • One fact per sentence, short sentences, active voice: pass.
  • The reason sits in the decision (DEC-32's amendment), the behavior in the requirement (FR20): pass.
  • No internal context: pass (check-no-internal clean).
  • pnpm check:knowledge: aligned; Prettier clean.

CI impact

CI impact: none for write-access authors. A maintainer-admitted fork's head that the review app approved now gets its heavy suites without waiting for an engineering owner. Merging still waits for one.

Owning session: noopbot (a61f66c2), under CI & Release (ca77f950). Land path: the drain's serial merge loop, on green, CodeBunny approval and Specs' exact-head /approve-spec.

…a read-access collaborator too; merging is unchanged
@vercel

vercel Bot commented Nov 20, 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 20, 2026 5:06am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 20, 2026, 5:17 AM UTC

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

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 7af7da0

Storybook · Sandbox · built from this PR's head

Package size: no published package changed; no new dependencies.

Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.

CI impact: −0.1 job-min per update · pool −0.1% · time to green +10.1 min · standard runners · 1 other workflow changed (not measured) · 3 CI action or script files changed (not measured) ⚠️
Before After Change
Job-minutes per PR update 198.2 198.1 −0.1
Runner pool, runner-minutes a day 54,029 53,998 −31 (−0.1%)
Average concurrent jobs 37.5 37.5 0
Time to green (median → this run) 22.3 min 32.4 min +10.1 min
Runs a day 273 273 0

Changed jobs: heavy-ci changed: standard

Other workflows: ci-review-pass.yml changed: runs on pull_request_review, issue_comment, workflow_run, schedule (11,26,41,56 * * * *), workflow_dispatch; standard runners; its minutes are not measured here

Not measured (the jobs that use these keep their recent minutes above): .github/scripts/ci-heavy-deferral.test.mjs, .github/scripts/ci-review-pass.test.mjs, .github/scripts/lib/heavy-turn.mjs.

Flags: time to green +10.1 min.

Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.


Generated by PR Enrichment workflow | View full report

…al starts the heavy suites for a read-access collaborator
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 20, 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.

Approval waits on an engineering owner's decision on the spec:AST-030 change, and four blocking issues need fixes.

The new FR20 sentence and DEC-32 amendment add a requirement the current spec does not state, and they reach architecture:knowledge-contracts DEC-11, which still says authors without write permission clear the gate only through an engineering owner's approval and never through author association. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking findings:

  • An admitted fork run whose ci:run label was later removed (as FR29's contributor job does once its run starts) no longer restarts with every suite when an engineering owner approves, because heavyReviewPasses reads the live label (.github/scripts/lib/heavy-turn.mjs:189-195); the new test at .github/scripts/ci-review-pass.test.mjs:377-385 asserts this, and dropping the label check is safe because an unadmitted fork run defers nothing for startHeavy to restart.
  • The pull request does not admit #13017, the case it names, because GitHub reports that author as CONTRIBUTOR, which the predicate rejects (heavy-turn.mjs:156, :217-220, and the pull request's own test at ci-review-pass.test.mjs:386-388), so either read repository access from the repository's collaborator record or narrow the title and description.
  • architecture:knowledge-contracts DEC-11 is left contradicted by the new FR20 sentence and by the association-based check (docs/specs/AST-030/spec.md:510-514, heavy-turn.mjs:153-156), so amend DEC-11 here with the heavy-turn exception or reword FR20 so the review-pass run has its own trigger.
  • The turn.heavyReviewPasses ?? turn.reviewPasses fallback in .github/workflows/ci.yml:827 never runs, because the heavy-ci step loads the helper from the workflow's own commit, so remove it and correct the description's claim that this pull request's own run uses it.

Smaller notes: the header of ci-review-pass.yml still says the app counts only for a write-access author, and a head with no repository (a deleted fork) counts as a same-repository branch in the new predicate.

Claims and files checked

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

  • Claim: today the heavy turn reads the merge gate's rule, so the app counts only for write-access authors. Verified (base heavy-turn.mjs and ci.yml called reviewPasses).
  • Claim: #13017 is a fork head with ci:run that the review app approved. Verified. Claim: this change starts its heavy suites. False (author reported as CONTRIBUTOR).
  • Claim: the new predicate requires review-required success and an exact-head approval, from an engineering owner or from the app for a read-or-higher author with a collaborator association. Verified (heavy-turn.mjs:181-233).
  • Claim: it never passes for a fork without ci:run. Verified, but it reads the live label (blocking finding 1).
  • Claim: the author's own review never counts. Verified (heavy-turn.mjs:199-207).
  • Claim: startHeavy and the heavy-ci gate step use it. Verified (heavy-turn.mjs:259-269, ci.yml:827-836).
  • Claim: the gate step falls back to reviewPasses for this pull request's own run. False (blocking finding 4).
  • Claim: FR20 and DEC-32 are edited as described. Verified. Claim: owner authority for the amendment is being confirmed. Not established at this head.
  • Claim: reviewPasses, the review workflow and review-required are unchanged, and merging still needs an engineering owner. Verified.
  • Claim: the six new or changed test cases fail on the base and all 63 cases pass on the head. Verified.
  • Claim: formatting is clean and the knowledge check is aligned. Verified.
  • Claim: no CI impact for write-access authors. Verified for them; admitted fork runs regress (blocking finding 1).
  • File .github/scripts/lib/heavy-turn.mjs: blocking findings 1-3; the deleted-fork note.
  • File .github/workflows/ci.yml: blocking finding 4.
  • File .github/scripts/ci-review-pass.test.mjs: asserts the regression, and its fork stubs have no head repository.
  • File .github/scripts/ci-heavy-deferral.test.mjs: clear.
  • File docs/specs/AST-030/spec.md: owner decision needed; blocking finding 3.

Automated review (maintainer link)

Comment thread .github/scripts/lib/heavy-turn.mjs Resolved
Comment thread .github/scripts/lib/heavy-turn.mjs Resolved
Comment thread docs/specs/AST-030/spec.md Resolved
Comment thread .github/workflows/ci.yml Resolved
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 5a3678b

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec b9e24bd

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 20, 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 spec:AST-030 FR20 and DEC-32 direction now has an engineering owner's approval at this head, but five blocking issues remain.

Blocking findings:

  • An admitted fork run whose ci:run label was later removed no longer restarts with every suite when an engineering owner approves, because heavyReviewPasses reads the live label (.github/scripts/lib/heavy-turn.mjs:189-195), which FR29 ("which its admission still covers after the job removes the label") and its verification row rule out; dropping the check is safe because an unadmitted fork run defers nothing for startHeavy to restart.
  • The predicate decides repository access from author association (heavy-turn.mjs:153-156, :217-220), so an organization member (MEMBER) with only public read qualifies, which goes beyond FR20's "repository collaborator" and against architecture:knowledge-contracts DEC-11's "not from owner lists, organization membership, or author association"; read the author's access from the repository's collaborator record instead.
  • The description says this change starts the heavy suites for #13017, but GitHub reports that author as CONTRIBUTOR, which the predicate and the pull request's own test (.github/scripts/ci-review-pass.test.mjs:386-388) reject, so fix the access check with a test in that shape or narrow the description.
  • architecture:knowledge-contracts DEC-11 still says an engineering owner's approval is the only way for an author without write permission to clear the gate, which contradicts the new FR20 sentence (docs/specs/AST-030/spec.md:510-514), so amend DEC-11 with the heavy-turn exception or word FR20 so the review-pass run has its own trigger.
  • The turn.heavyReviewPasses ?? turn.reviewPasses fallback (.github/workflows/ci.yml:827) never runs because the step loads the helper from the workflow's own commit, so remove it and correct the description's claim that this pull request's own run uses it.

Smaller notes: the header of ci-review-pass.yml still describes the write-access-only rule, and a head with no repository (a deleted fork) counts as a same-repository branch. CI has not run at this head because the pull request is a draft.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: today the heavy turn reads the merge gate's rule, so the review app counts only for write-access authors. Verified (the base's startHeavy and heavy-ci step call reviewPasses).
  • Claim: the record owner decided the direction. Verified (an engineering owner's exact-head /approve-spec; the spec-owner status succeeds).
  • Claim: #13017 is a fork head with ci:run that the review app approved. Verified. Claim: its author has read access. Not verifiable here. Claim: this change starts its heavy suites. False (blocking finding 3).
  • Claim: the new predicate needs review-required success and an exact-head approval from an engineering owner, or from the review app for a write-access author or a read-or-higher collaborator. Verified (heavy-turn.mjs:181-233). Claim: the association shows the repository granted access. False for MEMBER (blocking finding 2).
  • Claim: it never passes for a fork without ci:run. Verified, but it reads the live label (blocking finding 1).
  • Claim: the author's own review never counts. Verified (heavy-turn.mjs:199-207).
  • Claim: startHeavy uses it. Verified (heavy-turn.mjs:259-269).
  • Claim: the heavy-ci step calls it. Verified (ci.yml:827-836). Claim: it falls back for this pull request's own run. False (blocking finding 5).
  • Claim: FR20 and DEC-32 change as described, with the decider named. Verified (spec.md:510-514, :1517-1523).
  • Claim: reviewPasses, the review workflow and review-required are unchanged, and merging still needs an engineering owner for a read-access author. Verified.
  • Claim: the six new or changed cases fail on the base and the two files pass 63 of 63 on the head. Verified.
  • Claim: Prettier is clean and the knowledge check is aligned. Verified. Claim: ESLint is clean. Verified (its configuration ignores these scripts).
  • Claim: the whole scripts suite count, the pre-review check and actionlint results. Not verified (not reproducible in this review).
  • Claim: the writing rubric results and the public-text check. Verified (present tense, one fact per sentence; no internal text found).
  • Claim: no CI impact for write-access authors. Verified for them; admitted fork runs whose label was removed regress (blocking finding 1).
  • File .github/scripts/lib/heavy-turn.mjs: blocking findings 1 to 3; the deleted-fork and duplicated-reads notes.
  • File .github/workflows/ci.yml: blocking finding 5.
  • File .github/scripts/ci-review-pass.test.mjs: asserts finding 1's regression and rejects #13017's shape; its fork stubs have no head repository.
  • File .github/scripts/ci-heavy-deferral.test.mjs: clear.
  • File docs/specs/AST-030/spec.md: owner-approved; blocking finding 4; the verification-row note.

Automated review (maintainer link)

…a maintainer-admitted fork; it clears no gate
@cixzhang cixzhang changed the title ci: the review app's exact-head approval starts the heavy suites for a read-access collaborator too; merging is unchanged ci: the review app's exact-head approval starts the heavy suites for a maintainer-admitted fork too; merging is unchanged Nov 20, 2026
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 20, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec d74848c

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 20, 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: one record sentence needs updating, while the earlier blocking issues are all fixed and an engineering owner approved the spec:AST-030 FR20 and DEC-32 change at this head.

Blocking

  • spec:AST-030 FR17 still says an admitted fork's run is typecheck only "until the head's review and spec gates pass" (docs/specs/AST-030/spec.md:461, and :452-453 for every ready pull request), which contradicts the new FR20 sentence at :510-514 that starts an admitted fork's heavy suites while the review gate still waits for an engineering owner, so reword both FR17 sentences to point at the review-pass run.

Non-blocking: the comments at .github/scripts/lib/heavy-turn.mjs:15-16 and :191-192 say merging reads reviewPasses, but merging reads review-required, and reviewPasses now has no caller outside the tests. maintainerAdmitted counts a maintainer's ci:run from any point in the pull request's history, not only the label that admitted the head. After a review, ci-review-pass.yml still waits up to five minutes for review-required success, which an admitted fork approved only by the review app never reaches.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: today the heavy turn reads the merge gate's rule, so the review app counts only for write-access authors. Verified (the base's startHeavy and heavy-ci step call reviewPasses).
  • Claim: the motivating contributor has no collaborator record and shows to the workflow token as a contributor. Not verified here; the code does not depend on it.
  • Claim: organization membership and author association are not usable signals under DEC-11. Verified (DEC-11's text).
  • Claim: the record owner decided the direction. Verified (an engineering owner's exact-head /approve-spec; the spec-owner status succeeds).
  • Claim: the new predicate needs the spec half, not review-required success. Verified (heavy-turn.mjs:221-227).
  • Claim: an engineering owner's approval, or the review app's for a write-access author or a maintainer-admitted fork, counts at the exact head. Verified (heavy-turn.mjs:237-269).
  • Claim: the label may be gone since. Verified (labeled events; the label-removed test). It is read for the whole pull request (non-blocking note).
  • Claim: a label from a bot or a reader does not count, and a deleted fork counts as a fork. Verified (heavy-turn.mjs:174-185, :250-253).
  • Claim: the author's own review never counts. Verified (heavy-turn.mjs:228-236).
  • Claim: startHeavy and the heavy-ci gate step use it, and the gate step waits up to three minutes, then lets it decide. Verified (heavy-turn.mjs:296-306, ci.yml:819-834).
  • Claim: the workflow header describes the rule. Verified.
  • Claim: FR20 and DEC-32 change as described, with a Decider line. Verified (spec.md:510-514, :1517-1523).
  • Claim: reviewPasses, the review workflow and review-required are unchanged, and merging still needs an engineering owner for such a pull request. Verified for the code; merging reads review-required, not reviewPasses (non-blocking note).
  • Claim: the listed test cases exist and pass, 65 of 65 in the two files. Verified.
  • Claim: four new cases fail on the previous head's helper, and the helper is new against main. Verified (four helper cases plus the workflow's gate-step case fail on the previous head; eight fail on main).
  • Claim: the writing rubric passes. Verified for the FR20 sentence and DEC-32 amendment; FR17 is left contradicting them (blocking finding).
  • Claim: the public-text check is clean. Verified by this review's own scan of the added lines, commit messages, title and description; the repository check itself was not run.
  • Claim: the knowledge check is aligned and Prettier is clean. Verified.
  • Claim: no CI impact for write-access authors; admitted forks get heavy suites sooner. Verified in substance; the runner class and minute figures are not stated.
  • File .github/scripts/lib/heavy-turn.mjs: non-blocking notes (the reviewPasses comments; admission read for the whole pull request).
  • File .github/workflows/ci.yml: clear; the heavy-ci job comment still describes the old trigger.
  • File .github/workflows/ci-review-pass.yml: clear; its unchanged wait loop delays the new path (non-blocking note).
  • File .github/scripts/ci-review-pass.test.mjs: clear.
  • File .github/scripts/ci-heavy-deferral.test.mjs: clear.
  • File docs/specs/AST-030/spec.md: owner-approved; blocking FR17 finding; FR20's verification row lacks the new case.

Automated review (maintainer link)

Comment thread docs/specs/AST-030/spec.md Resolved
Comment thread .github/scripts/lib/heavy-turn.mjs Resolved
* (spec:AST-030 FR29). A label from a bot or a reader does not count.
* @param {{github: any, owner: string, repo: string, number: number}} input
*/
export async function maintainerAdmitted({github, owner, repo, number}) {

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 admits on any maintainer ci:run event in the pull request's history, including one removed earlier or one added after the head's run started. FR20 says "a fork head that a maintainer admitted". So a head that the contributor job (FR29) admitted, on a pull request a maintainer labelled earlier, takes the app path. Read the latest ci:run event before the run was created, or word FR20 and this JSDoc for the pull request.

…n; FR20's verification names the admitted fork case
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 7af7da0

@github-actions github-actions Bot added needs:spec-owner-review Current knowledge records await owner approval and removed needs:spec-owner-review Current knowledge records await owner approval labels Nov 20, 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: an engineering owner approved the spec:AST-030 change at this head, FR17 now matches the new FR20 sentence, and no blocking issue remains. CI has not run on this head yet because the pull request is a draft; it runs once the pull request is marked ready.

Non-blocking: maintainerAdmitted counts a maintainer's ci:run from any point in the pull request's history, not only one that admitted this head, which reads more broadly than FR20 and FR29. The contributor guide in CONTRIBUTING.md and the heavy-ci job comment in ci.yml still describe only the old trigger, and ci-review-pass.yml still waits up to five minutes for a review-required success this path never reaches.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: today the heavy turn uses the merge gate's rule, so the review app counts only for write-access authors and an admitted fork waits for an engineering owner. Verified (the base's startHeavy and heavy-ci step call reviewPasses).
  • Claim: the motivating contributor has no collaborator record and shows to the workflow token as a contributor. Not checkable here; the change does not depend on it.
  • Claim: organization membership and author association are not usable signals. Verified (architecture:knowledge-contracts DEC-11).
  • Claim: a maintainer's ci:run is already the gate an external fork passes first. Verified (spec:AST-030 FR17).
  • Claim: the record owner decided the direction. Verified (the DEC-32 amendment's Decider line and an engineering owner's exact-head approval).
  • Claim: the new predicate serves the heavy turn only and clears no gate. Verified (its only callers are startHeavy and the heavy-ci gate step; the review workflow is untouched).
  • Claim: it needs the spec half, not review-required success. Verified (heavy-turn.mjs:221-227).
  • Claim: an engineering owner's approval, or the review app's for a write-access author or a maintainer-admitted fork, counts at the exact head. Verified (heavy-turn.mjs:237-269).
  • Claim: the label may be gone since. Verified (labeled events and the label-removed test); it is read for the whole pull request (non-blocking note).
  • Claim: a label from a bot or a reader does not count, and a deleted fork counts as a fork. Verified (heavy-turn.mjs:174-185, :250-253).
  • Claim: the author's own review never counts. Verified (heavy-turn.mjs:228-236).
  • Claim: a new helper reads the pull request's labeled events. Verified (heavy-turn.mjs:158-164).
  • Claim: startHeavy and the heavy-ci gate step use it, and the step still waits up to three minutes, then lets it decide. Verified (heavy-turn.mjs:296-306, ci.yml:818-834).
  • Claim: the workflow header describes the rule. Verified (ci-review-pass.yml:3-18).
  • Claim: FR20 and DEC-32 change as described, with a Decider line. Verified (spec.md:510-514, :1517-1523).
  • Claim: reviewPasses, the review workflow and review-required are unchanged, and merging still needs an engineering owner for such a pull request. Verified (none of them is in the diff).
  • Claim: the preflight at an earlier head passed. Partly verified at this head: formatting and the knowledge check pass, the linter ignores these scripts, and the CI script suite passes apart from nine files that need a git checkout; the pre-review checks and workflow lint were not rerun.
  • Claim: the listed test cases exist and pass, 65 of 65 in the two files. Verified.
  • Claim: four new cases fail on the previous head's helper, and the helper is new against main. Verified (four helper cases fail on the previous helper; the new cases fail on main).
  • Claim: the writing rubric passes. Verified for the FR20 sentence, the FR17 wording and the DEC-32 amendment.
  • Claim: the public-text check is clean. Verified by a scan of the added lines, commit messages, title and description.
  • Claim: no CI impact for write-access authors; admitted forks get their heavy suites sooner and merging still waits for an owner. Verified in substance; the runner class and minute figures are not stated (non-blocking note).
  • File .github/scripts/lib/heavy-turn.mjs: non-blocking note (admission read for the whole pull request).
  • File .github/workflows/ci.yml: clear; the heavy-ci job comment still describes the old trigger (non-blocking).
  • File .github/workflows/ci-review-pass.yml: clear; its unchanged wait loop delays the new path (non-blocking).
  • File .github/scripts/ci-review-pass.test.mjs: clear.
  • File .github/scripts/ci-heavy-deferral.test.mjs: clear.
  • File docs/specs/AST-030/spec.md: owner-approved at this head; clear.

Automated review (maintainer link)

@cixzhang
cixzhang marked this pull request as ready for review November 20, 2026 05:28
@cixzhang
cixzhang merged commit 65b8067 into main Nov 20, 2026
147 checks passed
@github-actions
github-actions Bot deleted the ci/heavy-turn-read-collaborators branch November 21, 2026 06:04

This branch was successfully deployed

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