Repository navigation
feat(pr-pipeline): merge the bottom layer of a native stack from the merge lane #17541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
fa02b74
feat(pr-pipeline): merge the bottom layer of a native stack from the …
kyle-sexton 064b6f7
docs(source-control): add the changelog fragment for the stacked-prs …
kyle-sexton 92f6046
docs(source-control): point the stacked-prs issue-lane line at #17539
kyle-sexton 8b47491
fix(pr-pipeline): read the async merge result and skip a queued stack…
kyle-sexton 464632d
Merge remote-tracking branch 'origin/main' into feat/15410-merge-lane…
kyle-sexton 9ce3422
fix(pr-pipeline): claim only the request in a merge pin, since GitHub…
kyle-sexton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
.changes/pr-pipeline/feat-15410-merge-lane-stack-bottom-layer-89c44141.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| bump: minor | ||
| --- | ||
|
|
||
| ### Added | ||
|
|
||
| - The merge lane lands the bottom layer of a native GitHub stack whose stack base is `main` (owner decision on #15410, option B). GitHub refuses native auto-merge for every stack member, so where `enable-auto-merge.mjs` would arm such a layer it sends the asynchronous merge instead, pinned to the head it read, into main's merge queue when there is one, and only once the newest `CI Status` run at that head passed and every hold the arm checks is clear. A layer with an open layer below it is never merged, so no lower layer lands without its own holds checked. A merge GitHub refuses leaves the layer unmerged with a refusal comment for a person; the lane adds no credential. Into a merge queue GitHub refuses the lanes App's async merge today ("Enqueuer is not authorized to merge"), so there the layer goes to a person. | ||
| - The pin comment posted before a stack layer's async merge says the merge path is about to ask GitHub to merge it and that GitHub can still refuse it, instead of saying it is about to arm native auto-merge. The pin's first line is unchanged. |
8 changes: 8 additions & 0 deletions
8
.changes/source-control/feat-15410-merge-lane-stack-bottom-layer-465e5643.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| bump: patch | ||
| --- | ||
|
|
||
| ### Changed | ||
|
|
||
| - `reference/stacked-prs.md` says this marketplace's merge lane now lands only a stack's bottom layer, through the async merge once its `CI Status` is green, and that the issue lane does not stack yet. | ||
| - The babysit merge path's pin comment, posted before it asks GitHub to enqueue, says it is about to ask GitHub to enqueue the pull request and that GitHub can still refuse it. It used to say the pull request was enqueued, which stood beside a refusal GitHub sent in the same second. The pin's first line is unchanged, so `PIN_RE` still reads it. |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.