Skip to content

chore(deps): drop unused ioredis from desktop-ui - #335

Merged
NishanthNixx merged 1 commit into
mainfrom
chore/drop-unused-ioredis
Aug 31, 2026
Merged

chore(deps): drop unused ioredis from desktop-ui#335
NishanthNixx merged 1 commit into
mainfrom
chore/drop-unused-ioredis

Conversation

@NishanthNixx

Copy link
Copy Markdown
Collaborator

Supersedes #331 (ioredis 5 → 6).

ioredis is declared in apps/desktop-ui/package.json but never imported anywhere in the tree — the only occurrence of the string in any source file is the dependency line itself.

Redis Commander does not use it. Redis access goes through the Rust redis crate (Cargo.toml:45), routed via /api/redis-commander/* in src/dbtools/redis_tool.rs. A Node Redis client could not work in this product anyway: the desktop app is fully offline with no server, and all data goes through Tauri local_api.

So rather than take a breaking major on a dependency nothing imports, this removes it.

What changes

Removes ioredis and its exclusive transitive deps from the lockfile — cluster-key-slot, denque, redis-errors, redis-parser, standard-as-callback. Nothing is added (55 lockfile lines deleted, 0 inserted).

Verification

Check Result
tsc --noEmit desktop-ui pass
tsc --noEmit web pass
jest --ci desktop-ui 139/139 suites, 1312 passed, 2 skipped
next build desktop-ui pass

The next build matters here: ci.yml only typechecks and tests desktop-ui, it never builds it — a desktop-ui build otherwise happens for the first time during a real release. I ran it locally to close that gap.

🤖 Generated with Claude Code

`ioredis` is declared in apps/desktop-ui but never imported anywhere in
the tree. Redis Commander does not use it: Redis access goes through the
Rust `redis` crate (apps/desktop/src-tauri/Cargo.toml), routed via
/api/redis-commander/* in src/dbtools/redis_tool.rs. A Node Redis client
also could not work in this product — the desktop app is fully offline
with no server, and all data goes through Tauri local_api.

Removing it drops ioredis and its exclusive transitive deps
(cluster-key-slot, denque, redis-errors, redis-parser,
standard-as-callback) from the lockfile. Nothing is added.

This also supersedes the ioredis 5 -> 6 major bump in #331: no reason to
take a breaking upgrade on a dependency nothing imports.

Verified: tsc --noEmit clean in both apps, jest 139/139 suites and
1312 tests passing, and a full `next build` of desktop-ui succeeds
(the last is not covered by CI, which never builds desktop-ui).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mydevtools-tech Ready Ready Preview Aug 31, 2026 4:09pm

@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

1 finding(s)

MEDIUM: 1

Severity Rule Location
MEDIUM js-unsafe-yaml-load apps/desktop-ui/src/lib/import/insomnia.ts:290

Snippets are redacted; ThreatCrush never prints matched credential material.

@NishanthNixx
NishanthNixx merged commit fbf20f6 into main Aug 31, 2026
5 checks passed
@itsmeakhil
itsmeakhil deleted the chore/drop-unused-ioredis branch September 4, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants