Improve update check prompt and enhance script handling - #189
Merged
Merged
Conversation
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.
馃悰 Bug Fixes
No more double update prompt
Previously, after Spin upgraded itself, the next command would ask you to check for updates again. Spin now remembers the check after a successful upgrade, so you're only asked once every 14 days.
Since the old version performs the upgrade, you may see the prompt one last time after upgrading to this release.
Pressing Enter at the update prompt now means "yes"
The update prompt shows
[Y/n], but pressing Enter actually skipped the update. Enter now accepts the default, like the prompt says. We also fixed the missing line break after typingy, which caused output like[Y/n] yIt's been a while....Other fixes
spin deploynow shows a clear error when it can't find your swarm manager host, instead of exiting with a rawcaterror.spin latestnow works in project directories that have spaces in their path.馃Ъ Housekeeping
bin/,lib/,tools/, andtests/.testworkflow that runs ShellCheck and the update check regression tests on every pull request. Tests run on both Ubuntu and macOS, so Bash 3.2 compatibility is checked automatically.AGENTS.mdso contributors and AI agents don't copy the Enter key bug, and documented how to run ShellCheck locally with Docker.