Skip to content

chore(deps): bump knip to 6.44.1 - #9896

Merged
waleedlatif1 merged 1 commit into
stagingfrom
chore/deps-knip
Nov 11, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
chore/deps-knip

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Bump knip 6.41.0 → 6.44.1 (root devDependency). Lockfile moves only knip's own transitives (oxc-parser 0.153 → 0.155, unbash 5 → 6).
  • 6.44.1 tracks member use inside import().then() callbacks (6.44.1), follows Tailwind @reference (6.43.0), and parses bun's command after boolean flags (6.44.1). check:unused-exports (the only knip consumer) surfaced 10 new findings, all resolved at the source:
    • 6 true unused exports: NOTE_EDITOR_PROSE_CLASS_NAME, createOTelSpanFromTraceSpan, trackPlatformEvent, parseGcsCredentials, getS3Client, and the SetRequestAuthOptions re-export from @sim/logger. Each one is used only in its own file; 6.41.0 counted them as used because some other caller does import('<module>').then(...), which marked every export of that module as used. Dropped the export keyword (and the logger re-export), plus the matching keys in the storage-service.test.ts S3 mock and the shared telemetryMock (no test read them). Also fixed a stale comment that pointed at a parity test removed in chore(tests): remove low-signal tests and consolidate the testing setup #8295.
    • True unlisted dependency: @sim/auth-ui's styles.module.css uses @reference 'tailwindcss' and @apply, but the package didn't list tailwindcss. Its consumers compile it (apps/sim, and desktop through apps/sim's PostCSS config), so it's now declared as a peerDependency (^4), next to react.
    • 3 knip false positives: packages/db integration tests spawn bun --no-env-file scripts/… with an explicit cwd (the package root, or apps/sim for backfill-projects.ts), and knip resolves those paths from the test file's own directory. I added these 3 specifiers to the ignoreUnresolved list for that workspace in knip.jsonc, with a comment giving the reason.
  • No baseline entries disappeared, so scripts/check-unused-exports.baseline.json is unchanged.

Type of Change

  • Other: dependency upgrade (dev tooling)

Testing

  • bun run check:unused-exports on 6.41.0 (baseline): passes, 5975 baselined. On 6.44.1 before the fixes: 4 strict + 6 new export findings (listed above). After the fixes: passes, 5975 baselined, no stale entries.
  • bun install --frozen-lockfile clean.
  • Type-check of @sim/logger, @sim/testing, and @sim/auth-ui: clean.
  • Vitest: lib/uploads/core/storage-service.test.ts + lib/uploads/providers (74 passed), and two telemetry-mock consumers (knowledge/migrated-routes, v2 knowledge documents route; 17 passed).
  • check:test-patterns passes. Biome is clean on the changed files.

Checklist

  • Code follows project style
  • No new ignores or baseline growth; config change is narrow and has a comment giving the reason
  • Lockfile changed only for knip and its transitives (+ the auth-ui peer entry)

🤖 Generated with Claude Code

knip 6.44.1 tracks member use inside import().then() callbacks and follows
Tailwind @reference and bun spawn arguments, so check:unused-exports now sees:

- six exports only used in their own file (previously kept alive by an
  import('...').then(...) of their module): drop the export keyword and the
  matching keys in the storage-service test mock and the shared telemetry mock
- @sim/auth-ui's stylesheet uses @reference/@apply from tailwindcss without
  listing it: declare it as a peer dependency (consumers compile it)
- packages/db integration tests spawn bun scripts with an explicit cwd that
  knip cannot see: ignore those three specifiers with a reason
@waleedlatif1
waleedlatif1 requested a review from a team as a code owner November 11, 2026 21:17
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs Ready Ready Preview Nov 11, 2026 9:22pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge; no actionable issues were found.

Summary

Updates knip from 6.41.0 to 6.44.1 and resolves the newly reported findings.

  • The unused-export check runs with Knip 6.44.1.
  • Unused helpers and types are no longer exported from their modules.
  • The auth UI package declares Tailwind CSS as a peer dependency.

Reviews (1) · Last reviewed commit: "chore(deps): bump knip to 6.44.1" · Reviewed by Greptile

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 11 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

This branch was successfully deployed

1 active deployment
Preview — d552f4fa Deployed Nov 11, 2026 by vercel[bot]
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.

1 participant