mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-25 01:21:24 +01:00
The merge queue checks a pull request against the branch it targets, not the default branch (GST-3445) (#4663)
`gstack-ship-queue ready` now checks a pull request against the branch it targets, so a PR into a branch other than main is no longer refused when its /ship review was done against that branch. Why: Founderstar #1024 targets `garrytan/v0.2-plan-wip`, and ready refused its correct /ship review record because it compared that record against main. Nothing to do: until this lands, passing `--base ` to ready works around it. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=specialist-batched Review-Finding: p1/specialist-batched#2 reader=specialist-batched
This commit is contained in:
1 parent
465d911d9c
commit
7df6466b99
7 files changed
+146
-6
No files matched your search
@@ -7125,7 +7125,12 @@ the parent's commits the PR carries were never reviewed under it. `ready`,
|
||||
landing the parent's commits past the parent's own receipt and READY.
|
||||
A receipt whose `base` is the queue's base (`main` or `origin/main`),
|
||||
including a stacked child reviewed against the base (GST-1199), is
|
||||
unaffected.
|
||||
unaffected. For `ready` without `--base`, the queue's base is the branch the
|
||||
pull request targets, so a pull request into a non-default branch whose
|
||||
receipt names that branch passes; `land` still uses the default branch unless
|
||||
`--base` names another (GST-3445). `ready` refuses an explicit `--base` that
|
||||
is not the pull request's base, and any base that differs from the one GitHub
|
||||
reports, with QUEUE_NOT_READY.
|
||||
|
||||
**Fix.** Land the parent first, merge the base into this branch and push.
|
||||
Then run `gstack-ship-receipt carry --pr <n> --base <base>`: it moves the receipt to the base when the parent fully landed
|
||||
|
||||
Reference in new issue
Block a user