claude-memory/graph/edges/pattern-parallel-simplify-agen--CAUSES--fix-sqlx-in-memory-sqlite-pool-090ec7.md
2026-03-01 20:20:43 -06:00

816 B

id type from_id from_title to_id to_title strength created updated
090ec7e1-c8fc-40f5-8d60-4b2aef56bcbd CAUSES d75e2afd-8348-4fe6-9ea1-731604505aa6 Pattern: Parallel /simplify agents with isolated worktrees for large refactors 1b71b163-b56f-4226-9731-a76ef245e532 Fix: sqlx in-memory SQLite pool requires max_connections=1 0.9 2026-03-02T02:20:43.812285+00:00 2026-03-02T02:20:43.812285+00:00

The parallel /simplify sweep's schema.rs agent wrapped create_tables() in a transaction for atomicity. This broke all 5 integration tests because in-memory SQLite with max_connections>1 gives each connection its own database — the transaction committed on one connection, but test queries ran on another that had no tables. Discovered and fixed by limiting in-memory pools to max_connections=1.