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
durable: export a sentinel for the non-fatal forward-decode error Tick and Fire return #265
When the event codec can't rebuild a timer's event to forward, Tick still records the tick and dispatches its effects, then returns the results with the codec's error. The Handle carries on. A caller can't tell that non-fatal error from a failure with errors.Is: there's no sentinel for it. Fire's forward path has the same shape.
Proposal: export a sentinel (for example ErrForwardDecode) wrapping the codec's error, returned by both paths, and say in the godoc that the step was recorded.
Raised in the #235 review (durable/runner.go, Tick's godoc and tickStep).
Activity
reka18 commentedon Nov 19, 2026
Closing for now: this came out of a review, not a failure anyone has hit. Reopen it if it turns up in practice.