Skip to content

fix: correct status and install messages when the CLI cannot be used - #333

Merged
SebTardif merged 3 commits into
mainfrom
fix/improve-mpi-20261123-s0801
Nov 23, 2026
Merged

SebTardif merged 3 commits into
mainfrom
fix/improve-mpi-20261123-s0801

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

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/arm does not.

Verification

  • npm run check: 462 passed, 3 skipped, line coverage 92.63%, package ok.
  • New tests: buildStatusDetails first line for an unsupported CLI, and unsupportedManagedInstallNotice for linux/arm.

Checklist

  • All commits in this pull request are signed off with git commit -s
  • I ran npm run check and it passes
  • I updated docs if user-facing behavior changed
  • I am contributing this work under the repository license (MIT)

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>
@SebTardif
SebTardif marked this pull request as ready for review November 23, 2026 17:13
@SebTardif
SebTardif merged commit 3996f6a into main Nov 23, 2026
24 checks passed
@SebTardif
SebTardif deleted the fix/improve-mpi-20261123-s0801 branch November 23, 2026 17:13
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