Skip to content

Add optimistic concurrency and reactive SQLite clients - #57

Merged
TheFellow merged 2 commits into
mainfrom
feat/sqlite-optimistic-reactive-clients
Aug 11, 2026
Merged

Add optimistic concurrency and reactive SQLite clients#57
TheFellow merged 2 commits into
mainfrom
feat/sqlite-optimistic-reactive-clients

Conversation

@TheFellow

Copy link
Copy Markdown
Owner

Summary

  • add store-owned revision tokens and atomic compare-and-swap update/delete semantics, including migration of existing rows
  • round-trip revisions through mutable domain models and CLI/GUI/TUI editors so stale saves return typed conflicts
  • add a coalesced PRAGMA data_version monitor and wire GUI/TUI invalidation through normal authorized queries
  • preserve dirty workflows, refresh cached views when safe, and discard out-of-order async reloads
  • document the consistency and notification contract

Validation

  • go generate ./...
  • go build ./...
  • go tool arch-lint -config=.arch-lint.yaml
  • GOTOOLCHAIN=go1.26.5 go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2 run
  • go test -race -shuffle=on -count=1 -timeout=5m ./...

@TheFellow
TheFellow merged commit e9128b9 into main Aug 11, 2026
3 checks passed
@TheFellow
TheFellow deleted the feat/sqlite-optimistic-reactive-clients branch August 11, 2026 03:20
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