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

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

Build:
Build:
LAST BUILD BRANCH: feat/throttle
DEFAULT BRANCH: main
Ran 25 Apr 2026 10:41PM 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

25 Apr 2026 10:40PM UTC coverage: 99.45% (-0.6%) from 100.0%
24942391608

push

github

freshlogic
feat: add debounce — distributed first-signal-fires debounce primitive

Coordinates "first signal in a quiet window does the work; subsequent
signals are absorbed" across processes via Redis. Uses a single
SETNX with PX TTL for atomicity. Cleans up state on callback throw so
the next caller can retry immediately.

The callback receives a refreshDate (Date) so callers can set scheduling
fields like Azure Service Bus's scheduledEnqueueTimeUtc directly without
recomputing the fire time.

Reference: imitates BullMQ's job-deduplication mechanic (SET NX PX) but
with a callback API rather than queue-coupled events. See
https://docs.bullmq.io/guide/jobs/deduplication

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

418 of 421 branches covered (99.29%)

Branch coverage included in aggregate %.

60 of 66 new or added lines in 1 file covered. (90.91%)

1209 of 1215 relevant lines covered (99.51%)

48.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
99.45
-0.55% index.js
Jobs
ID Job ID Ran Files Coverage
1 24942391608.1 25 Apr 2026 10:41PM UTC 1
99.45
GitHub Action Run
Source Files on build 24942391608
  • 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 #24942391608
  • 7065ec70 on github
  • Prev Build on main (#23544633964)
  • Next Build on feat/debounce (#24942414827)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc