Repository navigation
chore: remove the unused mcp store and dead cli and claude driver helpers - #215
Merged
Merged
Conversation
The in-memory and bun:sqlite OAuth stores under src/server/store had no importer; the server owns OAuth storage.
fetch_message_by_id and load_inline_protocol_temporary had no callers and were kept alive with allow(dead_code).
…lab test envelope_session had no callers. history_lab now says why it is ignored and which env var drives it.
morajabi
force-pushed
the
claude/dead-code-cleanup
branch
from
December 1, 2026 10:20
1eca59c to
61787bd
Compare
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.
These are confirmed-dead code items from the October audits (cleanup tables) and the code scan. Each one was checked for callers across the repo first: tests, scripts, Dockerfiles, workflows and package exports.
mcp:packages/mcp/src/server/store/: the SQLite and memory stores, their types and test (1053 lines). Nothing outside the folder imports them.cli:fetch_message_by_id(main.rs) andload_inline_protocol_temporary(auth.rs).inline-cliis a binary, and neither has a caller, tests included.crates:envelope_sessioninagent-driver-claude, which was kept alive by#[allow(dead_code)]. Also gives the bare#[ignore]history lab test the reason string the other lab tests use (set INLINE_HISTORY_LAB).Verified
packages/mcp: build, typecheck, lint, andtest(19 files, 484 tests) pass. Line coverage moves from 74.9% to 74.2%. The local thresholds already failed before this change; CI runs coverage report-only.cargo clippy -p inline-cli -p inline-agent-driver-claude --all-targets -- -D warnings: clean.cargo test -p inline-agent-driver-claude: 101 pass.cargo test -p inline-cli --bin inline -- auth::: 13 pass.cargo fmt --checkpasses for both crates. The workspace-wide fmt failure inbot_settings.rsis the one ci: get main green (rustfmt, billing test clock, tip release compile) #182 fixes.🤖 Generated with Claude Code