Skip to content

release.ps1: wait for the PR's own CI run - #108

Merged
qiyinxi merged 1 commit into
devfrom
claude/release-pr-run-wait
Oct 28, 2026
Merged

qiyinxi merged 1 commit into
devfrom
claude/release-pr-run-wait

Conversation

@qiyinxi

@qiyinxi qiyinxi commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Promoting v1.3.0-beta.5 stopped at the merge of the release PR: the PR's own pull_request run had just been registered, after GitHub had already called the PR clean on the push run of the same commit (same check names), and GitHub refused the merge ("the base branch policy prohibits the merge"). Wait-PrCheck now waits for the PR's own run of build.yml to exist and pass before it checks mergeStateStatus. -SelfTest passes (57 cases); the network part is exercised by the next promotion.

A release PR's pull_request run is registered seconds after the PR opens. Until then GitHub calls the PR clean on the push run of the same commit, and the merge then meets the new run: Release 1.3.0 was refused 'the base branch policy prohibits the merge' on 2026-10-28. Wait-PrCheck now waits for that run to exist and pass before checking mergeStateStatus.
@qiyinxi
qiyinxi merged commit 64011cd into dev Oct 28, 2026
15 checks passed
@qiyinxi
qiyinxi deleted the claude/release-pr-run-wait branch October 28, 2026 14:42
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.

1 participant