Repository navigation
chore(agent,ci): support Stacked PR and Merge Queue workflow on origin - #1214
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the Jujutsu (jj) workflow documentation in SKILL.md to include guidelines for managing stacked Pull Requests and handling post-squash merge rebasing. The review feedback recommends using 'jj git push --tracked' to ensure all updated bookmarks in the stack are pushed to the remote, and using the explicit revset syntax 'main@origin..' when abandoning old pre-squash revisions.
kyasbal
commented
Nov 4, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Updates the
jj-workflowagent skill and thepullrequest.yamlGitHub Actions workflow to support GitHub Native Stacked PRs (gh stack) and Merge Queue workflows onGoogleCloudPlatform/khiacross base branches (mainandepic/**)..agents/skills/jj_workflow/SKILL.md: Documents pushing multiple linear commits for stacked PRs, linearly cascade-rebasing downstream stacked PRs during review iterations withjj git push --tracked, and rebasing remaining stacked PRs onto<base-branch>@originafter Merge Queue squash merges using Jujutsu revset syntax (jj abandon "<base-branch>@origin..<old-pr-bookmark-name>")..github/workflows/pullrequest.yaml: Removes branch restrictions under bothon.pull_requestandon.merge_groupso required status checks trigger immediately for stacked PRs and Merge Queues targeting any base branch.