Source Control
Ready
Default model
tern
fix(store): retry the journal lock while Windows releases it
Robin Park2 seconds ago
main
Document the three layers
Robin Park2 weeks ago
Merge branch feat/conflicts
Robin Park3 weeks ago
tern sync command
Robin Park3 weeks ago
CI on three platforms
Robin Park4 weeks ago
HTTP client with retry
Robin Park4 weeks ago
Upload queue and note hashing
Robin Park5 weeks ago
Journal tests
Robin Park5 weeks ago
Add the journal and its lock
Robin Park6 weeks ago
Initial commit
Robin Park6 weeks ago

fix(store): retry the journal lock while Windows releases it

ef04c6aRobin Park <robin@example.com>Tue Sep 15 06:09:23 2026 -0700
Reopening the journal right after close could land while the previous
.tern/lock was still pending delete, and open(path, 'wx') failed with
EPERM or EBUSY. acquireLock() now retries those two codes with a short
backoff and rethrows everything else.

Adds lock.test.ts for the held-lock and rapid reacquire cases.
---
Files3

Scheduler

Default modelQwen3 coder 30B · Q4_K_MLM Studio (local)