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

d-led / gen_server_virtual_time / 9aed5d565fe90d8cfcdc27486304be2765acaae4
88%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2026 08:46PM UTC
Jobs 1
Files 19
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

11 Sep 2026 08:45PM UTC coverage: 86.305% (-0.3%) from 86.585%
9aed5d565fe90d8cfcdc27486304be2765acaae4

push

github

d-led
fix: use token acks for gen_statem actors

VirtualTimeGenServer actors were moved to token-tagged deliveries so that an
unrelated message cannot satisfy the wait for a delivered event, but
VirtualTimeGenStateMachine actors still acknowledged every message they
handled with their pid, leaving the same race in place: an acknowledgement
for something else could let the clock advance past an event the actor had
not processed yet.

Both wrappers now use the token protocol. While making that change, the nine
near-identical entry points in VirtualTimeGenStateMachine.Wrapper - one per
state function, each carrying its own copy of the delayed-ack clause and ack
call - collapsed into a shared deliver_event/3 plus deliver_state_event/4.
That is 131 lines of duplication gone, and the acknowledgement rule now lives
in one place rather than nine.

Also in this change:

* Bumped every GitHub Action to its current major (checkout v7, cache v6,
  upload-artifact v7, download-artifact v8, setup-java v6, setup-go v7,
  upload-pages-artifact v5, deploy-pages v5, configure-pages v6,
  action-junit-report v6, action-gh-release v3, setup-rust-toolchain v2).
  Two workflows were still on checkout v3 and cache v3. The action inputs in
  use are unchanged across these majors, and this clears the Node 20
  deprecation notices CI was reporting.
* Added .fossa.yml excluding generated/ and examples/ from the FOSSA scan.
  Those directories are build output - not part of what mix.exs publishes -
  and their transitive dependencies (the VLINGO XOOM examples declare
  io.vlingo.xoom:xoom-actors, MPL-2.0) were being flagged for review on every
  revision.

Verified locally: formatting, compile --warnings-as-errors, the main, slow
and diagram suites, Credo (no new issues), Dialyzer (0 errors). No failures
in 10 consecutive full runs.

23 of 26 new or added lines in 2 files covered. (88.46%)

4 existing lines in 1 file now uncovered.

2067 of 2395 relevant lines covered (86.3%)

4735.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
68.0
-8.0% lib/virtual_time_gen_state_machine.ex

Coverage Regressions

Lines Coverage ∆ File
4
76.84
-2.26% lib/virtual_clock.ex
Jobs
ID Job ID Ran Files Coverage
1 9aed5d565fe90d8cfcdc27486304be2765acaae4.1 11 Sep 2026 08:46PM UTC 19
86.3
GitHub Action Run
Source Files on build 9aed5d565fe90d8cfcdc27486304be2765acaae4
  • Tree
  • List 19
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9aed5d56 on github
  • Prev Build on main (#3227E9D1...)
  • Next Build on main (#C08AC29E...)
  • Delete
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