← Back to context

Comment by ezekg

16 hours ago

My only complaint off the bat is the reliance on the GH CLI, which I don't use either. But maybe by the time it's GA they'll have added UI support.

You can in fact do this from the web UI: https://github.github.com/gh-stack/guides/ui/#creating-a-sta...

  • I must have missed that. Amazing! From a reviewer's POV, this will be so nice to at the very least remove diff noise for PRs built on top of another PR. I usually refrain from reviewing child PRs until the parent is merged and the child can be rebased, for the sole reason that the diffs are hard to review i.r.t. what came from where.

Stacked PRs can be created via the UI, API, or CLI.

You can also run a combination of these. For ex, use another tool like jj to develop locally, push up the branches, and use the gh CLI to batch create a stack of n PRs, without touching local state.

  • Amazing. Though this wasn't super obvious from the landing page or docs I read.

It seems partially exposed in the UI with that dropdown. There's an 'add' and 'unstack' button.

Probably relies on some internal metadata.

CLI is great because now I can tell my AI agent to do it. “Fix all dependabot security issues (copy logs) and run tests to validate functionality. Create each dependency as its own stack (or commit) so that contributors may review each library update easily.”

Wait 10 minutes and you’re done.