Release v8.48.1 - Critical Hotfix
🚨 Critical Bug Fix
This release fixes a critical startup failure introduced in v8.48.0 that prevented the service from starting.
Bug Details
Root Cause:
- Line 84 in
src/mcp_memory_service/models/memory.pyhad a redundant localimport calendarstatement inside theiso_to_float()function - Python scoping rules: the local import declaration made
calendara local variable within that function - Exception handler at line 168 referenced
calendarbefore reaching the import statement - This caused:
UnboundLocalError: cannot access local variable 'calendar' where it is not associated with a value
Impact:
- v8.48.0 service completely fails to start (infinite loop during Cloudflare sync initialization)
- Error repeats every ~100ms with continuous Cloudflare API calls
- Health endpoint never responds, making dashboard inaccessible
- All MCP Memory Service functionality unavailable
Fix:
- Removed redundant local import at line 84 (src/mcp_memory_service/models/memory.py:84)
- Module was already imported globally at line 21, making local import unnecessary
- Service now starts successfully and passes all health checks
Changes
Modified Files:
src/mcp_memory_service/models/memory.py- Removed redundant import statement (1 line deleted)
Testing
- ✅ Service starts without errors (tested locally)
- ✅ Health endpoint responds correctly
- ✅ No timestamp parsing errors in logs
- ✅ Cloudflare sync completes successfully
- ✅ Dashboard accessible at https://localhost:8000
Deployment Notes
Severity: CRITICAL - All v8.48.0 users affected
Upgrade Priority: IMMEDIATE
Migration: None required (drop-in replacement)
Users on v8.48.0 should upgrade to v8.48.1 immediately as v8.48.0 is non-functional.
Version: 8.48.1
Type: Patch (Critical Hotfix)
Breaking Changes: None