Skip to content

refactor(mcp): one fixture-execution core behind run_tests and run_test (#1095) - #1113

Merged
jimhoyd merged 2 commits into
mainfrom
claude/mcp-shared-runner-1095
Sep 30, 2026
Merged

jimhoyd merged 2 commits into
mainfrom
claude/mcp-shared-runner-1095

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Closes #1095. Items 1 and 3 are in #1103 and #1107; this is item 2.

What changed

Lines

  • 23 lines removed from cli.ts/mcp.ts, 18 changed or added there.
  • The new module is 52 lines, mostly contract comments. Net source grows by about 47 lines.
  • The gain is one fix point, not fewer lines.

Tests

🤖 Generated with Claude Code

…e test/run_test (#1095)

The local-review rule, its local_review event, the host revision pin, the
hermetic per-run host and the CLI's failure-event filter now live in
fixture-run.ts. urlcode test (which run_test spawns) and the in-process
run_tests both use it, so a fix like #778/#964 lands once. Each tool keeps its
name, input schema, result contract, environment, timeout and host lifetime.
docs/TOOLING.md says when to use which.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimhoyd
jimhoyd enabled auto-merge (squash) September 30, 2026 21:36
…ner-1095

# Conflicts:
#	docs/RUNTIME-IMPLEMENTATION.md
@jimhoyd
jimhoyd merged commit 0f4c6d9 into main Sep 30, 2026
21 checks passed
@jimhoyd
jimhoyd deleted the claude/mcp-shared-runner-1095 branch September 30, 2026 21:42
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.

[Request]: Reduce duplicated middleware sources, MCP test execution paths and shared authoring guidance

1 participant