Skip to content

test(agent/x/agentmcp): cover plugin mcp.json parsing, reloads, isolation, and env - #32273

Draft
f0ssel wants to merge 10 commits into
garrett/agent-plugins/09-plugin-mcp-configfrom
garrett/agent-plugins/10-plugin-mcp-reload-tests
Draft

f0ssel wants to merge 10 commits into
garrett/agent-plugins/09-plugin-mcp-configfrom
garrett/agent-plugins/10-plugin-mcp-reload-tests

Conversation

@f0ssel

@f0ssel f0ssel commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

External ParseSource tests for plugin mcp.json files, and internal tests for plugin reloads: per-entry and per-plugin isolation, name collisions, scope-change reconnects, stdio launch with PLUGIN_ROOT/PLUGIN_DATA, data directory creation, and environment merging.

Part 3 of the #29325 split, plus the agentmcp test updates from #29326. After this PR agent/x/agentmcp is final.

Stack (base main, replaces #29321–#30577):

PR Title Size
#32264 feat: carry Agent Plugin fields through context snapshots +542/-213
#32265 feat(agent/agentcontext): discover and validate Agent Plugins manifests +1951/-74
#32296 feat(agent/agentcontext): load skills bundled in Agent Plugins +653/-19
#32266 feat(agent): enable Agent Plugins discovery from the manifest +988/-79
#32267 feat(coderd/x): add plugin skill source and alias grammar +138/-32
#32268 feat: add plugin skill and plugin context resource types +295/-161
#32269 feat(coderd): serve plugin skills in chatd +1338/-386
#32270 feat(agent/x/agentmcp): accept streamable-http MCP type, add plugin data dir helper +92/-0
#32271 feat(agent/x/agentmcp): add a same-origin header HTTP client +547/-4
#32272 feat(agent): load plugin mcp.json and reload registered MCP sources +1262/-228
👉 #32273 test(agent/x/agentmcp): cover plugin mcp.json parsing, reloads, isolation, and env +2044/-2
#32274 feat: run plugin MCP servers discovered by agentcontext +851/-26
#32275 feat(site/src): render Agent Plugin context +1349/-240

Generated by Claude Code

Covers ReloadSources with plugin scopes: per-entry and per-plugin
isolation, server name collisions across plugins and .mcp.json,
reconnecting on scope changes, stdio launch with PLUGIN_ROOT and
PLUGIN_DATA, data directory creation, and environment merging.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VpiVZBgFqiSdRKrH8dPSPT
f0ssel and others added 4 commits November 16, 2026 11:42
Adds the external ParseSource tests for plugin mcp.json files and
updates the internal reload tests for SetSources and ReloadCurrent.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VpiVZBgFqiSdRKrH8dPSPT
@f0ssel f0ssel changed the title test(agent/x/agentmcp): cover plugin MCP reload, isolation, and env test(agent/x/agentmcp): cover plugin mcp.json parsing, reloads, isolation, and env Nov 16, 2026
@f0ssel f0ssel self-assigned this Nov 16, 2026
@f0ssel
f0ssel added this pull request to stack #32278 November 16, 2026 18:37
@f0ssel
f0ssel force-pushed the garrett/agent-plugins/10-plugin-mcp-reload-tests branch from f0b1089 to c6767a6 Compare November 16, 2026 23:25
f0ssel and others added 2 commits November 16, 2026 22:12
@f0ssel f0ssel removed their assignment Nov 20, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants