feat(stack): stream push progress with live in-place rows#1632
Conversation
`stack push` ran its pre-flight (trunk fetch, PR search, rebase decision), branch push, and per-PR upserts silently, then printed a buffered plan-then-result transcript at the end — so it looked frozen on a slow link and listed every PR twice. Add a `progress` reporter that drives a spinner through the pre-flight, then renders one row per stacked PR and rewrites each in place (queued → spinner → ✓) as its GitHub call returns. The spinner animates during each request. Off a TTY it degrades to plain one-line-per-step streaming (no ANSI, `NO_COLOR` honored); rows truncate to terminal width so the cursor-up redraw never wraps on a long title. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Change-Id: I68fbd064d55a12f80a739bda44e1dbe767c107a8
This was referenced Jun 17, 2026
This was referenced Jun 17, 2026
Contributor
Author
|
This pull request is part of a Mergify stack:
|
Contributor
Merge Protections🔴 3 of 6 protections blocking · waiting on 👀 reviews and 🙋 you
🔴 ⛓️ Depends-On RequirementsWaiting for
This rule is failing.Requirement based on the presence of
🔴 👀 Review RequirementsWaiting for
This rule is failing.
🔴 🔎 ReviewsWaiting for
This rule is failing.
|
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.
stack pushran its pre-flight (trunk fetch, PR search, rebase decision), branch push, and per-PR upserts silently, then printed a buffered plan-then-result transcript at the end — so it looked frozen on a slow link and listed every PR twice.Add a
progressreporter that drives a spinner through the pre-flight, then renders one row per stacked PR and rewrites each in place (queued → spinner → ✓) as its GitHub call returns. The spinner animates during each request. Off a TTY it degrades to plain one-line-per-step streaming (no ANSI,NO_COLORhonored); rows truncate to terminal width so the cursor-up redraw never wraps on a long title.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Depends-On: #1630