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
{{ message }}
Repository navigation
fix(listen): recover inline/BYOK finalization when the pusher WebSocket closes #9995
Inline and BYOK finalization sends durable job identity over the live listener → pusher WebSocket (opcode 104). If that origin session closes just after the handoff, pusher cleanup cancels the connection-scoped finalizer task. CancelledError bypasses its retry/dead-letter handling, leaving the claimed job leased until a later session or lease expiry.
Production platform-key traffic is configured for Cloud Tasks, which avoids this path; BYOK continues to use pusher by design, and inline remains the compatibility default.
Reproduction
The hermetic listen/pusher stack can reproduce a clean close immediately after opcode 104: the job is claimed but never completes or requeues within the source session.
Desired durable guard
Choose and implement a source-session-close-safe contract for inline/BYOK finalization (for example, release/requeue the lease or hand off to detached durable ownership). Add a real close-after-104 regression scenario that proves convergence without requiring a later live session.
Activity
test(listen): cover durable finalization recovery through Cloud Tasks (…
fix(listen): keep claimed inline/BYOK finalization alive across origi…
harden: register FC-session-scoped-durable-work failure class
fix(listen): preserve finalization after source close (#10066)