Repository navigation
fix: correct status and install messages when the CLI cannot be used - #333
Merged
Merged
Conversation
Show Status no longer opens with "Patchloom is ready." when the detected CLI is unsupported. The first Output line matches the warning toast. Managed install on an unsupported platform offers Open Settings. The walkthrough no longer says managed install is recommended on all platforms. Signed-off-by: Sebastien Tardif <SebTardif@ncf.ca>
The caret already allowed 4.11.0. The release adds optional assert plugins and allows a sync predicate on asyncProperty. Existing property tests still pass. Signed-off-by: Sebastien Tardif <SebTardif@ncf.ca>
preferredStatusAction does not prefer managed install for every missing or outdated CLI. A setting or PATH binary opens Settings or Releases. The comment now matches the tested helper. Signed-off-by: Sebastien Tardif <SebTardif@ncf.ca>
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.
Summary
Show Status no longer opens with "Patchloom is ready." when the detected CLI is too old for this extension. The first Output line matches the warning toast.
On a platform with no managed build, Install, Update, and Reinstall offer Open Settings so the person can set
patchloom.path. The install walkthrough no longer says managed install is recommended on all platforms.The status-action comment matches the tested button choice: managed Install or Update only when that binary is the one in use. A setting or PATH binary opens Settings or Releases.
fast-check is 4.11.0, inside the existing caret. The property tests passed.
Why
An old but runnable CLI made the Output channel say the tool was ready while the status bar and the toast said it was too old. Palette commands then refused to run. The install walkthrough claimed every platform has a managed build.
linux/armdoes not.Verification
npm run check: 462 passed, 3 skipped, line coverage 92.63%, package ok.buildStatusDetailsfirst line for an unsupported CLI, andunsupportedManagedInstallNoticefor linux/arm.Checklist
git commit -snpm run checkand it passes