Repository navigation
A PR still in review follows the repository to its new base branch instead of stopping - #2467
Merged
Merged
Conversation
…#2465) A repository's configured base_branch can change while its delivery PR is still in review. Issue #2458 made that scene a stop (base_branch_changed, ai-blocked, decide). Issue #2465 reverses that: the PR follows the repository — it is moved to the configured base and that base is merged into its branch with the existing plain-merge primitive — and review and merge continue the way they already do whenever the base moves. base_branch_change.adopt_configured_base is the ONE operation both resume paths call (resume verification and review round). It is decided from GitHub's own PR state, so later rounds of the same delivery keep going without a second switch. A conflicting base is the existing BaseMergeConflict failure and a missing base keeps base_branch_missing. The #2458 stop tests are replaced by real-git tests asserting the PR base, the Issue's labels and its comments.
The base-branch move read only the PR's base, so a merged or closed scene PR was retargeted and had a base merge pushed into its branch. A merged PR is not a PR still in review: GitHub refuses its base change, which aborted the resume before its merged closeout instead of recording the merge. Adopt now reads the PR state with the base and leaves a non-OPEN PR to the caller's closed routing (the merged closeout, the withdrawn takeover). Also refresh the two docstrings and the EN/ZH workflow docs that still listed a base-branch change as an unrecoverable stop.
Contributor
Author
|
✅ Orbi 已交付 · 查看交付证明 → |
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.
Fixes #2465
A PR still in review follows the repository to its new base branch instead of stopping (run_id=1ac091fe)
Built by Orbi from Issue #2465