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
fix: prevent NullPool from destroying in-memory databases on Windows
The critical issue was using NullPool for ALL databases on Windows,
including in-memory databases. NullPool closes connections immediately
after use, which destroys in-memory SQLite databases, causing
"no such table" errors in tests.
Changes:
- Only use NullPool for FILESYSTEM databases on Windows
- In-memory databases now use regular connection pooling to maintain state
- Added error handling in _configure_sqlite_connection to prevent PRAGMA
failures from breaking connections
- Added test to verify in-memory databases don't use NullPool
This should fix all Windows test failures while maintaining the benefits
of NullPool for filesystem databases on Windows.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: phernandez <paul@basicmachines.co>
0 commit comments