Skip to content

chore: knip cleanup - remove unused exports and dead code#2761

Merged
Myestery merged 4 commits intofix/deploy-and-ephemeral-invoke-cli-argsfrom
knip
Mar 10, 2026
Merged

chore: knip cleanup - remove unused exports and dead code#2761
Myestery merged 4 commits intofix/deploy-and-ephemeral-invoke-cli-argsfrom
knip

Conversation

@Myestery
Copy link
Copy Markdown
Contributor

Summary

  • Ran knip --strict to identify and remove unused exports, dead code, and duplicate exports across the desktop app
  • Removed @tauri-apps/plugin-http dependency from JS (npm), Rust (Cargo.toml), plugin init (lib.rs), capabilities (default.json), and storybook mocks — it was never imported in TS source
  • Added knip.json configuration to handle false positives (Modal.tsx used by stories, setup.ts used by vitest, tailwindcss-animate used in tailwind config)
  • Consolidated duplicate named + default exports to single default exports
  • Removed unused type definitions, interfaces, and utility functions

Test plan

  • npm run typecheck passes
  • npm run format passes
  • npm run lint:fix passes
  • npx knip --strict passes clean

@Myestery Myestery force-pushed the fix/deploy-and-ephemeral-invoke-cli-args branch from 729fe1e to 538478b Compare March 10, 2026 00:20
The log viewer's copy button was copying the empty `logs` prop instead
of falling back to `title` like the display does. Also fixes pre-existing
typecheck errors in test files.
…ency

Ran knip --strict to identify and remove unused exports across UI components,
services, types, and utilities. Removed the unused tauri-plugin-http dependency
from both JS and Rust sides. Added knip.json configuration for false positives.
Rename `host` + `subdomain` fields to single `domain` field and
`definition` to `definitions` in HttpApiDeployment type. Add
migrateDeploymentSchema to auto-migrate legacy YAML files before
deploy, deployment list, and deployment delete operations.
@Myestery Myestery merged commit 906e6c4 into fix/deploy-and-ephemeral-invoke-cli-args Mar 10, 2026
23 of 27 checks passed
@Myestery Myestery deleted the knip branch March 10, 2026 03:42
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant