Skip to content

test(mcp): link agent-bundle into the copied conformance fixture - #859

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/mcp-conformance-agent-bundle-resolve
Sep 25, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
fix/mcp-conformance-agent-bundle-resolve

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

The Nightly MCP conformance job has failed since #810 (run 36131421318 on 12a1ddc). #810 moved the route-harness fixture's tools to import { defineTool } from 'agent-bundle/routes'. The conformance harness copies that fixture to a temp directory and symlinks packages/agent-bundle/node_modules into it. That directory has no agent-bundle entry, because a package does not depend on itself, so Rspack failed with Can't resolve 'agent-bundle/routes'. In place, the fixture resolved it through the package's self-reference, which the temp copy loses.

The harness now links examples/host-test/node_modules. It links agent-bundle and resolves the same @agent-bundle/runtime, @modelcontextprotocol/server, react, and zod versions as before. dev-contract-project.ts already links an example's node_modules the same way.

Verification

@ScriptedAlchemy
ScriptedAlchemy merged commit 4f62216 into main Sep 25, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T21:16:21.497447Z 9912e29 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ScriptedAlchemy
ScriptedAlchemy deleted the fix/mcp-conformance-agent-bundle-resolve branch September 25, 2026 21:14
@changeset-bot

changeset-bot Bot commented Sep 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9912e29

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant