Skip to content

durable: export a sentinel for the non-fatal forward-decode error Tick and Fire return #265

Closed as not planned

Description

@reka18

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).

Relates to: #214, #235

Activity

  1. reka18 commented on Nov 19, 2026

    @reka18
    ContributorAuthor

    Closing for now: this came out of a review, not a failure anyone has hit. Reopen it if it turns up in practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions