Repository navigation
fix: ledger_merge dispatches dashboard_refresh, which checks main after a heal - #104
Merged
Merged
Conversation
…er a heal A GITHUB_TOKEN merge push triggers nothing, and ledger_merge.yml dispatched cortex_check.yml straight onto a tip whose board a birth had left stale, so main stayed red until the nightly cron (09a0de6, 2026-11-26). ledger_merge now dispatches dashboard_refresh.yml (same writer queue, so it runs after the push); the refresh dispatches cortex_check.yml after a heal, and on a fresh tip for dispatched/scheduled runs. A text test guards both hand-offs. Closes #103 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
A ledger auto-merge that adds or retires a project left Cortex main red until the 03:35 cron (
09a0de6, thesdssj0946_subhalo_v2birth, 2026-11-26).ledger_merge.ymlpushes withGITHUB_TOKEN, which triggers no workflows, and it dispatchedcortex_check.ymlstraight onto a tip whosedashboard.mdwas stale, so the check failed and nothing healed the board.Closes #103.
Changes
.github/workflows/ledger_merge.yml: after a landed merge, dispatchdashboard_refresh.ymlinstead ofcortex_check.ymlandpages_dashboard.yml. Both workflows share thecortex-main-writersqueue, so the refresh starts after the merge push. If that dispatch fails, fall back to dispatching the check directly..github/workflows/dashboard_refresh.yml:cortex_check.yml; the heal push is aGITHUB_TOKENcommit too, so today nothing checks it;cortex_check.ymlforworkflow_dispatchandscheduleruns only, so a merge that left the board fresh still gets its merge commit checked. Push runs already trigger the check, and PR runs still dispatch nothing.tests/test_ledger_merge.py: a text test that guards both hand-offs.API Changes
None. CI workflows only.
Test Plan
pytest tests: 107 passed (local, Python 3.13)Heart dev-ship gate: GREEN. PyAutoCortex is not Heart-gated, so the PR checks decide.
🤖 Generated with Claude Code