Repository navigation
v0.22.1
Upgrade from 0.22.0 is recommended for anyone whose tools have side effects and a short Timeout. No API or format change.
Fixed
- core: a call whose
Timeoutpasses (or whose run is canceled) while it is still in the chain before its handler — a slowBeforeDispatchgate, such asweft/thread's durable dispatch record on loaded storage — never starts its handler afterwards. The loop answered such a calltool "X" timed out after d(or canceled), as not started, but the chain's goroutine carried on and ran the handler once the gate let it through: an effect the model had been told did not happen, beside no recovery request in a thread session (the handler was not started when the loop looked, so the call was not of unknown outcome). Whether the handler started is now decided once, under one lock, against the loop giving up: started first, the call is of unknown outcome as before; given up on first, the handler never runs.AfterDispatchis still called for a call the gate passed.