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

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

Build:
Build:
LAST BUILD BRANCH: feat/throttle
DEFAULT BRANCH: main
Ran 25 Apr 2026 10:42PM 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:41PM UTC coverage: 99.751% (-0.2%) from 100.0%
24942414827

Pull #62

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>
Pull Request #62: feat: add debounce — distributed first-signal-fires debounce primitive

411 of 413 branches covered (99.52%)

Branch coverage included in aggregate %.

45 of 47 new or added lines in 1 file covered. (95.74%)

2 existing lines in 1 file now uncovered.

1194 of 1196 relevant lines covered (99.83%)

49.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
99.75
-0.25% index.js

Coverage Regressions

Lines Coverage ∆ File
2
99.75
-0.25% index.js
Jobs
ID Job ID Ran Files Coverage
1 24942414827.1 25 Apr 2026 10:42PM UTC 1
99.75
GitHub Action Run
Source Files on build 24942414827
  • 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 #24942414827
  • Pull Request #62
  • PR Base - main (#23544633964)
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