Skip to content

A PR still in review follows the repository to its new base branch instead of stopping - #2467

Merged
orbi-build[bot] merged 2 commits into
mainfrom
orbi/orbi-build-orbi-issue-2465
Nov 27, 2026
Merged

orbi-build[bot] merged 2 commits into
mainfrom
orbi/orbi-build-orbi-issue-2465

Conversation

@orbi-build

@orbi-build orbi-build Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

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

…#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.
@orbi-build
orbi-build Bot merged commit 597bf3a into main Nov 27, 2026
2 checks passed
@orbi-build
orbi-build Bot deleted the orbi/orbi-build-orbi-issue-2465 branch November 27, 2026 05:36
@orbi-build

orbi-build Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

✅ Orbi 已交付 · 查看交付证明 →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A PR still in review follows the repository to its new base branch instead of stopping

0 participants