Skip to content

v0.5.1 — Daemon OOM fixes, auto-install, settings & telemetry

Choose a tag to compare

@raj-rkv raj-rkv released this 26 May 06:55
· 242 commits to master since this release

What's in v0.5.1

Patch release on top of v0.5.0 — three merged PRs with critical daemon fixes and major VS Code extension features.

Daemon — OOM-kill fixes (#214)

  • PERF-001: Replaced per-event spawn_blocking with a single dedicated indexer worker. A 100-file flood previously spawned 100 OS threads × 8 MB each = 800 MB RSS spike. Now: one thread, one queue, back-pressure via bounded channel (cap 256).
  • PERF-002: Removed LSIF pass from reindex_files — was buffering 200–500 MB of tsc JSON on every commit. LSIF now runs only at init_repo.
  • Singleton guard: Checks the control socket in the parent process before spawning a background child. Previously every daemon start call created a new 700 MB process before the lockfile check fired inside the child.
  • Watcher coalesce fix: Remove → Upsert (file deleted then recreated within the 500 ms debounce window) now correctly emits an Upsert. Previously the Remove silently won, permanently dropping the recreated file from the graph.
  • Shutdown drain fix: Remaining watcher events are forwarded to the indexer worker's channel at shutdown instead of being processed directly on the async executor thread, preventing a potential executor stall on current_thread runtime.

VS Code Extension 0.3.0 (#215, #216)

  • Auto-install: detects a missing travsr binary and offers a one-click in-editor install from GitHub Releases.
  • Settings UI: travsr.mcpPath, travsr.logLevel, travsr.telemetry.enabled configurable from VS Code Settings.
  • Opt-in telemetry: anonymous usage events only when travsr.telemetry.enabled = true (default: false).
  • Activity Bar SVG icon replaces the PNG placeholder.
  • Actionable error notifications with "Install Travsr" / "Open Settings" quick-fix buttons.

Memory profile

Scenario Before After
Single daemon idle ~700 MB ~80 MB
100-event flood ~800 MB spike ~305 MB
Post-commit large TS repo +200–500 MB +0 MB
Two daemon start calls 1.4 GB "already running"

Install

npm install -g @travsr.com/travsr@0.5.1

VS Code extension .vsix is attached — install via Extensions: Install from VSIX…

What's Changed

  • [travsr-vscode] S17-4: Auto-install binary + actionable error UX by @Abhishek5517 in #215
  • fix(travsr-daemon): eliminate OOM-kill on repeated daemon start / event floods by @raj-rkv in #214
  • [S17-5] Settings UI + opt-in telemetry by @Abhishek5517 in #216

Full Changelog: v0.5.0...v0.5.1