Skip to content

[MCP caching] split MCP connections to a backend + lightweight handle - #15256

Closed
jgershen-oai wants to merge 2 commits into
mainfrom
codex/jgershen-mcp-backend-session-boundary
Closed

jgershen-oai wants to merge 2 commits into
mainfrom
codex/jgershen-mcp-backend-session-boundary

Conversation

@jgershen-oai

@jgershen-oai jgershen-oai commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Split MCP connection ownership into a (to-be-shared) backend and a lightweight session-local client.
This PR keeps all other behavior unchanged; the motivation is to be able to cache the connection.

Testing

  • cargo check -p codex-core
  • cargo test -p codex-core mcp_connection_manager::tests::

@jgershen-oai jgershen-oai changed the title refactor(core): split MCP backend from session state [MCP caching] split MCP connections to a shared backend + client frontend Mar 20, 2026
@jgershen-oai jgershen-oai changed the title [MCP caching] split MCP connections to a shared backend + client frontend [MCP caching] split MCP connections to a backend + lightweight client Mar 20, 2026
@etraut-openai etraut-openai added the oai PRs contributed by OpenAI employees label Mar 20, 2026
@jgershen-oai
jgershen-oai force-pushed the codex/jgershen-mcp-backend-session-boundary branch from 55e4394 to 7591ac9 Compare March 20, 2026 07:11
@jgershen-oai
jgershen-oai marked this pull request as ready for review March 20, 2026 07:40
@jgershen-oai
jgershen-oai requested a review from pakrym-oai March 20, 2026 07:41
@jgershen-oai jgershen-oai changed the title [MCP caching] split MCP connections to a backend + lightweight client [MCP caching] split MCP connections to a backend + lightweight handle Mar 20, 2026
#[path = "mcp_connection_manager_tests.rs"]
mod tests;
#[cfg(any())]
mod old_tests {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all tests should probably go into mcp_connection_manager_tests.

@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 14 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants