Release v5.0.2: Worker health check and async startup improvements
Fixes: - Fixed worker startup reliability with async health checks - Added proper error handling to PM2 process spawning - Worker now verifies health before proceeding with hook operations - Improved handling of PM2 failures when not yet installed Technical changes: - Added isWorkerHealthy() and waitForWorkerHealth() functions to src/shared/worker-utils.ts - Changed ensureWorkerRunning() from synchronous to async with proper await - All hooks now await ensureWorkerRunning for reliable worker communication - Rebuilt all plugin executables with version 5.0.2 - Updated version to 5.0.2 in all metadata files Root cause: ensureWorkerRunning was synchronous and didn't verify worker was actually responsive before proceeding, causing race conditions and startup failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "claude-mem",
|
||||
"version": "5.0.1",
|
||||
"version": "5.0.2",
|
||||
"description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions",
|
||||
"author": {
|
||||
"name": "Alex Newman"
|
||||
|
||||
Reference in New Issue
Block a user