Skip to content

durable: report an effect whose payload won't marshal to an observer #266

Closed as not planned

Description

@reka18

When a KindedEffect's payload won't marshal, or its MarshalJSON panics, recordEffects records the effect by id and kind with the error under Meta["crucible.marshalError"], and the step goes on. Nothing reports it to the host as it happens: the error only shows up to someone reading the journal.

Proposal: report it through an observer seam. durable has none today. state.Inspector is the nearest, but Recover takes no inspector, and reporting through it needs a new InspectionEvent kind in state. This likely belongs with the telemetry seam in #224.

Raised in the #235 review (durable/effect.go, recordEffects).

Relates to: #224, #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