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

cjrh / deadpool / 46918485978
89%

Build:
DEFAULT BRANCH: main
Ran 02 Dec 2026 03:48PM UTC
Jobs 1
Files 13
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

02 Dec 2026 03:45PM UTC coverage: 89.179%. Remained the same
46918485978

push

github

web-flow
Model worker checkout and shutdown in TLA+ (#461)

PR #460 fixed two failures that depend on the ordering of worker
checkout and shutdown. This adds a TLA+ model so reviewers can replay
both failures and check the same guarantees when the handoff changes.

The model starts after the runner dequeues a task while another worker
is returning. It covers two worker slots and one dequeued dispatcher. It
checks the reuse grace period and whether checkout makes progress when
the return stalls. For hard shutdown it checks which worker the
cancellation pass targets and what happens to the future, including when
dispatch is paused before its first write. The model allows a targeted
worker to accept a write before it exits.

The **Developer Workflow** section of the main README links the tested
TLC release and gives commands for all three configurations. The model
guide maps the actions to Python and explains the scheduling
assumptions.

| Configuration | Observed result with TLC 2.19 |
| --- | --- |
| `Fixed.cfg` | All safety and progress checks passed across 870
distinct states. |
| `OldReturn.cfg` | A checkout can wait forever while a worker slot
stays free. |
| `OldShutdown.cfg` | The second task is absent from the snapshot and
can send its job after the cancellation pass misses its worker. |

In temporary model copies, TLC detected each deliberate regression:
skipping cancellation of the captured pending future, growing before the
reuse grace expires, and using the unpublished public PID to target the
worker. All 11 focused Python regression tests passed.

871 of 1061 branches covered (82.09%)

Branch coverage included in aggregate %.

2953 of 3227 relevant lines covered (91.51%)

5.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46918485978.1 02 Dec 2026 03:50PM UTC 13
89.18
GitHub Action Run
Source Files on build 46918485978
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c2f95ca4 on github
  • Prev Build on main (#46886186653)
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