Reload sync startup state and lock sync and Rebuild #83
No reviewers
Labels
No labels
boundary:crosses
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/messages-mind-mcp!83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-messages-mind-mcp-78-sync-start-retry-launchd-re-05ad1830"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Re-read config and secrets after start retry waits, preserving coded refusals. Hold a nonblocking flock through sync and Rebuild, including retry waits, and refuse contention with sync-running. Record start failures without creating a Mirror or writing its deletion marker.
Document supervisor restarts after exit 3, health timing, recovery steps and filesystem lock limits. Add bounded retry, reload, contention and failure-recording tests, and strengthen existing assertions.
Behaviour change (operator-visible): a start retry reads the config and secrets again; sync and Rebuild take a lock beside the Mirror, and a second instance refuses with
sync-running(exit 2)Validation: make check passed with 1455 passed, 58 skipped and 2 deselected, versus pristine baseline 1438 passed, 58 skipped and 2 deselected. All 20 scenario commands passed. All eight prescribed mutants triggered assertion failures without hangs and were restored.
Closes #78
Co-Authored-By: gpt-6.1-sol noreply@openai.com