Repository navigation
feat(deliver): handle a PR blocked by another open PR - #105
Merged
Merged
Conversation
A dependent PR used to watch its blocker for hours, time out, and re-ask the owner for a click they had already given. The new section reads the blocker once and acts: merge it under the owner's click when it is the owner's, green and gate-clean; fix or nudge it when only red; ask once with a concrete move when it needs a judgement. 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.
Why
When a PR's CI or merge waited on another open PR (a red-main fix from another session, a fix it builds on), agents watched that PR for 2–4 hours, timed out, and reopened their ask, so the owner clicked again for a move they had already approved. Over 7 days this happened about 10 times in 8 sessions. Deliver's only guidance was the Phase 6 hard stop "a failure in code outside the diff → stop and ask".
What
A new Blocked by another PR section. It reads the blocker once, then picks a case:
It also wires the section into Phase 6's hard stop and Deliver-to-a-level step 6, adds the
blocked-on #<b>report, and bumps the version to 3.4.0.Pilot
Three real past cases, each replayed by a fresh-context agent given only this section:
The first draft failed two of the three: it would have fixed an undecided finding and pushed to a collaborator's branch. I fixed the section, not the outputs, and the reruns above passed.
Effect to measure: the nightly session review counts "watch timed out on a blocker, then re-asked" sightings. Expect them to fall from about 1.4 a day to near 0 within a week of this landing.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.