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

redis / ioredis / 21861667519
89%

Build:
DEFAULT BRANCH: main
Ran 10 Feb 2026 10:44AM 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

10 Feb 2026 10:42AM UTC coverage: 89.139% (+0.001%) from 89.138%
21861667519

push

github

web-flow
fix(types): optional properties on RedisOptions allow explicit undefined (#2066)

* optional properties on RedisOptions, SentinelConnectionOptions, ClusterOptions

when exactOptionalPropertyTypes is true in the consuming application's tsconfig, you cannot send in an explicit undefined for these fields, causing the developer to jump through extra hoops needlessly to get i.e. the username and password provided to the options in a type-safe manner. This fix corrects this by explicitly specifying undefined as an allowed type on the username and password properties within RedisOptions, SentinelConnectionOptions, and ClusterOptions.

```ts
new Redis({
  ...
  password: process.env.REDIS_PASSWORD,
})
```

* fix: add missing | undefined to remaining optional properties

---------

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

1303 of 1521 branches covered (85.67%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

10 existing lines in 2 files now uncovered.

2497 of 2742 relevant lines covered (91.06%)

11715.23 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
95.16
0.52% lib/autoPipelining.ts
8
94.31
-0.55% lib/Pipeline.ts
Jobs
ID Job ID Ran Files Coverage
1 node-24.x - 21861667519.1 10 Feb 2026 10:44AM UTC 36
89.14
GitHub Action Run
Source Files on build 21861667519
  • Tree
  • List 36
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 0a1a8982 on github
  • Prev Build on main (#21033319493)
  • Next Build on main (#21950029217)
  • 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