Skip to content

Improve self-update output with progress bar and changelog link#375

Merged
ryanfowler merged 1 commit intomainfrom
update-progress-output
Jan 30, 2026
Merged

Improve self-update output with progress bar and changelog link#375
ryanfowler merged 1 commit intomainfrom
update-progress-output

Conversation

@ryanfowler
Copy link
Owner

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.

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.
@ryanfowler ryanfowler requested a review from Copilot January 30, 2026 22:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@ryanfowler ryanfowler merged commit 67dcd85 into main Jan 30, 2026
10 checks passed
@ryanfowler ryanfowler deleted the update-progress-output branch January 30, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant