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

lunarmodules / copas / 30393617921
86%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2026 07:52PM UTC
Jobs 6
Files 7
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

28 Jul 2026 07:49PM UTC coverage: 85.764% (+0.7%) from 85.087%
30393617921

push

github

Tieske
fix(timer): rearming a timer from its own callback must not leak the old coroutine

cancel() and arm() mutated the same shared self.cancelled flag and
self.co reference. A recurring timer that called cancel() and then
arm() synchronously from within its own callback would have arm()
reset self.cancelled to false before the still-running old-generation
coroutine got a chance to check it. That coroutine then looped back
into copas.pause(self.delay) instead of exiting, leaking a coroutine
into the sleeping heap on every such cancel+arm cycle.

Fixes #213

5 of 5 new or added lines in 1 file covered. (100.0%)

16 existing lines in 4 files now uncovered.

1488 of 1735 relevant lines covered (85.76%)

54175.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
80.39
0.7% src/copas.lua
4
92.19
-2.73% src/copas/timer.lua
2
87.02
-0.76% src/copas/http.lua
1
88.99
-0.82% src/copas/queue.lua
Jobs
ID Job ID Ran Files Coverage
1 30393617921.1 28 Jul 2026 07:52PM UTC 7
84.96
GitHub Action Run
2 30393617921.2 28 Jul 2026 07:52PM UTC 7
85.29
GitHub Action Run
3 30393617921.3 28 Jul 2026 07:52PM UTC 7
84.83
GitHub Action Run
4 30393617921.4 28 Jul 2026 07:52PM UTC 7
85.28
GitHub Action Run
5 30393617921.5 28 Jul 2026 07:52PM UTC 7
85.29
GitHub Action Run
6 30393617921.6 28 Jul 2026 07:52PM UTC 7
85.29
GitHub Action Run
Source Files on build 30393617921
  • Tree
  • List 7
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d4602155 on github
  • Prev Build on master (#30333408373)
  • Next Build on master (#30401607642)
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