Repository navigation
ci: main-watch opens an issue when a check fails on main, closes it when green again (#4825) - #4833
Merged
Merged
Conversation
…hen green again (#4825, #4814) The CI shepherd watches pull requests only; a failure on main -- above all the nightly full det sweep, the honesty check for the translator-PR port-diff shortcut (#4814) -- went unseen. main-watch.yml (workflow_run on 15 push / schedule workflows, main only, real verdicts only): a failure opens one `ci-red-main` issue per workflow (or comments on the open one); the next success on main comments and closes it. Runs main's copy of the file; checks out nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
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.
Item 2 of #4825's remaining list.
Problem: the CI shepherd only watches pull requests, so a failure on main went unseen. That includes the nightly full det sweep, which is the honesty check for #4814's shortcut (a translator PR proves only the ports it changes). The sweep's two-way ratchet already fails if a carried-forward case broke, but nobody would have noticed.
Change:
.github/workflows/main-watch.yml, triggered byworkflow_runon 15 push/schedule workflows (det sweep, smoke/full suite, ground-truth, CICS/estate crucible, evidence refresh/pages, ports and Java compile, fact cross-check, tree-sitter accuracy, unicode gauntlet, CodeQL, muninn). It acts only on main, and only on real verdicts (not cancelled or skipped):ci-red-main, with the run link and commit (or comments on the one already open);It runs main's copy of the file, checks out nothing, and needs only
issues: write.Checks: YAML parses; the step script passes
bash -n;pr_gates --fast5/5. It is first exercised on main after merge, sinceworkflow_runtriggers only from the default branch.🤖 Generated with Claude Code
https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV