Show real-time progress feedback during push/pull from Studio Code#3071
Merged
youknowriad merged 5 commits intotrunkfrom Apr 13, 2026
Merged
Show real-time progress feedback during push/pull from Studio Code#3071youknowriad merged 5 commits intotrunkfrom
youknowriad merged 5 commits intotrunkfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
reportProgress passes an update flag through the callback chain so the UI updates the existing line in place. reportStart/reportSuccess/emitProgress create new lines, matching the terminal spinner behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
📊 Performance Test ResultsComparing 09cf1c1 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
epeicher
approved these changes
Apr 13, 2026
Contributor
There was a problem hiding this comment.
Thanks @youknowriad for adding that! It greatly improves the UX for the push/pull processes. I have tested it, and it works as expected. I have also tested the existing studio push/pull commands and found no issues. LGTM!
CleanShot.2026-04-13.at.13.30.03.mp4
For reference, the error Error: result (122,311 characters) exceeds maximum allowed tokens. Output has been saved to is not related to this task.
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.
Related issues
How AI was used in this PR
Claude identified the root causes and implemented the fix. I reviewed and tested the changes.
Proposed Changes
captureCommandOutputnow forwards progress messages to the previous callback instead of silently collecting them, so the agent UI receives live updates during push/pull operations.logger.spinner.text(terminal-only) for progress updates. Switched tologger.reportProgress()which routes through the callback system and falls back to the spinner in terminal mode.setLoaderMessagein the agent UI now updates a singleTextnode in place (viasetText) instead of appending a new child for every progress message, matching how the terminal spinner works.updateflag to the progress callback.reportProgresspassesupdate: trueto update the current line in place, whilereportStart/reportSuccess/emitProgresscreate new lines — so phase changes (e.g., "Uploading…" → "Backing up remote site…") still appear as separate lines.Testing Instructions
studio push/studio pullfrom the CLI terminal and verify the spinner still works as beforePre-merge Checklist