Skip to content

fix: align the extension with Patchloom CLI 0.37.1 - #289

Merged
patchloom-release[bot] merged 1 commit into
mainfrom
fix/align-cli-0.37.1
Oct 8, 2026
Merged

patchloom-release[bot] merged 1 commit into
mainfrom
fix/align-cli-0.37.1

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

Summary

Align the extension with Patchloom CLI 0.37.1. The recommended CLI is 0.37.1. The minimum stays 0.3.0. The MCP inventory is still 66 tools, and the core pack is still 12.

Quick Actions and Batch Apply now wait 45 seconds. The CLI format deadline is 30 seconds and starts after the write. The old 30 second process limit killed the CLI before format_failed could return. That error means the write may already be on disk. Undo restores it.

Why

Patchloom 0.37.1 (patchloom-v0.37.1) kills a formatter that closes stderr or leaves a background process holding it, and returns error_kind: format_failed. A parent .patchloom.toml outside git no longer supplies format commands. Containment checks several reads before opening the file. Short hunks are parse errors. Literal $ in replacement text stays text.

Verification

  • Live probe of the 0.37.1 macOS arm64 release: full MCP inventory 66, core pack 12, Windows zip still has patchloom.exe at the archive root.
  • format_failed on replace --apply with [format] auto = true leaves the file written and names patchloom undo. The same failure on batch --apply does not roll the write back.
  • A parent format command outside git is dropped and the write succeeds.
  • npm run check: 479 tests passed, line coverage 92.87%, vsce package ok.

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)

Patchloom 0.37.1 returns format_failed when a formatter hits its 30
second deadline, and the write may already be on disk. Quick Actions
and Batch Apply waited 30 seconds from process start, so Node killed
the CLI before that error could return. They now wait 45 seconds.

MCP inventory is still 66 tools and the core pack is still 12.
Minimum CLI stays 0.3.0. Docs cover the 0.37.1 edit and containment
fixes. Batch Apply says a formatter failure is restored with Undo.

Verified with npm run check (479 tests, package ok) and a live probe
of patchloom-v0.37.1.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
@SebTardif
SebTardif marked this pull request as ready for review October 8, 2026 23:15
@patchloom-release
patchloom-release Bot enabled auto-merge (squash) October 8, 2026 23:15
@patchloom-release
patchloom-release Bot merged commit 1e786af into main Oct 8, 2026
24 checks passed
@patchloom-release
patchloom-release Bot deleted the fix/align-cli-0.37.1 branch October 8, 2026 23:20
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