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

ligurio / molly / 34514072576
92%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2026 06:24PM UTC
Jobs 1
Files 20
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

10 Sep 2026 06:23PM UTC coverage: 91.528% (+0.6%) from 90.922%
34514072576

push

github

ligurio
molly: propagate worker errors from a thread pool to run_test

A thread pool silently swallowed worker failures: pool:start() always
returned true, the coroutine scheduler ignored the result of resume(),
and errors thrown in fibers were never propagated. As a result
run_test() reported success even when open(), setup(), teardown() or
close() failed, or when a worker crashed.

The thread implementations now report a worker outcome:

- thread_fiber.join() returns the fiber result; a fiber error or a
  worker's (false, err) return is converted into an error;
- thread_coroutine's scheduler records the result of every resume()
  and join() returns the recorded outcome.

The thread pool aggregates the first error across threads: join()
returns (ok, err) and start() returns nil, err instead of raising.
runner.run_test() already propagated such failures, so DB setup and
teardown problems and worker crashes now fail the test instead of
being silently ignored.

25 of 29 new or added lines in 3 files covered. (86.21%)

11 existing lines in 4 files now uncovered.

713 of 779 relevant lines covered (91.53%)

135.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
94.74
-0.5% molly/compat/thread_coroutine.lua
1
86.36
-0.12% molly/compat/thread_fiber.lua

Coverage Regressions

Lines Coverage ∆ File
5
80.0
-20.0% molly/checks.lua
3
95.74
8.84% molly/client.lua
2
77.42
-6.96% molly/utils.lua
1
97.83
1.99% molly/threadpool.lua
Jobs
ID Job ID Ran Files Coverage
1 34514072576.1 10 Sep 2026 06:24PM UTC 20
91.53
GitHub Action Run
Source Files on build 34514072576
  • Tree
  • List 20
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dac30281 on github
  • Prev Build on master (#34367215254)
  • Next Build on master (#35526913854)
  • 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