Repository navigation
refactor(console): remove web console components nothing reaches - #6772
Merged
Merged
Conversation
Removes 20 web console components and hooks that no page, route, bundle entry, script or native source reaches, with the 10 tests that covered only them: the Codex CLI update notice, issue link picker, runtime row, mode picker, PR checkout panel, chat read state, spawned-agent hover card, chat action and turn summary cards, composer mode storage, tool classifier, transcript peek and file preview, the GitHub read status badge, the experimental chat, canvas, model and remote flags, and packet state colors. Console helpers that real-path tests use as the reference for live behaviour stay: the transcript merge oracle for the native merge corpus, the display resolver, and the stream, history and model helpers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hurttlocker
enabled auto-merge
November 24, 2026 23:18
📝 o8.run docs may need updatingThis PR changes source that the public docs describe. Review whether these pages are still accurate (and bump their stamp in o8-site if so):
Flagged by docs-drift against https://o8.run/api/docs/manifest. Docs only — nothing is auto-edited. |
🔍 PR Review Bot
|
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.
Removes web console components and hooks that nothing in production reaches. The owner cut them on 2026-11-24.
How "unreachable" was decided
src/ws-server.ts, the CLI,scripts/,native/,src-tauri/,crates/,apps/and config files..mcp.json.import()with a literal path,requireandrequire.resolve.src/components.Removed (20 files, plus the 10 tests that covered only them)
CodexCliUpdateNotice,IssueLinkPicker, the onboardingRuntimeRowand the orchestratorModePicker.usePrCheckoutandcheck-status, the chatread-state, andspawned-agents-hover-card-utils.ChatActionCard,TurnSummaryCard,composer-mode-storage,toolClassifier,TranscriptPeek,TurnFilePreviewandtranscript/turns.GithubReadStatus.use-experimental-chat,use-experimental-canvas,use-orchestrator-model,use-remote-flag, andpacket-state-colors.TS: −3,483 lines. Rust: none. None of this code was loaded at server startup. No loops or timers removed.
use-experimental-canvasis also removed in #6771. Both deleting it rebases cleanly.Kept (36 unreachable console files, about 4.2k lines), and why
Real-path tests of live behaviour use these console helpers as their reference:
thoughts/utils.ts(mergeTranscriptEntries) is the oracle for the native transcript merge corpus (next-merge-differential-real-path).chat-panel/resolve-display-messages.tsis the display order thatowner-chat-chronology-real-pathchecks.use-orchestrator-streamhelpers,history-transcript,replay-cursorand the control-room helpers serve model attribution, compaction, replay, quota fallback and cloud job tests.Removing them means rewriting those tests against native or server code. That is a separate change.
Verification
Rebased on
67b5845cd.npm run typecheck:fast,tsc -p cli/tsconfig.jsonand ESLint on the changed files pass.next-merge-differential,owner-chat-chronology,orchestrator-model-attributionandreal-path-seams, with two exceptions:orchestrator-model-attribution-real-pathfail identically on unchangedmain.real-path-seamsfail identically on unchangedmain.npm run verify:ci: Lint, Type Check, Test Classification, Server Bundle Size, Security Audit and Governance Smoke pass.composer-mode-storage.tsinstorage-ownership.test.ts. It is fixed, andsrc/components/desktopnow passes: 412 of 412.api-front-doorrequires 15 GiB free disk, and this machine has less. That suite passed in the run above with the gate lowered.🤖 Generated with Claude Code