Repository navigation
#454 docs: Dependabot rebase step checks the new head's base - #455
Merged
Merged
Conversation
The recipe waited for a force-push after `@dependabot rebase`, but after a landing Dependabot may auto-rebase the batch's other PRs onto the commit just landed, so a moved head can already be behind (#451). The rebase step now reads mergeStateStatus, with the ancestry form (PR ref fetched last) as the exact fallback; --watch starts only once it passes; the re-post timer counts from the request and only a push onto current main answers it. The test_dependabot docstring no longer says Dependabot PRs fast-forward (#445). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h, reply rule - Ancestry check fetches the PR ref first in one call (measured on #451: 1, #455: 0, bad ref: 128) and names its exit codes. - mergeStateStatus: only CLEAN reads as on main; BLOCKED (#455, up to date with checks pending) defers to the ancestry form. - The cause sentence names the uv.lock conflict that triggers the auto-rebase. - --watch also waits for the new head's runs to be listed. - Re-post rule: a Dependabot reply is an answer, not silence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 of 56 tasks
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.
Closes #454
docs/DEPENDENCIES.md→ How one lands: replaces "wait for its force-push" with a base check,gh pr view <N> --json mergeStateStatus(BLOCKED/CLEANmean the head is onmain,BEHIND/DIRTYmean not yet,UNKNOWNmeans read it again). The exact fallback isgit merge-base --is-ancestor, with the PR ref fetched last: the issue's one-fetch form testsmainagainst itself and always exits 0, which was measured against chore: bump fastapi from 0.163.0 to 0.163.1 #451's stale head (see the corrections).--watchstarts only once the base check passes, which is cosmetic becausegh pr mergerefuses regardless. The re-post timer counts from the request, and only a push onto currentmainanswers it. The 6 minutes and the 6-of-20 history are unchanged.tests/ci/test_dependabot.py: the docstring no longer says a Dependabot PR fast-forwards (Require pull requests into main: a protection ruleset plus shipping-work's pr merge mode #445). No assertion changed.Docs only: no sync, no restart.
DEPENDENCIES.mdgoes from 8,394 to 8,761 of 10,000 tokens (estimate).🤖 Generated with Claude Code