Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github/gh-stack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.8
Choose a base ref
...
head repository: github/gh-stack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.0
Choose a head ref
  • 11 commits
  • 59 files changed
  • 4 contributors

Commits on Jul 22, 2026

  1. Bump astro in /docs in the npm_and_yarn group across 1 directory (#244)

    Bumps the npm_and_yarn group with 1 update in the /docs directory: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro).
    
    
    Updates `astro` from 7.0.3 to 7.1.3
    - [Release notes](https://github.com/withastro/astro/releases)
    - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
    - [Commits](https://github.com/withastro/astro/commits/astro@7.1.3/packages/astro)
    
    ---
    updated-dependencies:
    - dependency-name: astro
      dependency-version: 7.1.3
      dependency-type: direct:production
      dependency-group: npm_and_yarn
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 22, 2026
    Configuration menu
    Copy the full SHA
    171d055 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2026

  1. Bump svgo in /docs in the npm_and_yarn group across 1 directory (#266)

    Bumps the npm_and_yarn group with 1 update in the /docs directory: [svgo](https://github.com/svg/svgo).
    
    
    Updates `svgo` from 4.0.1 to 4.0.2
    - [Release notes](https://github.com/svg/svgo/releases)
    - [Commits](svg/svgo@v4.0.1...v4.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: svgo
      dependency-version: 4.0.2
      dependency-type: indirect
      dependency-group: npm_and_yarn
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 23, 2026
    Configuration menu
    Copy the full SHA
    a365459 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2026

  1. Respect repository default branch in gh stack link (#265)

    * Initial plan
    
    * Respect repository default branch in gh stack link
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Copilot authored Jul 24, 2026
    Configuration menu
    Copy the full SHA
    6dcf9f0 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2026

  1. Bump sharp in /docs in the npm_and_yarn group across 1 directory (#317)

    Bumps the npm_and_yarn group with 1 update in the /docs directory: [sharp](https://github.com/lovell/sharp).
    
    
    Updates `sharp` from 0.34.5 to 0.35.3
    - [Release notes](https://github.com/lovell/sharp/releases)
    - [Commits](lovell/sharp@v0.34.5...v0.35.3)
    
    ---
    updated-dependencies:
    - dependency-name: sharp
      dependency-version: 0.35.3
      dependency-type: direct:production
      dependency-group: npm_and_yarn
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 26, 2026
    Configuration menu
    Copy the full SHA
    effa94b View commit details
    Browse the repository at this point in the history
  2. Bump postcss in /docs in the npm_and_yarn group across 1 directory (#318

    )
    
    Bumps the npm_and_yarn group with 1 update in the /docs directory: [postcss](https://github.com/postcss/postcss).
    
    
    Updates `postcss` from 8.5.16 to 8.5.23
    - [Release notes](https://github.com/postcss/postcss/releases)
    - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
    - [Commits](postcss/postcss@8.5.16...8.5.23)
    
    ---
    updated-dependencies:
    - dependency-name: postcss
      dependency-version: 8.5.23
      dependency-type: indirect
      dependency-group: npm_and_yarn
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 26, 2026
    Configuration menu
    Copy the full SHA
    c79f2b2 View commit details
    Browse the repository at this point in the history
  3. Docs Content Updates (#185)

    * stack map and merge behavior clarification
    
    * stacked webhook event
    
    * stacks rest api
    
    * optimizing ci usage
    
    * graphql api docs
    
    * rm deprecated adopt examples for init
    
    * clarifications on merge behavior
    
    * document admin bypass and auto-merge limitations
    
    * updated screenshots
    
    * unstacking behavior clarification
    
    * stacking recommendation banner
    
    * correct phrasing for bypass
    
    * clarify wording on trunk branch
    
    * skill file fixes
    
    * bump js-yaml to 4.3.0
    
    * fix broken link
    
    * move up flag references for readability
    skarim authored Jul 26, 2026
    Configuration menu
    Copy the full SHA
    53ed88c View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2026

  1. Rebase stacks onto the latest remote trunk (#330)

    * Rebase stacks onto the latest remote trunk
    
    Fetch the configured trunk explicitly before sync or rebase and use that
    fetched ref whenever the local trunk cannot be safely updated, while
    preserving local-only and locally-ahead trunks. Fail instead of reporting
    success when the fetch or rebase never starts, carry the resolved trunk
    through conflict recovery, and verify the resulting ancestry before sync
    pushes or either command reports success.
    
    * Restore stacks after incomplete cascade rebases
    
    Roll back branches already rewritten when a later rebase cannot start or
    final ancestry verification fails, preventing retries from replaying stale
    history. Preserve retryable modify state without repeating completed work,
    and add regression coverage for remote-qualified trunk normalization.
    skarim authored Jul 29, 2026
    Configuration menu
    Copy the full SHA
    a5cae7b View commit details
    Browse the repository at this point in the history
  2. Fix for replaying amended parent commits during rebase (#333)

    * Avoid replaying amended parent commits
    
    Preserve a branch's last valid base when its parent is rewritten, and only
    use verified ancestor commits as rebase boundaries. Recover previously
    corrupted metadata from the parent reflog when possible, otherwise stop
    safely instead of replaying superseded parent commits.
    
    * Record adopted branch merge bases
    
    Store the actual common ancestor when adding an existing branch so cascade rebases replay only that branch's unique commits while retaining the amended-parent safety guard.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    Copilot-Session: 30bcbf2a-5ef1-4bdb-a0fc-618294ae8ded
    
    ---------
    
    Copilot-Session: 30bcbf2a-5ef1-4bdb-a0fc-618294ae8ded
    skarim authored Jul 29, 2026
    Configuration menu
    Copy the full SHA
    9421bd6 View commit details
    Browse the repository at this point in the history
  3. Minor docs updates (#343)

    * clarify push behavior
    
    * max stack size
    
    * clarify only pushing active branches
    
    * no stack obj in pull_request.opened event
    skarim authored Jul 29, 2026
    Configuration menu
    Copy the full SHA
    fded736 View commit details
    Browse the repository at this point in the history
  4. Merge Stacked PRs with merge command (#307)

    * merge cmd
    
    * Refine the merge TUI and simplify the async-merge client
    
    Follow-up polish for `gh stack merge` (the command itself landed in the
    previous commit). These changes refine the interactive wizard, enrich the
    PR picker, and replace the merge client's bespoke HTTP handling with the
    standard go-gh REST client.
    
    Wizard and stepper:
    - Redesign the top stepper as a segmented bar: completed steps are green,
      the active step is the brightest, and upcoming steps are dimmed. Steps
      are separated by a Powerline arrow that blends into the shading, with a
      graceful fallback to abutting segments on terminals that lack the glyph
      (e.g. Apple Terminal). Set GH_STACK_POWERLINE=1/0 to override detection.
    - Show the stack number in the header ("Merge stack #123").
    - Hide the header and stepper once the merge is submitted so the live
      progress view stands on its own.
    
    PR picker:
    - Render each pull request on two lines: the title (white/black, a touch
      bolder when selected) above its "#number • branch" (gray, fainter when
      deselected). Titles are fetched in one batched GraphQL query (PRTitles)
      and fall back to the branch name.
    - Scroll long stacks in a fixed 10-item window with persistent "N more"
      indicators, so the list no longer jumps as those hints appear and
      disappear. Add shift+up / shift+down to jump to the top or bottom.
    
    Progress and outcome:
    - Always render a status line ("Submitting merge request...") so it does
      not pop in later and shift the view, and normalize messages to end in an
      ellipsis.
    - Print the final result from the command layer rather than the TUI: a
      success line that includes the merge commit SHA
      ("Merged #1, #2 into main (abc1234)"), an atomic-rollback note on
      failure, a distinct message when the user stops watching an in-flight
      merge, and "Cancelled operation, nothing merged" on cancel.
    - Clamp every rendered line to the terminal width so resizing no longer
      leaves duplicated header lines behind, and make truncation ANSI-aware.
    
    Async-merge client:
    - Use the go-gh REST client (c.rest.Put / c.rest.Get) for both the submit
      and poll endpoints, removing the bespoke http.Client, base-URL helper,
      and manual response decoding. The REST client discards non-2xx bodies,
      but that only costs the rare 400 message and 409 UUID: real merge
      failures still surface through the 200 poll body, and the in-range PRs
      are validated open, non-draft, and non-merged before submitting.
    - Add classifyAsyncMergeError to map status codes to clear errors (404
      unavailable, 409 already exists, 400 no longer mergeable) and drop the
      now-unused AsyncMergeResult.StatusCode field. Rework the client tests to
      drive the REST client through a stub http.RoundTripper.
    
    * warn merge queue unsupported
    
    * update for new status field from api
    
    * merge cmd docs
    
    * more helpful error msgs
    
    * update to support merge queue
    
    * addressing review comments
    
    * hide merge method step for merge queue
    
    * set merge action explicitly
    
    * address review comments to clarify docs on merge/api behavior
    skarim authored Jul 29, 2026
    Configuration menu
    Copy the full SHA
    68ce60c View commit details
    Browse the repository at this point in the history
  5. Async merge API docs (#321)

    * async merge api docs
    
    * address review comments
    
    * Apply batched suggestions from code review
    
    Co-authored-by: Tracy Lum <11878752+talum@users.noreply.github.com>
    Co-authored-by: Sameen Karim <skarim@github.com>
    
    ---------
    
    Co-authored-by: Tracy Lum <11878752+talum@users.noreply.github.com>
    skarim and talum authored Jul 29, 2026
    Configuration menu
    Copy the full SHA
    a1b4a3d View commit details
    Browse the repository at this point in the history
Loading