chore: remove confirmed unused files - #6863
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview The largest cut is the retired landing preview subtree (interactive workspace demo, chat pane, React Flow previews, sidebar, tables/files/knowledge/logs mocks,
Reviewed by Cursor Bugbot for commit dc462d6. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThis PR removes 86 files determined to be unreachable and redirects the landing page’s
Confidence Score: 5/5The PR appears safe to merge, with no concrete reachable build, runtime, data, or security regression identified. The only retained code change resolves through an existing barrel that exports the same component, while the removed files have no established remaining consumers or shipped entry-point dependencies.
|
| Filename | Overview |
|---|---|
| apps/sim/app/(landing)/components/features/features.tsx | Redirects BuildCallout through an existing barrel that re-exports the same named component without changing its runtime boundary. |
| apps/sim/app/(landing)/components/landing-preview/landing-preview.tsx | Deletes the root of the retired landing-preview subtree along with its supporting components and hooks. |
| apps/sim/app/(landing)/components/mothership/components/goo-marks/index.ts | Removes the unused goo-mark export boundary together with the complete implementation subtree. |
| apps/sim/app/api/v2/credentials/utils.ts | Removes an isolated credential utility for which no reachable remaining consumer was established. |
| apps/sim/lib/api/contracts/mcp-oauth.ts | Removes an unused MCP OAuth contract module without changing the active OAuth implementation. |
| apps/sim/executor/types/parallel.ts | Removes an unused parallel-executor type file with no identified remaining import path. |
| packages/emcn/src/components/chip-switch/index.ts | Removes an unused component-level barrel without changing the component implementation or public package root. |
Reviews (1): Last reviewed commit: "chore: remove confirmed unused files" | Re-trigger Greptile
Summary
This removes maintenance surface that no longer participates in any shipped Sim entry point. A conservative reachability audit reduces React Doctor's
deslop/unused-filefindings from 119 to 31 while retaining every framework, generator, task, transient, intentionally parked, or otherwise ambiguous path.The retained
BuildCalloutbarrel is now the component's import boundary, which keeps the landing-specific directory convention without leaving another unused file.Conservative scope
Validation
bun run type-check— 24/24 workspaces pass.bun run check:api-validation— passes.bun run check:openapi— 3 test files and 103 tests pass; 7 specs and 141 contracts cross-checked.bun run docs:check— generated integration docs are in sync.bunx react-doctor@latest --verbose—deslop/unused-fileis 31, down from 119; none of the deleted files remains in the report.run_id: 20260819-131347-b863ea52). Its one convention finding was fixed and independently validated.The local production build generated sandbox bundles successfully, but the Next.js optimized compile did not finish within ten minutes and was stopped without diagnostics. CI remains the complete production-build check.
Post-Deploy Monitoring & Validation
No runtime behavior or data path is expected to change. Use the normal deployment/build checks as the primary signal, and watch for missing-module or module-resolution errors during rollout. Revert this commit if a convention-based consumer not represented in the repository graph surfaces.