Skip to content
quarry View Ticket
Login

View Ticket

serve: graceful shutdown hangs on SIGTERM; deploys silently serve a stale binary

Closedd3b80da6ee4a9ed2bc71fdc349404c92556cdcfcCreated 100.5 days agoUpdated 67.9 days ago
Description2026-08-22 11:06:12
Closing: cannot reproduce. Tested 2026-08-28 against the running demo server — SIGTERM, and the process exited in 2 seconds. The reported behaviour was four ignored SIGTERMs across nine hours on 2026-08-22.

Either it was fixed in the intervening week or the conditions it needed (mirror pulls timing out during the drain) are not present now. Rather than leave an unreproducible report open, closing with the canary named: qdeploy.sh still sends TERM, waits, then falls back to kill -9 and refuses to start if the old process survives. If that fallback ever fires, this is the ticket to reopen — and the refusal means a stale binary cannot silently serve while it is investigated, which was the real damage here.