Description:
After upgrading to v4.0.10, the daemon health check consistently reports migration_failures: ["M043_quarantine_display_summaries"] and the service never enters the ready state.
Steps to reproduce:
- Run
slm db migrate --status — shows M043_quarantine_display_summaries: complete
- Query
migration_log table — status is also complete
- Check
/health endpoint — migrations: false, migration_failures contains M043_quarantine_display_summaries
Expected behavior:
When a migration is complete in migration_log, the health check should report migrations: true and the service should enter ready state.
Actual behavior:
The migration has clearly succeeded (confirmed both by slm db migrate --status and direct database query), but the health check falsely reports it as failed, keeping the service perpetually in not_ready state.
Environment:
- Version:
superlocalmemory 4.0.10
- Database path:
/root/.superlocalmemory/memory.db
- Deployment: systemd service
- OS: Ubuntu / Debian
Additional context:
migration_log query result:
M043_quarantine_display_summaries|complete|2026-08-22T16:25:46.767075+00:00
/health output (key fields):
"ready": false,
"readiness": {
"migrations": false,
"migration_failures": ["M043_quarantine_display_summaries"]
}
slm db migrate reports: Applied=0 Skipped=24 Failed=0
slm db migrate --status shows M043 as complete
systemctl restart slm does not resolve the issue
- Clearing cache/state files (
*.pid, *.sock, *.lock, *.db-shm, *.db-wal) does not resolve the issue
Suspected cause:
The health check logic appears to be reading from a separate failure marker (not migration_log) that is not being cleared when the migration actually succeeds. This may be a bug in the v4.0.10 migration verification logic.
Description:
After upgrading to v4.0.10, the daemon health check consistently reports
migration_failures: ["M043_quarantine_display_summaries"]and the service never enters thereadystate.Steps to reproduce:
slm db migrate --status— showsM043_quarantine_display_summaries: completemigration_logtable — status is alsocomplete/healthendpoint —migrations: false,migration_failurescontainsM043_quarantine_display_summariesExpected behavior:
When a migration is
completeinmigration_log, the health check should reportmigrations: trueand the service should enterreadystate.Actual behavior:
The migration has clearly succeeded (confirmed both by
slm db migrate --statusand direct database query), but the health check falsely reports it as failed, keeping the service perpetually innot_readystate.Environment:
superlocalmemory 4.0.10/root/.superlocalmemory/memory.dbAdditional context:
migration_logquery result:/healthoutput (key fields):slm db migratereports:Applied=0 Skipped=24 Failed=0slm db migrate --statusshows M043 ascompletesystemctl restart slmdoes not resolve the issue*.pid,*.sock,*.lock,*.db-shm,*.db-wal) does not resolve the issueSuspected cause:
The health check logic appears to be reading from a separate failure marker (not
migration_log) that is not being cleared when the migration actually succeeds. This may be a bug in the v4.0.10 migration verification logic.