fix: unblock ioredis/bullmq bumps by deduping stale lockfile
Summary
Merges dependabot #2028 (ioredis 5.11.1 -> 6.0.0) and #2026 (bullmq 5.81.3 -> 6.0.9), which were both held on the same TS2322 break in packages/bot/src/utils/batch/batchQueue.ts:30. The break was a stale package-lock.json, not a code incompatibility: each dependabot PR's lockfile diff was generated independently, and merging both left two conflicting ioredis copies in the tree (root 5.11.1 vs packages/shared/node_modules 6.0.0), so TypeScript rejected passing one Redis client type into bullmq's ConnectionOptions.
Fix: rm -rf node_modules package-lock.json && npm install to force a full re-resolve, dedupes to a single ioredis@6.0.0. No source changes.
Full root-cause writeup and repro steps: closes #2032.
Test plan
-
packages/bot:tsc --noEmitclean -
packages/backend:tsc --noEmitclean - bot suite: 240/241 passed (1 pre-existing skip, unrelated), 3133 tests
- backend suite: 85/85 suites, 1352 tests
- shared suite: 73/73 suites, 1407 tests
Summary by cubic
Dedupes the lockfile and upgrades to ioredis@6 and bullmq@6 so TypeScript no longer sees mixed ioredis versions. Previously we resolved both ioredis@5 and @6 (TS2322); now we resolve a single ioredis@6.0.0 and declare it explicitly where used.
- Bumps
bullmqto^6in root,packages/bot, andpackages/shared; bumpsioredisto^6inpackages/sharedand addsioredis^6as a direct dependency inpackages/bot; regeneratespackage-lock.jsonto dedupe to oneioredis@6.0.0. No TypeScript code changes. - Required: clean install to clear stale duplicates (remove
node_modulesandpackage-lock.json, then runnpm installornpm ci).
Summary by CodeRabbit
- Chores
- Updated BullMQ to version 6 across the application.
- Updated the Redis client library to version 6 in shared components.
- Improved compatibility with the latest queue and Redis infrastructure.