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

typeorm / typeorm / 16679002736
81%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2025 03:33PM UTC
Jobs 24
Files 329
Run time 3min
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

01 Aug 2025 03:30PM UTC coverage: 76.353% (-0.09%) from 76.44%
16679002736

push

github

web-flow
feat(11528): add Redis 5.x support with backward compatibility wite peer dependency to allow (#11585)

* feat: add Redis 5 support to cache implementation

- Add version detection for Redis client to handle API differences
- Support Redis 5 Promise-based API while maintaining backward compatibility
- Update methods to use appropriate API based on Redis version
- Add tests for Redis 5 compatibility

Redis 5 introduced Promise-based API as default, replacing the callback-based
API. This change detects the Redis version and uses the appropriate API calls
to ensure compatibility with Redis 3, 4, and 5.

Closes #11528

* feat: add Redis 5 support to cache implementation

Implement automatic version detection for Redis client libraries to support
Redis 3, 4, and 5 seamlessly. The implementation uses runtime API testing
to determine the appropriate Redis client behavior without breaking existing
functionality.

Changes include:
  - Dynamic Redis version detection based on client API characteristics
  - Promise-based API support for Redis 5.x
  - Backward compatibility with Redis 3.x and 4.x callback-based APIs
  - Safe fallback mechanism defaulting to Redis 3 behavior
  - Updated peer dependency to include Redis 5.x versions

The cache implementation now automatically adapts to the installed Redis version, ensuring optimal performance and compatibility across all supported Redis client versions while maintaining full backward compatibility.

* fix: delete wrong migration guide

* feat: add package-lock.json

* refactor: optimize Redis client creation to reduce memory usage
Eliminate unnecessary Redis client recreation by using explicit tempClient
variable management, reducing potential client instances while maintaining
full Redis 3/4/5 compatibility and accurate version detection.

* refactor: improve Redis version detection to avoid cache pollution
Replace test key creation method with client method signature analysis
to prevent potential cache pollution a... (continued)

9322 of 12898 branches covered (72.27%)

Branch coverage included in aggregate %.

0 of 46 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

19015 of 24215 relevant lines covered (78.53%)

119338.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
46
1.94
-0.72% src/cache/RedisQueryResultCache.ts

Uncovered Existing Lines

Lines Coverage ∆ File
2
1.94
-0.72% src/cache/RedisQueryResultCache.ts
Jobs
ID Job ID Ran Files Coverage
1 mssql-node:20 - 16679002736.1 01 Aug 2025 03:39PM UTC 329
42.7
GitHub Action Run
2 sqljs-node:20 - 16679002736.2 01 Aug 2025 03:36PM UTC 329
38.53
GitHub Action Run
3 sqljs-node:20-windows - 16679002736.3 01 Aug 2025 03:34PM UTC 329
38.54
GitHub Action Run
4 crdb-node:20 - 16679002736.4 01 Aug 2025 03:54PM UTC 329
41.18
GitHub Action Run
5 mysql+mariadb-node:20 - 16679002736.5 01 Aug 2025 03:34PM UTC 329
42.05
GitHub Action Run
6 sqlite-node:20-windows - 16679002736.6 01 Aug 2025 03:35PM UTC 329
39.56
GitHub Action Run
7 mysql+mariadb-node:18 - 16679002736.7 01 Aug 2025 03:35PM UTC 329
42.05
GitHub Action Run
8 postgres:14-3.5-node:18 - 16679002736.8 01 Aug 2025 03:35PM UTC 329
44.93
GitHub Action Run
9 mssql-node:18 - 16679002736.9 01 Aug 2025 03:36PM UTC 329
42.71
GitHub Action Run
10 oracle-node:20 - 16679002736.10 01 Aug 2025 03:41PM UTC 329
40.44
GitHub Action Run
11 sqljs-node:18 - 16679002736.11 01 Aug 2025 03:33PM UTC 329
38.53
GitHub Action Run
12 postgres:17-3.5-node:18 - 16679002736.12 01 Aug 2025 03:34PM UTC 329
44.93
GitHub Action Run
13 oracle-node:18 - 16679002736.13 01 Aug 2025 03:41PM UTC 329
40.44
GitHub Action Run
14 sqlite-node:20 - 16679002736.14 01 Aug 2025 03:35PM UTC 329
39.55
GitHub Action Run
15 sqlite-node:18 - 16679002736.15 01 Aug 2025 03:33PM UTC 329
39.55
GitHub Action Run
16 mongodb-node:20 - 16679002736.16 01 Aug 2025 03:35PM UTC 329
17.07
GitHub Action Run
17 better-sqlite3-node:18 - 16679002736.17 01 Aug 2025 03:33PM UTC 329
39.14
GitHub Action Run
18 sap-node:20 - 16679002736.18 01 Aug 2025 03:43PM UTC 329
39.96
GitHub Action Run
19 postgres:14-3.5-node:20 - 16679002736.19 01 Aug 2025 03:34PM UTC 329
44.93
GitHub Action Run
20 mongodb-node:18 - 16679002736.20 01 Aug 2025 03:33PM UTC 329
17.07
GitHub Action Run
21 sap-node:18 - 16679002736.21 01 Aug 2025 03:41PM UTC 329
39.95
GitHub Action Run
22 better-sqlite3-node:20-windows - 16679002736.22 01 Aug 2025 03:35PM UTC 329
39.14
GitHub Action Run
23 better-sqlite3-node:20 - 16679002736.23 01 Aug 2025 03:33PM UTC 329
39.14
GitHub Action Run
24 postgres:17-3.5-node:20 - 16679002736.24 01 Aug 2025 03:35PM UTC 329
44.93
GitHub Action Run
Source Files on build 16679002736
  • Tree
  • List 329
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16679002736
  • 17cf837b on github
  • Prev Build on master (#16564115758)
  • Next Build on master (#16743595000)
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

© 2025 Coveralls, Inc