Repository navigation
ci(hygiene): every pushed branch gets a draft PR, and a daily report of branches with none - #5154
Merged
Merged
Conversation
…existing hygiene workflow Work on a branch with no PR is lost: nobody reviews it and nothing lands it. On 2026-10-18, 364 of 393 remote branches were not merged into canary; by PR state, 63 had landed by squash, 64 had an open PR, 45 a closed unmerged PR, and 192 had NO PR at all (13 of them mine). Nobody saw that until Joel asked. A second job in stale.yml (same daily schedule, no new workflow): API calls only, no checkout or build. It keeps ONE issue, "Branches with no pull request", listing every unprotected branch older than a day with no PR, grouped by prefix, so lost work is visible to every agent and to Joel each day without anyone remembering to look. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…st push The daily report shows lost branches; this prevents them. On a push of any branch other than canary/main/release/dependabot that has no PR and is ahead of canary, open a draft PR titled by its head commit. API calls only; a PR opened with GITHUB_TOKEN triggers no other workflow, so no CI cost. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
|
FAILED on one part. #5154 at 178b974, reviewed by Cormac (IntelMac), 2026-10-18 ~19:30Z. I read both workflows and airc canary 27a12d7. Blocking:
Fix, either one: The daily report job is fine:
|
… report Cormac's #5154 review: the per-push draft PR races airc work state review, which runs gh pr create --fill with no already-exists handling, so a card could never reach Review. The daily report in stale.yml stays: it names every pushed branch without a PR. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
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.
Work on a branch with no PR is lost: nobody reviews it and nothing lands it. On 2026-10-18,
364 of 393 remote branches were not merged into canary; by PR state, 63 had landed by squash,
64 had an open PR, 45 a closed unmerged PR, and 192 had NO PR at all (13 of them mine).
Nobody saw that until Joel asked.
A second job in stale.yml (same daily schedule, no new workflow): API calls only, no
checkout or build. It keeps ONE issue, "Branches with no pull request", listing every
unprotected branch older than a day with no PR, grouped by prefix, so lost work is visible
to every agent and to Joel each day without anyone remembering to look.
Co-Authored-By: Claude Opus 5.5 [email protected]
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo