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: an older journal's misplaced settle clock read can arm a replayed timer at the wrong instant #262
A journal an older version wrote (format 1 or earlier) can put a service settle's clock read in the next Record instead of the settle's own, because that version's RunService didn't drain the clock into its Record. Replay takes readings in order, so when such a read is missing (the process restarted after the settle) or sits in front of a later step's own reads, a replayed timer can be armed at the wrong instant. The recovered instance can then fire a timer early, or end in a different state from the live run.
This version (journal format 2) records a settle's read in its own Record, so only older journals are affected. It happens on main too.
Tests that pin it, skipped in #236 with this issue's number:
An earlier version of #236 aligned each Record from its end, on the rule that a step's own reads come last. Since #234, an actor-driven parent Fire can arm timers and add reads after the step's own, so that rule no longer holds in every Record. A fix needs either a rule that survives actor-driven arms or a format gate that limits the repair to Records that can't hold them.
Activity
fix(durable): keep timers across recovery and skip idle ticks
fix(durable): keep timers across recovery and skip idle ticks
fix(durable): keep timers across recovery and skip idle ticks
fix(durable): keep timers across recovery and skip idle ticks (#236)
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.