Skip to content

feat(task-state): add transitional SQLite mutex - #826

Merged
unohee merged 4 commits into
mainfrom
wt/agt4024
Oct 7, 2026
Merged

unohee merged 4 commits into
mainfrom
wt/agt4024

Conversation

@unohee

@unohee unohee commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Acquire a kernel-owned SQLite writer lock before the legacy task-state dot-lock.
  • Keep dot-lock compatibility for older CLI clients during the transition release.
  • Add a regression test proving a dual-lock writer waits for a dot-lock-only client.

Verification

  • npm run lint
  • npm run typecheck
  • npm run build
  • npm test -- --run src/taskState/store.test.ts src/taskState/storeLockCompatibility.test.ts

@unohee
unohee merged commit 5625efb into main Oct 7, 2026
7 checks passed
@unohee
unohee deleted the wt/agt4024 branch October 7, 2026 20:27
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