mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #243] [MERGED] ci(cursor-review): cut panel spend — 3-lab panel, xhigh judge, cell time cap, bot-bump skip #250
Labels
No labels
cursor-review-catalog-drift
groom
groom
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/github-workflows#250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/github-workflows/pull/243
Author: @mattmillerai
Created: 8/27/2026
Status: ✅ Merged
Merged: 8/27/2026
Merged by: @mattmillerai
Base:
main← Head:matt/cursor-review-spend-trim📝 Commits (1)
ff4180cci(cursor-review): cut panel spend — 3-lab panel, xhigh judge, cell time cap, bot-bump skip📊 Changes
5 files changed (+129 additions, -34 deletions)
View changed files
📝
.github/cursor-review/README.md(+15 -9)📝
.github/cursor-review/prompt-judge.md(+6 -3)📝
.github/cursor-review/tests/test_catalog_drift.py(+8 -3)📝
.github/workflows/cursor-review.yml(+95 -16)📝
docs/callers/cursor-review.md(+5 -3)📄 Description
ELI-5
The PR-review panel was paying four AI labs top-tier rates on every labeled PR, but a month of its own posted reviews shows one lab (Gemini) almost never found anything the other labs didn't, one cell (GPT edge-case) regularly hangs for 30 minutes producing nothing, and machine-generated pin-bump PRs were getting the full panel. This PR removes the parts that weren't earning their cost — the review keeps every finding category that has actually caught bugs, and gets faster.
What changed
gemini-3.1-pro(panel is now OpenAI + Anthropic + Moonshot)kimi-k3-max→kimi-k3-highclaude-opus-5-thinking-xhighcursor-agentrun (continue-on-error, judge idiom)gpt-5.6-sol-max edge-case— ran to the 30-min job timeout, which GitHub reports as a cancelled run, and stretched reviews to 35+ min. The step cap produces the same status=error artifact the judge already tolerates, 15 min sooner and green.skip_bot_branch_prefixesinput (defaultci/bump- chore/refresh- auto/refresh-, Bot authors only)ci/bump-…branch is still reviewed;skip-cursor-review/cursor-reviewlabels still override per-PR. Set''to review every bot PR.panel_modelsinput-xhightiers for two weeks without forking the workflow.Numbers come from a 30-day pull of every caller repo's runs (2,774 panel runs), the judge's per-finding "Raised by k of N" attribution, and per-cell job-log timings. Spend shares are estimated from agent-seconds × Cursor list prices (the CLI exposes no token counts).
Docs updated (README diagram/table,
docs/callers/cursor-review.md), and the judge prompt now derives the panel size from the PANEL FINDINGS block instead of hardcoding "8 cells", sopanel_modelsoverrides render correct attribution.Testing
python3 -m unittest discover -s .github/cursor-review/tests -p 'test_*.py'— 369 tests, OK (the 2026-08-10 catalog-drift acceptance case now pins its own era's panel/judge constants, since it regression-tests that historical report's rendering).shellcheckon the two scripts CI checks — clean.actionlintoncursor-review.yml— only the pre-existingjob.workflow_shawarning.kimi-k3-highandclaude-opus-5-thinking-xhighare both present in the checked-in 2026-08-10 catalog fixture, and preflight fails loud on a delisted pin before any cell spends.Rollout
Merging fans out via
bump-cursor-review-callers.ymlas usual. Follow-up (separate PR, after this lands): point one mid-volume caller'spanel_modelsat the-xhightier ids as the measured A/B for the remaining Opus/GPT spend.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.