Repository navigation
Remove production-dead code (#1447 pass A) - #1448
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…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]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Closed
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 bybuildFlatSidebarsrc/threadSnooze.tsSNOOZE_PRESETS,src/paneLayout.tsclearPaneLayouts,src/reviewItinerary.tschunkForPath,src/browsePath.tsbrowseQueryForSubmitelectron/worktrees.jsgitOutForDiff,electron/memory-sup.jsboundCoderMemoryUrl,electron/session-record.jsconfigureSessionRecord, unused bindings in orchServer/runner/automationsTest seams (
setX,resetForTests) are kept on purpose.Diff: 18 files, +10 / −600.
Verification
npm run typecheck,npx vite build: cleanspeech-spike-workflow.test.js, a main regression from Remove teasers, spikes, and research scratch from the repo #1446 since fixed in 9838e30.memory-supandmcp-injectfailed under full-suite load and pass in isolation, the same as on main.🤖 Generated with Claude Code