mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #296] [MERGED] docs(refresh-reviewers): add its own caller guide so the workflows_ref cross-check covers it #296
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#296
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/296
Author: @mattmillerai
Created: 9/16/2026
Status: ✅ Merged
Merged: 9/17/2026
Merged by: @mattmillerai
Base:
main← Head:matt/be-14743-refresh-reviewers-docs-guide📝 Commits (2)
7e5f4d3docs(refresh-reviewers): add its own caller guide so the workflows_ref cross-check covers itfc9f7acdocs(refresh-reviewers): tighten guide accuracy from cursor-review panel📊 Changes
6 files changed (+168 additions, -11 deletions)
View changed files
📝
.github/bump-callers/README.md(+1 -0)📝
.github/workflow-pins/check_workflow_pins.py(+9 -4)📝
.github/workflow-pins/tests/test_check_workflow_pins.py(+28 -2)📝
README.md(+1 -1)📝
docs/callers/README.md(+6 -4)➕
docs/callers/refresh-reviewers.md(+123 -0)📄 Description
STACKED — merging lands on
matt/be-6508-docs-callers-workflows-ref-cross-check(owned by mattmillerai), NOTmain. This PR is based on the open cross-check PR #292, whose code is not onmainyet. Do NOT merge tomainuntil #292 lands; GitHub auto-retargets this PR tomainwhen #292 merges (if #292 squash-merges,git merge origin/maininto this branch to recompute the net diff — no force-push). "Ready to merge" here means ready once #292 has landed.ELI-5
The pin-checker learned to catch a docs page that promises a "default" for
workflows_refthe workflow itself forbids. But it finds the page by the workflow's own filename — andrefresh-reviewers.ymlhad no page named after it, so the checker just skipped it. This PR givesrefresh-reviewers.ymlits own setup guide (with the correct no-default row), lists it in both catalog indexes, fixes two code comments that wrongly claimed it was "documented under assign-reviewers.md", and adds tests proving a workflow now gets cross-checked against its own-name page.What changed
docs/callers/refresh-reviewers.md— a caller guide mirroringpr-risk.md's structure (What it does / Prerequisites / Caller / Required permissions / Inputs / Gotchas). The Inputs table is populated from the workflow's ownon.workflow_call.inputs, and theworkflows_refrow uses the compliant— (**required**)no-default marker.docs/callers/README.mdand in the rootREADME.mdcatalog (its Setup cell was a bare—precisely because no guide existed).check_workflow_pins.pyandtests/test_check_workflow_pins.py) that asserted refresh-reviewers is "documented under assign-reviewers.md". That premise is false —assign-reviewers.ymlis a different reusable that does not declareworkflows_ref(README lists it among the non-declarers), so aworkflows_refrow there would document a phantom input. The comments now use a generic internalbump-*/ci-*/test-*example (workflows that legitimately have no caller guide).DocsCrossCheckTestsproving a reusable IS cross-checked via its OWN-name page:refresh-foo.yml+ arefresh-foo.mdwhoseworkflows_refrow claimsmainyields one BE-6508 error namingrefresh-foo.md; the companion asserts a— (**required**)row onrefresh-foo.mdis clean.I did not add a
workflows_refrow toassign-reviewers.mdor introduce an alias map — the original suggestion to do so was based on the false premise above.Verification
python3 .github/workflow-pins/check_workflow_pins.py --workflows-dir .github/workflows→ OK — the output now listschecked refresh-reviewers.yml(previously skipped).python3 -m unittest discover -s .github/workflow-pins/tests -p 'test_*.py'→ 341 tests, OK.workflows_refdefault tomainfailed the lint with::error file=docs/callers/refresh-reviewers.md,line=85::… See BE-6508.; restoring returned green.Provenance
workflows_refrow was confirmed to normalize to a no-default marker by both the passing lint and the failing/restored sanity run.history_months,max_experts_per_rule) was stale relative to the workflow — the Inputs table documents the actual declared names (window_months,top_k,floor, …), per the repo's "document only inputs that exist" rule. Also updated the rootREADME.mdcatalog Setup cell for refresh-reviewers (beyond the spec's four items) to keep the two catalogs in sync, as AGENTS.md requires.Residual
git merge origin/mainhere so the three-dot diff shows only this PR's changes.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.