You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Graceful shutdown abandoned in-flight jobs. Apps cancel the worker context (their signal context) before calling Shutdown, and processJobSafely stopped waiting for the handler as soon as that context was done: Shutdown returned while the job was still running, and the job was counted as failed (retried or dead-lettered with context canceled). The worker now waits for the handler to return when the worker context is canceled; the handler still sees the cancel, and Shutdown's own deadline bounds the wait. Per-job timeouts still abandon the handler as before. Regression test: TestShutdownWaitsForInFlightJobAfterCtxCancel.