Skip to content

fix(agents-server): add agents-mcp to Dockerfile#4320

Merged
robacourt merged 2 commits into
mainfrom
fix/agents-server-dockerfile-agents-mcp
May 12, 2026
Merged

fix(agents-server): add agents-mcp to Dockerfile#4320
robacourt merged 2 commits into
mainfrom
fix/agents-server-dockerfile-agents-mcp

Conversation

@robacourt
Copy link
Copy Markdown
Contributor

Problem

@electric-ax/agents-mcp was added as a workspace dependency of agents-runtime in #4289, but was never added to the agents-server Dockerfile. This caused the Docker build to fail with:

ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In packages/agents-runtime: "@electric-ax/agents-mcp@workspace:*" is in the dependencies but no package named "@electric-ax/agents-mcp" is present in the workspace

This broke the publish-agent-server-to-dockerhub job in the Changesets release run triggered by #4252.

Fix

Add agents-mcp/package.json to the manifest-copy stage and add a COPY + build step for agents-mcp before agents-runtime (which depends on it).

agents-mcp was added as a workspace dependency of agents-runtime in #4289
but was missing from the Dockerfile COPY statements and build steps,
causing ERR_PNPM_WORKSPACE_PKG_NOT_FOUND during docker build.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.24%. Comparing base (08e85a0) to head (aa0bad6).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4320       +/-   ##
===========================================
+ Coverage   49.51%   74.24%   +24.72%     
===========================================
  Files         230       42      -188     
  Lines       16524     4523    -12001     
  Branches     4872     1310     -3562     
===========================================
- Hits         8182     3358     -4824     
+ Misses       8333     1160     -7173     
+ Partials        9        5        -4     
Flag Coverage Δ
packages/agents ?
packages/agents-mcp ?
packages/agents-server 74.24% <ø> (-0.07%) ⬇️
packages/agents-server-ui ?
packages/electric-ax ?
packages/experimental ?
packages/react-hooks ?
packages/start ?
packages/typescript-client ?
packages/y-electric ?
typescript 74.24% <ø> (+24.72%) ⬆️
unit-tests 74.24% <ø> (+24.72%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@robacourt robacourt merged commit d8cb2bb into main May 12, 2026
18 checks passed
@robacourt robacourt deleted the fix/agents-server-dockerfile-agents-mcp branch May 12, 2026 14:29
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