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

redis / ioredis / 20717772074
89%

Build:
DEFAULT BRANCH: main
Ran 05 Jan 2026 02:04PM UTC
Jobs 1
Files 36
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

05 Jan 2026 02:01PM UTC coverage: 89.02% (-1.8%) from 90.774%
20717772074

push

github

web-flow
feat: add timeout blocking commands (#2052)

* fix: add blockingTimeout option for blocking commands

* docs: update readme with blockingTimeout

* fix: resolve blocking commands with null on timeout instead of hanging

- Blocking commands (BLPOP, BRPOP, BZPOPMIN, XREAD, etc.) now resolve
  with `null` when their timeout expires without a response, matching
  Redis behavior and preventing indefinite hangs during undetectable
  network failures

- Added `blockingTimeout` option as a safety net for commands that
  block forever (timeout=0 / BLOCK 0)

- Automatically extracts and tracks timeout from command arguments,
  adding a 100ms grace period for finite timeouts

- Protects commands in both offline queue and command queue with
  absolute deadline tracking

- Simplified setBlockingTimeout API to resolve with null (no callback,
  no error rejection)

* refactor(command): move blocking timeout extraction to Command class

* fix: blocking timeout reamde and add more unit tests

* test: add more unit and functional tests

* feat: add configurable blockingTimeoutGrace option

---------

Co-authored-by: Pavel Pashov <pavel.pashov@redis.com>

1292 of 1509 branches covered (85.62%)

Branch coverage included in aggregate %.

92 of 96 new or added lines in 3 files covered. (95.83%)

114 existing lines in 5 files now uncovered.

2478 of 2726 relevant lines covered (90.9%)

11608.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.18
0.38% lib/Redis.ts
3
89.47
lib/utils/argumentParsers.ts

Uncovered Existing Lines

Lines Coverage ∆ File
5
94.86
0.0% lib/Pipeline.ts
6
86.54
-6.73% lib/cluster/ConnectionPool.ts
8
79.59
-7.48% lib/cluster/ClusterSubscriber.ts
47
57.75
-17.04% lib/cluster/ClusterSubscriberGroup.ts
48
89.87
-1.57% lib/cluster/index.ts
Jobs
ID Job ID Ran Files Coverage
1 node-24.x - 20717772074.1 05 Jan 2026 02:04PM UTC 36
89.02
GitHub Action Run
Source Files on build 20717772074
  • Tree
  • List 36
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 6ec78bee on github
  • Prev Build on main (#18685435686)
  • Next Build on main (#20818291446)
  • Delete
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