• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

StoneCypher / jssm / 3522d8994df25f90c532dbc5141f9f2af74f65fd
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: docs_26-07-04_fable-v6-to-v16
DEFAULT BRANCH: master
Ran 14 Jul 2026 01:43PM UTC
Jobs 2
Files 94
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jul 2026 01:40PM UTC coverage: 100.0%. Remained the same
3522d8994df25f90c532dbc5141f9f2af74f65fd

Pull #951

github

StoneCypher
fix(core): restore the after-timer to the restored state in deserialize (5.162.20)

deserialize() built the machine with from(), which arms the *initial* state's
`after` timer, then overwrote _state directly -- bypassing the timer lifecycle.
Two wrong results:

  - a ghost timer stayed armed for the initial state's target even when the
    restored state has no `after` (it would later fire go() and yank the machine
    out of the restored state); and
  - the restored state's own `after` was never armed, so it could never time out.

Clears the initial-state timer and arms the restored state's timer after the
state is set (clear before arm, since set_state_timeout throws if one is
pending). A deserialized machine now schedules exactly the timer its restored
state's config calls for -- the same fresh full-duration timer from()/transition
already establish.

Verified: serialize.spec.ts +3 (no ghost timer for a no-after state; the
restored state's after is armed; restoring the initial after-state arms once),
full `npm run build` green.

Closes StoneCypher/fsl#1946
Pull Request #951: fix(core): restore the after-timer to the restored state in deserialize (5.162.20)

2624 of 2624 branches covered (100.0%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 2 files covered. (100.0%)

4228 of 4228 relevant lines covered (100.0%)

16217.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3522d8994df25f90c532dbc5141f9f2af74f65fd.1 14 Jul 2026 01:43PM UTC 94
100.0
GitHub Action Run
2 3522d8994df25f90c532dbc5141f9f2af74f65fd.2 14 Jul 2026 01:44PM UTC 94
100.0
GitHub Action Run
Source Files on build 3522d8994df25f90c532dbc5141f9f2af74f65fd
  • Tree
  • List 94
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #951
  • PR Base - main (#D6D66248...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc