Repository navigation
tests: a routine test run wraps its custom command server in the dry-run MCP (#491) - #500
Open
kridaydave wants to merge 2 commits into
Open
kridaydave wants to merge 2 commits into
kridaydave wants to merge 2 commits into
Conversation
kridaydave
force-pushed
the
test/codex-dry-run-env-regression
branch
from
December 3, 2026 11:43
3136f7f to
c6aaefc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up regression test for #491, already closed by
382363afd5(custom MCP servers are wrapped by the dry-run MCP during routine test runs).The existing Codex tests cover the reserved environment names and a custom server mount, but not that a routine test run's own dry-run wrapper wraps a custom command server and records which server it belongs to. This adds one test:
commandMCP server throughtestRunMounts;notesserver and the upstream envelope, and the turn completes without a runtime error.It also includes the small
server/system-proxy.tsprerequisite from #499 so thestaticsource-guard job is green on this branch:undiciis loaded at first use insideinstallSystemProxyrather than at module load.Focused tests:
node --experimental-strip-types node_modules/vitest/vitest.mjs run server/drivers/codex.test.ts scripts/testing/lazy-server-modules.test.ts -t "runs a routine test run's own dry-run wrapper|the server loads tar"2 passed, 289 skipped.