Repository navigation
ci: assert every Main Watch workflow_run entry exists and runs on main (Part of #4935) - #4958
Merged
Merged
Conversation
… (Part of #4935) Audit of main-watch.yml's workflow_run list: all 15 workflows run on main (push/schedule/dispatch) and Main Watch acts on each verdict, so no entry is trimmed; the test keeps it that way. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 12, 2026 07:43
squid-protocol
enabled auto-merge (squash)
October 12, 2026 07:43
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #4935 (Main Watch trim). Workflow edit allowed for this item; shepherd-reconcile.yml untouched (#4936).
Finding: the trigger list needs no trimming. Audited all 15
workflow_runentries in main-watch.yml against the currenton:blocks andtests/tools/main_watch.py:main_watch.pyopens/comments/closes an issue on the verdict of every one of them (success/failure, push/schedule/dispatch). None is ignored.The earlier trims already landed (Evidence Refresh's push lane and Muninn's push trigger were removed; their stale push runs on main from before then are the only "push" history left).
Change:
test_every_watched_workflow_exists_and_runs_on_main(tests/tools/test_main_watch.py): each watched name must be thename:of a workflow file, that file must be able to run on main (main push / schedule / dispatch; tags-only push does not count), and none may itself be aworkflow_runconsumer. Checked by mutation (an unknown name fails it). Hourly reconcile is untouched.Main Watch runs/day (gh api, Main Watch only exists since 2026-10-10): 116 (10-10), 239 (10-11, a full day), 47 so far on 10-12; 402 in total (338 success, 57 skipped for cancelled upstream runs, 7 scheduled/dispatch). Before = after (no trigger removed): about 240/day, roughly 9 push-per-merge workflows x merges/day. Cutting that further means dropping a push-time watch (Smoke, Mainframe Ground Truth, Tree-sitter, Fact, Java, Ports, Estate, CICS, unicode: ~100 runs/week each), which loses the post-merge-red signal the owner built it for (#4825), so it is left as an owner decision.
Cross-repo: none.
Gates:
pr_gates --fast5/5,--ratchets7/7 (0 skipped). test_main_watch.py 13 passed.🤖 Generated with Claude Code