You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Store on SQLite follow-ups: sorted lists in SQL, multi-process, backup CLI, recipe targets, throughput #859
Follow-ups found while moving the store onto SQLite (#858, the first slice of #835). All were observed in the implementation and none has been measured yet.
Sorted and filtered lists are ordered in JS, not SQL. They read the id plus the named fields, order with the existing runList semantics, and then fetch the page. Moving the ordering into SQL needs care: SQLite's BINARY collation orders by UTF-8, while the documented order is UTF-16.
Only one serving process per database, and it isn't enforced. Nothing refuses a second server now that .store.lock is gone. The audit drain also wakes only in the process that wrote the event. If enforcement is ever wanted, PRAGMA locking_mode=EXCLUSIVE would do it, at the cost of online backups and live operator CLI runs.
No store backup CLI. The docs point at SQLite's backup API, and only node:sqlitebackup() is tested.
The store-crud recipe claims aws/vercel: conditional. Core's preflight derives that without seeing the store's targets: ['node'], but the store refuses both targets at activation.
Throughput is unmeasured. Each commit runs synchronous=FULL and fsyncs on the event loop, and no benchmark has been run.
The next #835 slice (result-aware idempotency replay and conditional multi-record transitions) stays in #835.
Owner decision (2026-09-29): make the store's SQLite synchronous level operator-configurable per site (host option, never project YAML). The default stays FULL, and the trade-off is documented from the #882 measurements.
Activity
feat(store,core)!: store backup CLI and extension targets in descript…
docs(store): measure SQLite store throughput, commit cost and list or…
jimhoyd commentedon Sep 29, 2026
Owner decision (2026-09-29): make the store's SQLite
synchronouslevel operator-configurable per site (host option, never project YAML). The default stays FULL, and the trade-off is documented from the #882 measurements.feat(store): operator-configurable commit durability (#859) (#904)