GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx testing (#1980) remainder: in-process app entrypoint and scriptable mock MCP server · Issue #13956 · developing-today/code

mcpx testing (#1980) remainder: in-process app entrypoint and scriptable mock MCP server #13956

New issue
Copy link
New issue
Copy link
Done
Done
mcpx testing (#1980) remainder: in-process app entrypoint and scriptable mock MCP server#13956
Copy link
Labels
status:done

Description

@dezren39
dezren39
opened on Nov 24, 2026
Issue body actions

AUDIT-7 follow-up (batch 5/14, chunk E) from auditing merged PR #8998 against issue #1980.

What #8998 did: implemented only the binary-override piece of #1980 (approach B / stage-2 increment): MCPX_TEST_BINARY now points the binary suite at a prebuilt binary with loud failure on a bad value.

Remainder of #1980, still open: no later PR references #1980 and no follow-up issues were found for these pieces.

  • In-process app entrypoint: move the dispatch in cmd/mcpx/main.go into cli.Run(ctx, args, env, stdio) int and run most integration tests in-process, keeping the binary suite as a superset for signals, exit codes, argv parsing, the detached daemon, and the nix wrapper.
  • Scriptable mock MCP server: replace the fixed-behaviour fakemcp so each test states the server behaviour it needs.
  • (Also noted in mcpx testing: an in-process app entrypoint beside the binary suite, and a scriptable mock MCP server #1980: the os.MkdirTemp temp dirs in internal/testsupport/build.go are never removed.)

Acceptance: cli.Run entrypoint exists with integration tests running through it; a scriptable mock server replaces fakemcp; temp-dir cleanup addressed.

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    developing-todayBot
    on Nov 24, 2026 – with developing.today
    Contributor
    More actions

    CODE-5134

  2. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (lane oc-code-05, queue task 22475, coverage reconciliation pass 2 — tracking #14158): already resolved in substance — closing.

    Parent #1980 is CLOSED (status:done) with all four stages landed and verified merged (agent note 2026-11-16). This follow-up's premise (only #8998 landed, no follow-ups found) is stale; verified fresh 2026-11-24:

    1. In-process app entrypoint — done: cli.Run(ctx, args, env, stdio) int exists at pkgs/mcpx/internal/cli/run.go:129 (PR feat(mcpx): cli.Run in-process entrypoint, slim main (#1980 stage 1) #2714, merged 2026-11-11); dual-runner harness running integration tests in-process with the binary suite as superset (PR mcpx e2e: dual-runner harness (binary + in-process) — #1980 stage 2 #10833, merged 2026-11-16).
    2. Scriptable mock MCP server — done: FAKEMCP_SCRIPT_FILE mechanism (pkgs/mcpx/internal/testsupport/fakemcp/script.go, plus script_test.go) via PR mcpx fakemcp: scriptable mock via FAKEMCP_SCRIPT_FILE (#1980 stage 4) #10856 (merged 2026-11-16); fakemcp is scriptable per-test.
    3. Temp-dir cleanup — done: builders register every dir via registerBuildTempDir and suites sweep them at end of run (SweepBuildTempDirs / MainWithSweep in pkgs/mcpx/internal/testsupport/sweep.go); leaked-daemon detection included.

    No follow-on packet routed; no live queue task needed. If a narrower remainder (e.g. elective per-caller script migration, noted as elective on #1980) is wanted, file it as new scoped work.

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Closed as implemented.

  4. dezren39
    closed this as completedon Nov 24, 2026
  5. developing-today
    added
    status:done
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.