Skip to content

refactor(mcp): drop result projection and duplicate tool-call paths - #1455

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-10662-mcp-simplification-delete-auth-coordinator-lock-files
Oct 16, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-10662-mcp-simplification-delete-auth-coordinator-lock-files

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • MCP tool calls go through callResult once. call unwraps that envelope, and callBlocks is gone.
  • Linear results are no longer stripped to a fixed field list. An error result still returns the tool text instead of throwing.
  • Global and local settings writers share one queue. Close and abort checks for MCP clients share one helper.

Verification

  • bun run check passes (9105 tests, 0 fail)
  • bun test ./src/mcp/add-server.test.ts ./src/mcp/plugin.test.ts ./src/mcp/client-envelope.test.ts ./src/mcp/client-auth-retry.test.ts ./src/tools/web-fetch.test.ts ./src/tools/web-search.test.ts --randomize --seed 424242 passes (68 tests)

Part of CL-10662

@linear-code

linear-code Bot commented Oct 16, 2026

Copy link
Copy Markdown

CL-10662

@corbits-triage

corbits-triage Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

@TheGreatAxios
TheGreatAxios merged commit c186f9a into main Oct 16, 2026
13 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-10662-mcp-simplification-delete-auth-coordinator-lock-files branch October 16, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant