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

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

Build:
Build:
LAST BUILD BRANCH: feat/throttle
DEFAULT BRANCH: main
Repo Added 12 Feb 2026 10:19PM UTC
Files 1
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

LAST BUILD ON BRANCH feat/throttle
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • feat/debounce
  • feat/throttle
  • main
  • v3.7.0

26 Apr 2026 01:57AM UTC coverage: 99.812% (-0.2%) from 100.0%
24945751484

Pull #63

github

freshlogic
feat: add throttle — distributed throttle primitive

Coalesces calls for the same key across multiple processes via Redis so
that fn runs at most once per ttl window. The first caller in a window
wins the claim and fn runs to completion; subsequent calls are no-ops.
Errors thrown by fn propagate to the caller — useful for callers that
need to know whether the work succeeded so they can NACK upstream
messages, etc.

Implementation is a single SETNX with PX TTL: claim succeeds, fn runs;
claim fails, return immediately.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #63: feat: add throttle — distributed throttle primitive

409 of 410 branches covered (99.76%)

Branch coverage included in aggregate %.

37 of 39 new or added lines in 1 file covered. (94.87%)

1186 of 1188 relevant lines covered (99.83%)

49.52 hits per line

Relevant lines Covered
Build:
Build:
1188 RELEVANT LINES 1186 COVERED LINES
49.52 HITS PER LINE
Source Files on main
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24945751484 feat/throttle feat: add throttle — distributed throttle primitive Coalesces calls for the same key across multiple processes via Redis so that fn runs at most once per ttl window. The first caller in a window wins the claim and fn runs to completion; subsequen... Pull #63 26 Apr 2026 01:57AM UTC freshlogic github
99.81
24942513116 feat/debounce feat: add debounce — distributed debounce primitive Coalesces calls for the same key across multiple processes via Redis so that the callback runs at most once per `wait` window. Uses a single SETNX with PX TTL for atomicity. Cleans up state on c... Pull #62 25 Apr 2026 10:48PM UTC freshlogic github
99.75
24942495114 feat/debounce feat: add debounce — distributed debounce primitive Coalesces calls for the same key across multiple processes via Redis so that the callback runs at most once per `wait` window. Uses a single SETNX with PX TTL for atomicity. Cleans up state on c... Pull #62 25 Apr 2026 10:47PM UTC freshlogic github
99.75
24942414827 feat/debounce 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 u... Pull #62 25 Apr 2026 10:42PM UTC freshlogic github
99.75
24942391608 feat/debounce 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 u... push 25 Apr 2026 10:41PM UTC freshlogic github
99.45
23544633964 main Merge pull request #59 from stores-com/dependabot/github_actions/docker/login-action-4 Bump docker/login-action from 3 to 4 push 25 Mar 2026 01:54PM UTC web-flow github
100.0
23494344630 main Fix Docker Hub login step (preserve original formatting) push 24 Mar 2026 02:20PM UTC freshlogic github
100.0
23026747775 main Fix flaky memory-cache TTL expiry tests Increase TTL from 100ms to 200ms and wait from 101ms to 500ms to give more headroom on loaded CI machines. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> push 12 Mar 2026 10:23PM UTC freshlogic github
100.0
23026485522 v3.7.0 Add promise support to bulkGet, bulkSet, and bulkFetch - Convert bulkGet, bulkSet, and bulkFetch to executor pattern so they support both callbacks and async/await - Add JSDoc to all public and private functions - Replace `options = options || {}... Pull #58 12 Mar 2026 10:15PM UTC freshlogic github
100.0
22679709717 main Add cache buster to Coveralls badge push 04 Mar 2026 04:53PM UTC freshlogic github
100.0
See All Builds (31)
  • Repo on GitHub
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