Skip to content

A delivery stopped by a base-branch change gets its own reason code and a localized, actionable message - #2460

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

orbi-build[bot] merged 3 commits into
mainfrom
orbi/orbi-build-orbi-issue-2458

Conversation

@orbi-build

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

Copy link
Copy Markdown
Contributor

Fixes #2458

A delivery stopped by a base-branch change gets its own reason code and a localized, actionable message (run_id=dba53a49)

Built by Orbi from Issue #2458

… message

The resume scene freezes the base branch the PR was opened against. When the
repository's base_branch moves while the PR is in review, both resume paths
(the verification and the review round) stopped with the generic
human_decision_required reason and an internal English sentence, so a status
page could only say "something needs your decision" and the reader never
learned what to do.

The stop is unchanged (terminal, ai-blocked, never an automatic retry against
the mismatch). What changes is its identity: a new closed reason code
base_branch_changed (action decide, retry_safe false), and ONE reader-facing
sentence pair naming both branches and the PR and giving the two ways out —
set the base back to continue this PR, or close the PR so the Issue is redone
from the new base — in the run's message language (en/zh).

src/orbi/base_branch_change.py owns the check (require_scene_base), the
exception carrying the record and the wording, so resume_verification and
review_merge share ONE implementation; failure, language_failure and both
workflow docs carry the new code and its sentences.

Fixes #2458
@orbi-build
orbi-build Bot merged commit 759e116 into main Nov 27, 2026
2 checks passed
@orbi-build
orbi-build Bot deleted the orbi/orbi-build-orbi-issue-2458 branch November 27, 2026 00:31
@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 delivery stopped by a base-branch change gets its own reason code and a localized, actionable message

0 participants