github thedotmack/claude-mem v9.0.16

7 hours ago

Bug Fixes

Fix Worker Startup Timeout (#811, #772, #729)

Resolves the "Worker did not become ready within 15 seconds" timeout error that could prevent hooks from communicating with the worker service.

Root cause: isWorkerHealthy() and waitForHealth() were checking /api/readiness, which returns 503 until full initialization completes — including MCP connection setup that can take 5+ minutes. Hooks only have a 15-second timeout window.

Fix: Switched to /api/health (liveness check), which returns 200 as soon as the HTTP server is listening. This is sufficient for hook communication since the worker accepts requests while background initialization continues.

Files changed:

  • src/shared/worker-utils.tsisWorkerHealthy() now checks /api/health
  • src/services/infrastructure/HealthMonitor.tswaitForHealth() now checks /api/health
  • tests/infrastructure/health-monitor.test.ts — Updated test expectations

PR Merge Tasks

  • PR #820 merged with full verification pipeline (rebase, code review, build verification, test, manual verification)

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.