Improve self-update output with progress bar and changelog link#375
Merged
ryanfowler merged 1 commit intomainfrom Jan 30, 2026
Merged
Improve self-update output with progress bar and changelog link#375ryanfowler merged 1 commit intomainfrom
ryanfowler merged 1 commit intomainfrom
Conversation
Replace the info-prefixed update messages with cleaner output: progress bar during download (TTY only), "Already using the latest version" for no-ops, and a changelog URL after successful updates. Pass --silent for background auto-update subprocess.
There was a problem hiding this comment.
Pull request overview
This PR improves the user experience of the self-update functionality by replacing info-prefixed messages with cleaner output. When users run --update, they now see a progress bar during downloads (on TTY terminals), clearer status messages, and a direct changelog link after successful updates. Background auto-update processes now run silently with the --silent flag.
Changes:
- Added progress bar and spinner indicators for download visualization
- Enhanced update messages with bold formatting and changelog URLs
- Modified background auto-update to run silently
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| main.go | Adds --silent flag to background auto-update subprocess |
| internal/update/update.go | Replaces info messages with formatted output, adds progress wrapper, updates error messages |
| internal/update/progress.go | New file implementing progress bar and spinner for download visualization |
| integration/integration_test.go | Updates test assertions to match new output messages |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Replace the info-prefixed update messages with cleaner output: progress bar during download (TTY only), "Already using the latest version" for no-ops, and a changelog URL after successful updates. Pass --silent for background auto-update subprocess.