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

lunarmodules / copas / 30211738911
85%

Build:
DEFAULT BRANCH: master
Ran 26 Jul 2026 05:04PM 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

26 Jul 2026 05:02PM UTC coverage: 85.343% (+0.1%) from 85.229%
30211738911

push

github

Tieske
fix(semaphore): take() must reject requests below 1 or NaN

A negative `requested` on the fast path (`count = count - requested`)
turned a take into a give, inflating `count` past `max` with no check
at all (eg. take(-100) on a max=5 semaphore left count at 100). A NaN
request would queue forever, since `count >= NaN` is always false and
can never be satisfied, deadlocking that entry and everyone behind it
in the FIFO queue. Reject both instead.

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

9 existing lines in 5 files now uncovered.

1444 of 1692 relevant lines covered (85.34%)

55080.61 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
79.92
-0.3% src/copas.lua
2
96.72
-0.53% src/copas/semaphore.lua
2
95.0
-3.33% src/copas/timer.lua
1
98.15
-1.85% src/copas/future.lua
1
93.62
-1.06% src/copas/lock.lua
Jobs
ID Job ID Ran Files Coverage
1 30211738911.1 26 Jul 2026 05:04PM UTC 7
84.37
GitHub Action Run
2 30211738911.2 26 Jul 2026 05:04PM UTC 7
84.86
GitHub Action Run
3 30211738911.3 26 Jul 2026 05:04PM UTC 7
84.85
GitHub Action Run
4 30211738911.4 26 Jul 2026 05:04PM UTC 7
84.84
GitHub Action Run
5 30211738911.5 26 Jul 2026 05:04PM UTC 7
84.85
GitHub Action Run
6 30211738911.6 26 Jul 2026 05:05PM UTC 7
84.57
GitHub Action Run
Source Files on build 30211738911
  • Tree
  • List 7
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 42cb0ea8 on github
  • Prev Build on master (#30209458911)
  • Next Build on master (#30213130571)
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