← Back to list
01Issue
FeatureClosedExtensions
AssigneesNone
swamp update appears to stall with no progress feedback
Opened by swampadmin · 3/22/2025
Problem
When running swamp update, the command appears to hang with no visual feedback while it downloads and installs the new binary. The user sees nothing until the final success message appears, which can take several seconds depending on network speed. This makes it look like the command is broken or stalled.
$ swamp update
<... long pause with no output ...>
20:27:25.056 info update swamp updated successfully!
20:27:25.057 info update "20260302.135703.0-sha.7f1c73cc" → "20260302.191852.0-sha.061f496c"
20:27:25.057 info update SHA-256 integrity check passedExpected behavior
Show progress feedback during the update, similar to how swamp auth login uses a Spinner with status messages like "Opening browser..." → "Securing session...".
For swamp update, the spinner could show steps like:
- "Checking for updates..."
- "Downloading vX.Y.Z..." (after the version check resolves)
- "Verifying integrity..."
- "Installing..."
Then stop the spinner before rendering the final success output.
Implementation notes
- The
Spinnerclass (src/presentation/spinner.ts) already exists and supportsstart(),update(), andstop()methods HttpUpdateChecker.downloadAndInstall()insrc/infrastructure/update/http_update_checker.tsperforms the download silently with no callback- The spinner should only be shown in log mode (not JSON mode), consistent with the auth login pattern
- The spinner writes to stderr, so it won't interfere with JSON output
02Bog Flow
Closed
No activity in this phase yet.
03Sludge Pulse
Sign in to post a ripple.