Skip to content

fix: coordinate concurrent edge writes - #71

Merged
creatornader merged 1 commit into
mainfrom
fix/edge-write-coordinator
Jul 26, 2026
Merged

fix: coordinate concurrent edge writes#71
creatornader merged 1 commit into
mainfrom
fix/edge-write-coordinator

Conversation

@creatornader

Copy link
Copy Markdown
Owner

Replace the unsafe file-lock attempt with a token-checked write lease stored in the shared SQLite edge database. The lease serializes local edge mutations across concurrent MCP processes, recovers expired crashed-writer ownership safely, and keeps gateway calls outside the write boundary.\n\nTests cover concurrent schema upgrades, 21-process post/get/ack traffic, live and crashed writer leases, WAL checkpointing, restart, and clean-home full verification.

@creatornader
creatornader force-pushed the fix/edge-write-coordinator branch from 52dd85b to d8be268 Compare July 26, 2026 21:09
@creatornader
creatornader force-pushed the fix/edge-write-coordinator branch from d8be268 to 163c48d Compare July 26, 2026 21:18
@creatornader
creatornader merged commit bc3b1da into main Jul 26, 2026
23 checks passed
@creatornader
creatornader deleted the fix/edge-write-coordinator branch July 26, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant