Skip to content

refactor: handle issues #147 and #149 (complete helper migration + unit test for ensurePatchloomReadyOrNotify)#151

Merged
patchloom-release[bot] merged 1 commit into
mainfrom
fix/handle-issues-147-149
Jun 22, 2026
Merged

refactor: handle issues #147 and #149 (complete helper migration + unit test for ensurePatchloomReadyOrNotify)#151
patchloom-release[bot] merged 1 commit into
mainfrom
fix/handle-issues-147-149

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

Closes #147
Closes #149

  • Migrated configureMcp, setupWorkspace, verifyMcp to use the shared helper (dupe removal complete for the notify pattern).
  • Enhanced helper for testability (vscode import only on notify paths).
  • Added unit test coverage for success path of helper.
  • Full npm run check passed.
  • Rechecked: no breakage in callers, status.binaryPath usages updated, tests pass.

For #148 (App perm), requires org admin action via GitHub settings (see issue); no code change possible here. Workaround not added to avoid weakening security.

… configureMcp/setup/verifyMcp (#147); improve testability and add unit test for helper (#149)

- Updated remaining commands using the early-ready-notify pattern.
- Moved vscode import inside notify branches (only when UI needed).
- Added ensure test for success path (error paths require VSCode env).
- Re-ran compile + unit tests: all green.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
@patchloom-release patchloom-release Bot enabled auto-merge (squash) June 22, 2026 19:27
@SebTardif SebTardif changed the title refactor+test: handle issues #147 and #149 (complete helper migration + unit test for ensurePatchloomReadyOrNotify) refactor: handle issues #147 and #149 (complete helper migration + unit test for ensurePatchloomReadyOrNotify) Jun 22, 2026
@patchloom-release patchloom-release Bot merged commit 328eac0 into main Jun 22, 2026
19 of 20 checks passed
@patchloom-release patchloom-release Bot deleted the fix/handle-issues-147-149 branch June 22, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant