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: replay decodes service results with the recovering build's decoder, which the journal doesn't record #276
Replay decodes a recorded service result through the recovering Runner's WithEventDataDecoder, and the journal doesn't record which decoder the result was recorded under. So what Assign sees on replay depends on the build that recovers, not the build that recorded:
A build with no decoder for done records a settle. Live, Assign saw map[string]any.
A later build registers DecodeAs[User] for done and recovers the instance. On replay, Assign sees a User.
Within one build, live and replay agree. The docs say to register the decoder before results are recorded. But a journal written before #258 and one written after it are both format 3, so a reader can't tell whether a Record's result was decoded live, or what type it had.
Why it matters later, not now
durable is unreleased, so no journal from another build exists yet. Before the first release, durable needs either a journal format bump that marks decoded results, or an explicit statement that changing a decoder after recording changes replay.
Activity
reka18 commentedon Nov 19, 2026
Closed into #253, which tracks the compatibility items to decide before durable's first release. durable is unreleased, so this can't happen yet.