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

stores-com / petty-cache / 30875846718
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: v5.0.0
DEFAULT BRANCH: main
Ran 04 Aug 2026 03:50AM UTC
Jobs 1
Files 1
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

04 Aug 2026 03:49AM UTC coverage: 99.656% (-0.3%) from 100.0%
30875846718

Pull #70

github

freshlogic
Add promise support to the semaphore functions

Convert all six semaphore methods to the executor pattern with linear
async internals: mutex lock acquired up front, try/finally guarantees
the unlock (errors ignored, matching the previous behavior), pool reads
and writes go through promisified client calls, and acquireLock's
async.retry is now a plain retry loop. retrieveOrCreate's options.size
function supports both callback and async signatures via executeFunc.
The semaphore bind loop was a no-op on arrow functions and is removed.

Also update the mutex.lock test stubs to honor the method's dual
callback/promise contract, and fix a flaky bulkFetch test: it used
fixed keys, so values left in Redis by a previous run could expire
mid-test between the first fetch and the post-memory-expiry fetch,
triggering the should-not-be-called cache-miss function.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #70: Add promise support to fetch

330 of 332 branches covered (99.4%)

Branch coverage included in aggregate %.

410 of 412 new or added lines in 1 file covered. (99.51%)

1 existing line in 1 file now uncovered.

1118 of 1121 relevant lines covered (99.73%)

55.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
99.66
-0.34% index.js

Coverage Regressions

Lines Coverage ∆ File
1
99.66
-0.34% index.js
Jobs
ID Job ID Ran Files Coverage
1 30875846718.1 04 Aug 2026 03:50AM UTC 1
99.66
GitHub Action Run
Source Files on build 30875846718
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30875846718
  • Pull Request #70
  • PR Base - main (#30162827277)
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