mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #370] [MERGED] feat(cursor-review): read the panel list from CURSOR_PANEL_MODELS, so one org variable drives the fleet #371
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#371
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/370
Author: @mattmillerai
Created: 10/7/2026
Status: ✅ Merged
Merged: 10/7/2026
Merged by: @mattmillerai
Base:
main← Head:matt/panel-models-org-variable📝 Commits (1)
610e05bfeat(cursor-review): read the panel list from CURSOR_PANEL_MODELS, so one org variable drives the fleet📊 Changes
3 files changed (+55 additions, -76 deletions)
View changed files
📝
.github/workflows/ci-cursor-review.yml(+6 -44)📝
.github/workflows/cursor-review.yml(+20 -3)📝
docs/callers/cursor-review.md(+29 -29)📄 Description
Why
panel_modelswas an input only. Overriding the panel therefore meant editing every caller to wire a variable through — #367 did that for this repo's caller and nothing else. That is not a global knob; it is 20 pending PRs.What
The reusable now falls back to the
CURSOR_PANEL_MODELSvariable when the caller passes no input:varsinside a reusable resolves against the caller's repo and org. Verified empirically rather than from docs, which are silent on it:CURSOR_REVIEW_DM_EMAIL_MAPis set on a caller repo and not on this one, and the Slack DM feature works on that caller.So:
The
panel_modelsinput still exists and takes precedence, for a caller that wants its own list regardless of any variable.Also in here
Unchanged, and still true
An override forfeits
catalog-drift.pycoverage either way, becauseextract_panel_models()parses the heredoc. The docs say so, and say to fold a proven list back into the heredoc and delete the variable.Worth a reviewer's attention
Because the variable is caller-side, any caller repo's admin can now set a repo-level value and narrow the panel judging their own PRs — no PR, no CODEOWNERS, run log as the only record. That write is repo-admin, who can already swap the pin or delete the caller outright, so it isn't a new trust boundary — but it is a quieter one. Documented rather than left to be discovered.
Testing
python3 -m unittest discover -s .github/cursor-review/tests— 1147 passedcheck_workflow_pins.py,check_agents_md.py --root .— pass🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.