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
fix(selfhost): gate the queue consumer on env readiness at boot (#5050)
Both queue backends self-heal a foreground job left over-deferred
across a restart by releasing it and kicking the pump once at boot,
inside queue construction/init() itself. That can invoke consume()
before `env` is assigned further down in main(), dereferencing
undefined and surfacing as a misleading generic job_error right after
a container restart. consume() now awaits an envReady promise resolved
once env is fully assigned.
Closes#5049
0 commit comments