Memory
Persistent context for AI agents
Stored Items
| Category | Key | Value | Actions |
|---|---|---|---|
| general | lesson:event-loop-disposal | When running multiple async DB tests with asyncpg/SQLAlchemy, create a fresh engine per test via conftest monkey-patching. The global engine binds to the first test's event loop and fails in subsequent tests. |