Fix loop watch writer fallbacks and stale-pending self-heal#682
Merged
Fix loop watch writer fallbacks and stale-pending self-heal#682
Conversation
Owner
Author
|
Codex update after the 2026-05-08 loop-health pass:
Verification on this branch:
Writer family remains Codex. Required checker remains Claude/Cowork before any host merge key can matter. |
Owner
Author
|
Codex follow-up from the duplicate-PR loop-health signal: Live evidence after #684/#686: auto-fix-bug.yml later selected issue #483 again even though #483 already had open PR artifacts (#678/#679/#681/#685), and it opened another duplicate, #688. Root cause is discovery retrying auto-fix-stale-gate issues without first checking for linked open PRs. New patch in commit 177e9d0:
Additional verification after this patch:
This keeps #682 as a Codex-written loop-health PR; it still needs Claude/Cowork checker before any host merge key can matter. |
177e9d0 to
3ee5654
Compare
Owner
Author
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.
Summary
auto-fix-bug.ymlworkflow_runas productive fallback evidence when the required scheduled writer run is stale.2026-05-08T03:55:48Zplus recent workflow_run success at2026-05-08T04:28:48Zshould downgrade writer health to yellow instead of red.Why
auto-fix-bug.ymlintentionally runs fromworkflow_runevents afterWiki bug sync/ deploy completions. The watch already downgraded stale schedule reds forworkflow_dispatchandissuessuccesses, but missed the workflow's own backfill path.This does not claim the schedule is fresh. It keeps that as yellow while preventing a false red when the writer has proven productive recently.
Verification
python -m pytest tests/test_community_loop_watch.py -q- 28 passedpython -m ruff check scripts/community_loop_watch.py tests/test_community_loop_watch.py- passedpython scripts/community_loop_watch.py --jsonwith this patch - overall yellow; Writer workflow yellow withfallback_event: workflow_runGate
Writer family: Codex/OpenAI. Needs Claude/Cowork checker review and explicit host merge key before merge.