Skip to content

Remove unused non-mobile server routes - #6610

Merged
hurttlocker merged 3 commits into
mainfrom
cleanup/unused-server-routes
Nov 21, 2026
Merged

hurttlocker merged 3 commits into
mainfrom
cleanup/unused-server-routes

Conversation

@hurttlocker

@hurttlocker hurttlocker commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

What changed

  • Remove 25 routes with no shipping caller, including obsolete panel utilities, direct send endpoints, and review aliases. Remove their private helpers and route-only coverage.
  • Keep the numbered PR route, file reads and diffs, shared agent messaging, and cloud worker polling and streaming. Desktop, CLI, and worker processes still call them.
  • Keep routes assigned to the native daemon and refresh the TypeScript route inventory and test classification.

Verification

Rebased on main after the mobile route cleanup merged. Fast typecheck, lint, the route guard, and test classification passed on the rebased commit. The GitHub merge queue integration check passed. The full iMac run hit inherited Git settings in two suites and one timing limit in a third. All affected assertions passed on focused reruns.

@hurttlocker hurttlocker added the tests-removed-ok Human-reviewed: test deletions/assertion loss are intentional label Nov 21, 2026
@github-actions github-actions Bot added the size/XL Pull request with XL diff size label Nov 21, 2026
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

🔍 PR Review Bot

Metric Value
Files changed 81
Additions +137
Deletions -5312
New files 1

⚠️ Large files (>300 lines changed)

  • src/app/api/codex/send/route.ts — +0/-316
  • src/app/api/worktrees/merge/handler.ts — +0/-568
  • src/app/api/worktrees/merge/route-real-path.test.ts — +0/-457
  • src/lib/mcp/test-connection.ts — +0/-418

Note: This PR touches 81 files. Consider splitting into smaller PRs.


Automated review — CI workflow

@hurttlocker
hurttlocker added this pull request to the merge queue Nov 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 21, 2026
@hurttlocker
hurttlocker force-pushed the cleanup/unused-server-routes branch from 55f9258 to 08a0fe5 Compare November 21, 2026 03:58
@hurttlocker hurttlocker added tests-removed-ok Human-reviewed: test deletions/assertion loss are intentional and removed tests-removed-ok Human-reviewed: test deletions/assertion loss are intentional labels Nov 21, 2026
@hurttlocker
hurttlocker added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 02dad41 Nov 21, 2026
32 of 35 checks passed
@hurttlocker
hurttlocker deleted the cleanup/unused-server-routes branch November 21, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Pull request with XL diff size tests-removed-ok Human-reviewed: test deletions/assertion loss are intentional

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant