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
Commit 7f28e95
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mothership): extend the workflow pickup grace for a view that re-attaches during it (#10152)
* fix(mothership): extend the workflow pickup grace for a view that re-attaches during it
A reload drops the send's response, so a call dispatched right then got the 5s
grace even though the view re-attaches about two seconds later. Presence is now
read again when the short grace ends, and a view attached by then gets the rest
of the full grace. A reader's refresh also drops lapsed entries, and the send's
in-process attachment signal is covered by a test.
* fix(mothership): never hold a finished workflow call on the grace extension check
The presence re-check at the end of the short grace now races the browser's
result, so a run that finishes or a Stop during a slow read returns at once, and
the time the check took comes out of the extension.
0 commit comments