Skip to content
quarry Artifact [4e7190cb30]
Login

Artifact [4e7190cb30]

Artifact 4e7190cb30ce25419533e77b48574b89ef2d3f90677c3237da19924bcabef03a:

Ticket change [4e7190cb30] - New ticket [d3b80da6ee] serve: graceful shutdown hangs on SIGTERM; deploys silently serve a stale binary. by tmp-ops on 2026-08-22 11:06:12.
D 2026-08-22T11:06:12.789
J cmimetype text/x-markdown
J comment Observed\s2026-08-22:\sthe\sserve\sprocess\signored\sfour\sSIGTERMs\sacross\s~9\shours\s(started\s21:28,\sstill\sserving\sat\s06:04).\sEach\sqdeploy\skilled\spolitely,\sthe\snew\sbinary\sfailed\sto\sbind\s8950\sand\sdied,\sand\sthe\sstale\sprocess\skept\sserving\s—\sthree\sUI\sreviews\shappened\sagainst\sa\sbinary\sthe\stree\sno\slonger\scontained.\n\nLikely\spath:\sthe\sshutdown\shandler\sdrains\singest/mirror\srounds;\swith\spulls\stiming\sout\s(context\sdeadline\sexceeded\sacross\smany\srepos\sin\sthe\ssame\swindow)\sthe\sdrain\snever\scompletes\sand\sthe\ssignal\sis\seffectively\sswallowed.\n\nFix\sshape:\sbound\sthe\sgraceful\sdrain\s(e.g.\s10s)\sthen\shard-exit;\ssecond\sTERM\s=\simmediate\sexit.\sA\sserver\sthat\scannot\sbe\srestarted\sby\sTERM\sturns\severy\sdeploy\sinto\sa\ssilent\slie.
J status Open
J title serve:\sgraceful\sshutdown\shangs\son\sSIGTERM;\sdeploys\ssilently\sserve\sa\sstale\sbinary
K d3b80da6ee4a9ed2bc71fdc349404c92556cdcfc
U tmp-ops
Z dab6fa20aad2a5bb973ef44ce9fc61a9