Repository navigation
perf(pr-pipeline): hand check-intent's reads to check-intent-subscription - #11329
Conversation
…tion The subscription leg repeated every read check-intent had just made for the same head in the same run: 19 GITHUB_TOKEN calls on both legs of run 41084360375 (graphql=4 each), 314 calls over 18 runs in the 15Z window. check-intent now writes one `reads` job output (base64 JSON of the resolved PR, spec.json, spec-text.json and context.json) from its base-side step files, before the model runs. The subscription job's resolver takes it through env only (resolve-pr.mjs takeReads), skips select-trusted-text, and still runs the trigger gate, whose head the agree step compares with the carried one. A missing, malformed or oversized bundle, or one from another run attempt, reads everything again. The fallback job is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bd6b353bc1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-security-review reviewed No security findings in the incremental change since bd6b353. I read The change carries
Spend: nothing in this change adds lane runs, turns or any billed resource. |
|
claude-review reviewed Incremental review of
|
The carried path wrote no relink-since-head, so write-verdict read the empty value as not "false" and kept a PASS for 90 days instead of 7. The bundle now carries it, takeReads accepts only "true" or "false" and caps the bundle's size itself, and the carried path writes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KeBVgf4HdeJ2D89FQ3H89A
No related issue: GitHub Support's GITHUB_TOKEN budget report on pr-verify (hub item; no new issues under the current phase).
Summary
pr-verify's
check-intent-subscriptionjob repeated every readcheck-intenthad just made for the same head in the same run: 19 GITHUB_TOKEN calls on each leg of run 41084360375 (graphql=4 each), 314 calls over 18 runs in the 15Z window.Fix
check-intentwrites onereadsjob output (base64 JSON of the resolved PR,spec.json,spec-text.jsonandcontext.json) from its base-side step files, before the model runs.resolve-pr.mjstakeReads), skipsselect-trusted-text, and still runs the trigger gate, whose head the agree step compares with the carried one.Verification
node --test .github/scripts/pr-verify/resolve-pr.test.mjs .github/scripts/pr-verify/workflow.test.mjscovertakeReadsacceptance and every fallback (missing, malformed, oversized, other attempt) and the workflow wiring.github-token=notice and reported to GitHub Support.Related
🤖 Generated with Claude Code