Restarted my side project's worker mid-deploy and lost 6 queued jobs.
My coding agent's worker had no SIGTERM handler. It just died with tasks in hand. Now it stops pulling new jobs, finishes the current one, then exits. 9 lines.
#claudecode #ai #devops #buildinpublic