Loading workspace insights... Statistics interval
7 days30 daysLatest CI Pipeline Executions
762451ed feat(core): replace rusqlite with turso 0.6.0-pre.26 (multi-process WAL)
Replaces the rusqlite C-bindings backend with the pure-Rust turso crate
(v0.6.0-pre.26), which now ships process-shared WAL coordination via the
upstream tshm protocol (tursodatabase/turso#6236, merged 2026-04-20).
The previous spike (#34933) closed because turso could not share a DB
file across the daemon, CLI, and plugin workers. The new release fixes
that, so the spike can land using a published crate version instead of
a git-branch dependency.
Removes the rusqlite-era retry/lock-file/WAL-negotiation/WSL1 detection
machinery that existed solely to work around rusqlite concurrency edge
cases; turso's busy_timeout + WAL handle the same cases natively.
Cargo.toml: rusqlite 0.32.1 -> turso 0.6.0-pre.26 (no C deps, WASM-ready)
db/initialize.rs: ~500 -> ~120 lines; open + WAL pragma + create tables
db/connection.rs: turso::Connection wrapper with DbValue/DbRow shims
db/mod.rs: drop lock-file dance; keep DB_VERSION filename + cleanup
cache/cache.rs: port fetch_cache_rows from rarray to dynamic IN clause
tasks/task_history.rs, details.rs, running_tasks_service.rs: DbValue params
telemetry/mod.rs, service.rs: DbValue params, DbRow results
Adds initialize_db_concurrent_connections test verifying two connections
can simultaneously open and read/write the same DB file.