Let an IRC relay finish its queue read when its connection ends (closes #205) #206

Merged
clawbot merged 1 commits from issue-205-kill-quit into next 2026-10-27 10:20:10 +01:00
1 Commits
Author SHA1 Message Date
clawbot 892da36ac3 Let an IRC relay finish its queue read when its connection ends (closes #205)
check / check (push) Waiting to run
When an IRC listener connection ends, serve cancels the context its
relay uses. If the cancel came while the relay was reading the queue,
the SQLite driver interrupted the query and reported the connection
broken, and the pool closed its only connection. In the tests that
deletes the in-memory database, so in TestIntegrationKill alice never
got bob's QUIT. In production the new connection runs without
PRAGMA foreign_keys = ON.

The relay now reads the queue without that cancel. It still stops at
its next check of the context.

Model: opus-5-5
2026-10-27 08:13:36 +00:00