Repository navigation
Dashboard: what is stuck right now, by cause (stuck.svg) - #46
Merged
Merged
Conversation
…e of the oldest red main Reads open PRs from the GitHub API, takes each one's reasons from the ci-gate status text (failing checks, merge conflict, draft, dependency bump), groups them, and draws a cause shared by 3+ PRs in red. 2026-11-21..23 had ~20 PRs red for one rosetta-audit gap and no panel showed it. Tests replay that pile-up. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
squid-protocol
marked this pull request as ready for review
November 23, 2026 15:21
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.
Why. From 2026-11-21 to 23 about 20 open PRs sat red for one shared reason (a rosetta-audit gap on main). Every per-PR number looked ordinary, and no panel showed '20 PRs, one cause, two days'.
What. A new panel,
stuck.svg, read live from the GitHub API on every dashboard run:ci-gatestatus text, merge conflict, draft, dependency bump, shepherd needs-fix.--red-main-labelissue.Where the data comes from. GitHub only (one GraphQL search of open PRs plus one REST call for red-main issues), because the action runs on GitHub and cannot see promoter-bot's local state. So it shows what is stuck, not churn's private holds; the cause text is whatever
ci-gatereports.Checked. 5 new tests, including a replay of the 13-PRs-one-cause pile-up; whole suite 191 pass; ruff count unchanged (35 existing). Ran the real query against gitgalaxy read-only: 3 open PRs, none stuck (correct now the backlog is cleared) and a valid SVG.
Not checked. The published dashboard (needs the Dashboard workflow to run on main), and how it looks inside the README.
stuck.svgis added to the action's publish list but not yet embedded in the README.🤖 Generated with Claude Code