Skip to content

fix: unify CLI remediation and clear npm audit findings - #228

Merged
SebTardif merged 2 commits into
mainfrom
fix/improve-mpi-20260810-s0932
Aug 10, 2026
Merged

fix: unify CLI remediation and clear npm audit findings#228
SebTardif merged 2 commits into
mainfrom
fix/improve-mpi-20260810-s0932

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

Summary

MPI cycle after CLI 0.28.0 alignment (#226).

  • Extract preferredBinaryRemediationAction and use it from both status preferred actions and ensurePatchloomReadyOrNotify, so missing/outdated CLI always prefers managed Install / Reinstall / Update over Settings alone (and avoids lagging winget/Chocolatey upgrade paths).
  • Clear high npm audit findings (npm audit fix + brace-expansion override 5.0.8 → 5.0.9); bump @types/node to 26.2.0.
  • Docs: troubleshooting note for managed reinstall.

Test plan

  • npm run check (311 unit tests, coverage, package)
  • npm audit → 0 vulnerabilities
  • CI green on this PR

Note

Release PR #227 (v0.4.0) left open per maintainer; do not merge without explicit approval.

Share preferredBinaryRemediationAction between status actions and
ensurePatchloomReadyOrNotify so missing/outdated CLI prompts prefer
managed install, reinstall, or update over Settings alone. Bump
@types/node and brace-expansion override to clear high audit advisories.

npm run check: 311 unit tests, coverage, package ok.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
Point troubleshooting at the Reinstall action added to preferred
binary remediation so Windows/managed users recover without winget.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
@SebTardif
SebTardif marked this pull request as ready for review August 10, 2026 13:44
@SebTardif
SebTardif merged commit 208b497 into main Aug 10, 2026
22 checks passed
@SebTardif
SebTardif deleted the fix/improve-mpi-20260810-s0932 branch August 10, 2026 13:44
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