Conversation
e189eda to
d4c61c6
Compare
ed0fc4f to
9fb6874
Compare
|
Codex Review: Didn't find any major issues. Delightful! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
2c55d35 to
2eb54f2
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
2eb54f2 to
8fe6c3f
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
8fe6c3f to
24010ca
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
a2ba655 to
993fc32
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
993fc32 to
dfd0b52
Compare
ConnectionStatus and ConnectionHealth were identically defined in both sshConnectionPool.ts and SSH2ConnectionPool.ts. Since SSH2ConnectionPool already imports SSHConnectionConfig from sshConnectionPool, extend the import to include ConnectionHealth (ConnectionStatus is used transitively through ConnectionHealth, so no direct import needed).
…teRanking After PR #2492 introduced commandPaletteRanking.ts, the higher-level wrappers fuzzySubsequenceMatch, matchesAllTerms, scoreAllTerms (and the private fuzzySubsequenceMatchNormalized) lost all production callers. Remove the dead functions and their corresponding tests. The low-level primitives (normalizeFuzzyText, splitQueryIntoTerms, scoreSingleTermNormalized) remain — they are actively used by commandPaletteRanking.ts.
… interface execFileAsync and its ExecFileAsyncOptions interface were exported from disposableExec.ts but never imported anywhere in the codebase. This also removes the now-unused 'spawn' import from child_process.
The recent truncation refactoring (#2498) removed the truncation reminder JSX but left two near-identical <MessageWindow> return blocks (one for terminal output, one for user content) sharing the same 5 props. Merge into a single return with conditional children.
The string "onboarding-wizard-v1" was duplicated in both index.ts (registry) and SplashScreenProvider.tsx (pause logic). Export a single ONBOARDING_WIZARD_SPLASH_ID constant from index.ts and import it in SplashScreenProvider.tsx.
- Remove `collectToolConfigsFromDefinitionGraph`: exported function never imported anywhere (dead code). - Remove `AgentToolsLike` interface: only used by the removed dead function. - Make `isToolEnabledByConfigs` and `isToolEnabledInResolvedChain` module- private: both are only called within agentTools.ts itself. Net: -51 lines, cleaner public API surface for the module.
The function was exported from tokenMeterUtils.ts but never imported anywhere in the codebase. Removing dead code.
The escapeRegexForHighlight function in HunkViewer.tsx was an exact duplicate of escapeRegex in highlightSearchTerms.ts (both introduced across separate PRs). Export the existing escapeRegex and import it in HunkViewer, removing the duplicate.
Remove StreamTimingStats, ModelTimingStats, and SessionTimingStats interfaces that are defined but never used. The authoritative versions of ModelTimingStats and SessionTimingStats live in src/common/orpc/schemas/workspaceStats.ts (inferred from Zod schemas). StreamTimingStats has no equivalent anywhere — purely dead code.
dfd0b52 to
574682c
Compare
Summary
Periodic auto-cleanup: remove dead code, fix stale config, deduplicate helpers, and tighten module exports.
Latest Change
StreamTimingStats,ModelTimingStats, andSessionTimingStatsinterfaces that were defined but never referenced. The authoritative versions live insrc/common/orpc/schemas/workspaceStats.ts. Net -74 lines.Previous changes
collectToolConfigsFromDefinitionGraph(exported but never imported anywhere) and its supportingAgentToolsLikeinterface. Also makeisToolEnabledByConfigsandisToolEnabledInResolvedChainmodule-private since they are only called within the same file. Net -51 lines.resolveForkRuntimeConfigsinto its only caller.fuzzySearch.ts.ConnectionHealthinterface fromSSH2ConnectionPool.ts.src/common/utils/tools/taskToolTypeGuards.ts: Dead module with zero imports.src/common/utils/ai/providerFactory.ts: Dead since folder restructure.isStreamingParttype guard frommessageUtils.ts.formatDurationinto shared utility.formatNewCommand,ThemeToggleButton,canonicalModelId,hasSubtitleprop.RightSidebar.tsx.partialService.test.ts→historyService.partial.test.ts.UpdaterService.getStatus().normalizeAgentId,getProviderDisplayName,getCustomModels/getAllCustomModels.codexOauthAuth.tsand re-exports.modelEntries.ts.pendingReplayResetfield fromWorkspaceStore.ts.onLogEntry,formatPendingCommand,parseGitShowBranchForStatus, path helpers.ChatInputPropsbarrel re-export.isBashOutputTool.chatEditing.ts.Validation
make typecheckpassesmake static-checkpasses (excludingshfmtnot available in CI env)resolveToolPolicy.test.ts— 13/13 tests passAuto-cleanup checkpoint: 5197edb
Generated with
mux· Model:anthropic:claude-opus-4-6· Thinking:xhigh