Skip to content

chore(agent,ci): support Stacked PR and Merge Queue workflow on origin - #1214

Merged
kyasbal merged 3 commits into
mainfrom
push-qlsnuwpnozmt
Nov 4, 2026
Merged

kyasbal merged 3 commits into
mainfrom
push-qlsnuwpnozmt

Conversation

@kyasbal

@kyasbal kyasbal commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Summary

Updates the jj-workflow agent skill and the pullrequest.yaml GitHub Actions workflow to support GitHub Native Stacked PRs (gh stack) and Merge Queue workflows on GoogleCloudPlatform/khi across base branches (main and epic/**).

  • .agents/skills/jj_workflow/SKILL.md: Documents pushing multiple linear commits for stacked PRs, linearly cascade-rebasing downstream stacked PRs during review iterations with jj git push --tracked, and rebasing remaining stacked PRs onto <base-branch>@origin after 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 both on.pull_request and on.merge_group so required status checks trigger immediately for stacked PRs and Merge Queues targeting any base branch.
@kyasbal
kyasbal requested a review from RyuSA as a code owner November 4, 2026 03:13
@kyasbal kyasbal added the area:cicd GitHub Actions workflows and release pipelines label Nov 4, 2026
@kyasbal
kyasbal requested a review from jyane as a code owner November 4, 2026 03:13
@kyasbal kyasbal added area:agent AI agent skills, rules, and prompt workflows type:chore Maintenance, dependency updates, and tooling chores labels Nov 4, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .agents/skills/jj_workflow/SKILL.md Resolved
Comment thread .agents/skills/jj_workflow/SKILL.md Resolved
Comment thread .agents/skills/jj_workflow/SKILL.md Resolved
Comment thread .agents/skills/jj_workflow/SKILL.md Resolved
Comment thread .agents/skills/jj_workflow/SKILL.md Resolved
Comment thread .agents/skills/jj_workflow/SKILL.md Resolved
Comment thread .agents/skills/jj_workflow/SKILL.md Resolved
@kyasbal
kyasbal added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit caab494 Nov 4, 2026
21 checks passed
@kyasbal
kyasbal deleted the push-qlsnuwpnozmt branch November 4, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:agent AI agent skills, rules, and prompt workflows area:cicd GitHub Actions workflows and release pipelines type:chore Maintenance, dependency updates, and tooling chores

1 participant