notify: release held deliveries so shutdown tests fail, not hang (closes #176) #179

Merged
clawbot merged 1 commits from issue-176-notify-test-hang into next 2026-10-01 21:58:59 +02:00
1 Commits
Author SHA1 Message Date
sneak da4044830c notify: release held deliveries so shutdown tests fail, not hang (closes #176)
check / check (push) Successful in 1m3s
Two shutdown tests hold a delivery inside the test server's handler and
release it from a timer. The deferred timer stop ran before the server
was closed, so a drain that returned early left the handler blocked and
the server's close waited on it until the package timed out. Each test
now defers a release, guarded so the timer and the defer can both call
it, ahead of closing the server. The watchdog comment no longer names a
30-second timeout the test script does not use.

Model: opus-5-5
2026-10-01 19:57:35 +00:00