Skip to content

fix: remediation respects PATH vs managed resolution order - #229

Merged
SebTardif merged 1 commit into
mainfrom
fix/improve-mpi-20260810-s0950
Aug 10, 2026
Merged

fix: remediation respects PATH vs managed resolution order#229
SebTardif merged 1 commit into
mainfrom
fix/improve-mpi-20260810-s0950

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

Summary

MPI cycle 2 after #228. Test Auditor + Adversarial review of preferredBinaryRemediationAction:

  • Bug: outdated PATH (or patchloom.path) CLI offered Install/Update Patchloom when managed storage was available. Managed install never overrides PATH/setting, so the active binary stayed outdated after a "successful" update.
  • Fix: Update only when source === "managed"; Settings when source === "setting"; Open Releases for PATH.
  • Docs: troubleshooting upgrade path explains source-based recovery (Scoop for PATH, Update for managed).
  • Maintainer: ovsx 1.1.0 → 1.1.1.

Test plan

  • npm run check (unit + coverage + package)
  • New unit tests: outdated PATH with managed exists → Open Releases; outdated setting → Open Settings
  • CI green

Note

Release PR #227 (v0.4.0) remains open; not merged without explicit approval.

PATH and patchloom.path win binary resolution over managed storage.
Offering Install/Update managed for an outdated PATH binary left the
active CLI stale. Remediation now: Update only for managed source,
Settings for patchloom.path, Open Releases for PATH. Bump ovsx 1.1.1.

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