Skip to content

Remove production-dead code (#1447 pass A) - #1448

Merged
currentbits merged 3 commits into
mainfrom
coder/refactor-a-remove-dead-code-ca2d11
Oct 4, 2026
Merged

currentbits merged 3 commits into
mainfrom
coder/refactor-a-remove-dead-code-ca2d11

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Pass A of #1447. Deletes code no production path uses, found with knip (tests excluded as entry points) and checked by grep. Tests that only covered the deleted code go with it.

Removed

  • src/crewIntegration.ts: six label/ordering helpers (integrationPathLabel, integrateIntoLabel, mergeIntoLabel, crewIntegrationStateLabel, moveWorkerOrder, canIntegrateRow)
  • src/uiPrefs.ts: dead accessors (run duration, verbose tool cards, composer vim getter)
  • src/sidebarGroups.ts: partitionSidebar / splitSettled / LaterPartition, superseded by buildFlatSidebar
  • src/threadSnooze.ts SNOOZE_PRESETS, src/paneLayout.ts clearPaneLayouts, src/reviewItinerary.ts chunkForPath, src/browsePath.ts browseQueryForSubmit
  • electron/worktrees.js gitOutForDiff, electron/memory-sup.js boundCoderMemoryUrl, electron/session-record.js configureSessionRecord, unused bindings in orchServer/runner/automations

Test seams (setX, resetForTests) are kept on purpose.

Diff: 18 files, +10 / −600.

Verification

  • npm run typecheck, npx vite build: clean
  • Renderer: 2701/2701 (main has 2713; the difference is the deleted tests for deleted code)
  • Electron (CI-like env): 4103/4106. The only real failure was speech-spike-workflow.test.js, a main regression from Remove teasers, spikes, and research scratch from the repo #1446 since fixed in 9838e30. memory-sup and mcp-inject failed under full-suite load and pass in isolation, the same as on main.

🤖 Generated with Claude Code

Willem and others added 3 commits October 4, 2026 19:13
…ary/browse helpers (#1447)

partitionSidebar/flattenLater/splitSettled were only kept alive by tests;
the app renders buildFlatSidebar, whose precedence test covers the same order.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…onfigureSessionRecord and stray bindings (#1447)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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