This repository was archived by the owner on Nov 25, 2026. It is now read-only.
Repository navigation
fix: release in-progress when the roadmap run ends without a PR - #22
Merged
Merged
Conversation
check_roadmap labels the picked issue in-progress before the model runs and skips issues with that label, but nothing removed it. A run that timed out, hit the turn cap, stopped on a usage limit or on the WIP limit left the issue skipped forever. A final always() step of the roadmap task now runs housekeeping.py roadmap-finish with a fresh app token (the first one may have expired). If no open or merged PR references the issue, it removes in-progress, comments the run URL and, on the second failed attempt, adds blocked. The Claude step gets its own timeout below the job timeout so the finish step still runs. The digest lists in-progress issues older than 24 hours without a PR. Closes #18
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Closes #18
housekeeping.yml, roadmap model task: two finalif: always()steps. The first mints a fresh app token (installation tokens expire after an hour, the job may run 90 minutes). The second runshousekeeping.py roadmap-finish --issue N --run-url URL.roadmap-finish: if the issue is open, stillin-progress, and no open or merged PR references it (closing keyword in title or body, or the implementer branchclaude/<n>-), it comments the run URL with a marker, removesin-progress, and addsblockedon the second failed attempt. Attempts count only the bot's marker comments sinceblockedwas last removed, so removingblockedallows two more attempts. Merged PRs count because closing keywords do not close issues from PRs intonext.timeout-minutes: 80(job: 90), so the finish steps run even when the model is cut off.prompts/digest.md: in-progress issues older than 24 hours without a PR. The routine holds a copy of the prompt, so the owner pastes it again (noted in MANUAL-STEPS).tests/test_housekeeping.py(PR matching, attempt counting, first and second failure with mockedgh), and a consistency test for the workflow wiring.