Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
fix(bots): heartbeat test closes its backends (Windows EBUSY on teardown)
Salman Qureshibc16cfe74d26
diff --git a/src/bots/queue.test.ts b/src/bots/queue.test.tsindex d5315504..6fc53bec 100644--- a/src/bots/queue.test.ts+++ b/src/bots/queue.test.ts@@ -248,6 +248,9 @@ describe('BotManager durable queue integration', () => {// The manager owns the SQLite queue handle — close it or Windows locks// queue.db (EBUSY) and the tmpdir teardown fails.try { manager?.dispose?.(); } catch { /* already gone */ }+ // This describe also opens backends directly (heartbeat test) — close+ // them or Windows locks queue.db (EBUSY) at tmpdir teardown.+ for (const b of openBackends.splice(0)) b.close();rmSync(root, { recursive: true, force: true });});