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: environments -- nix flake, container, local, remote -- as CI matrix entries · Issue #1983 · developing-today/code

mcpx testing: environments -- nix flake, container, local, remote -- as CI matrix entries #1983

New issue
Copy link
New issue
Copy link
Done
Done
mcpx testing: environments -- nix flake, container, local, remote -- as CI matrix entries#1983
Copy link
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workenhancementNew feature or requestkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Oct 28, 2026
Issue body actions

Relocated from dezren39/darwin-nix#134 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue references inside it are historical (dezren39/nix numbering).

Parent: #97

Summary

Define the environments the integration suite must pass in: nix flake, container, local, and remote. For each, say what it needs, which tests it runs, and how it becomes a CI matrix entry. The CI tree (#95) owns the matrix and budget; this issue defines the entries. It also covers two proposals:

  • test in a container. When this was written no image existed; Phase 5: tag event bodies must travel with the event #182 has since added pkgs/mcpx/Containerfile, but no CI job builds it and no test runs in it;
  • label the small set of tests that cannot coexist with a user's own daemon. Update dependency htmx.org to v1.9.12 #138 makes every other test independent of that daemon.

The extended OS and distro list (alpine, scratch, distroless, flatpak, Fedora, Windows) is #136. The real-software subset is #137.

Original notes

  • testing
    • a general goal is to ensure all features have one or more integration tests
      • for both binary && app entrypoint (consider binary a superset)
        • all tests should pass for nix flake & container
          • all local also but may need impractical setup
            • very few shouldn't work if user has own real daemon running
          • all non-cli should pass for remote

Current state (written on d0b7e01; re-checked at 05c78b2)

Environment Today Runs e2e?
nix nix build package.nix checkPhase runs 18 unit packages with MCPX_STATE_DIR/MCPX_CACHE_DIR under $TMPDIR. Its comment says "the end-to-end ones spawn JavaScript runtimes and bind unix sockets and do not" no
nix nix flake check flake.nix:426-470 checks = formatting, tidy, plus darwin-only sidepulse*. No mcpx check, so nix flake check neither builds nor tests mcpx. There is no mcpx devShell (flake.nix:526) no
container pkgs/mcpx/Containerfile exists since #182 (with .dockerignore and docs/container.md): three stages pinned by tag and digest -- golang:1.26-bookworm build, bun copied from oven/bun:1-debian, debian:bookworm-slim runtime -- plus git and ca-certificates, ENV MCPX_SCRIPT_RUNTIME=bun (bun only; Containerfile:80), a non-root user, ARG CGO_ENABLED=1 threaded into the build (:39-41), 413 MB (108 MB base, 105 MB git with perl, 79 MB bun, 15 MB mcpx; docs/container.md §5). Deliberately not done (§6): no CI job builds it, no test runs in it, no scratch/distroless variant, not wired into package.nix. Its versions are a second set beside the flake's, and they already move separately: Renovate #184 bumps the Go image to 1.27 while go.mod/nixpkgs stay on 1.26, and that PR is green because nothing builds the file. There is still no dockerTools image in the flake no
local (dev machine) go test ./.... Needs Go, git, deno, bun, node, and python3 (seedElicitation, internal/e2e/e2e_test.go:2367-2381 at 05c78b2, shells out to python3 for sqlite3). A missing runtime skips (runtime_test.go:17-18,49-50, e2e_test.go:2481-2482), which is silently green: the lesson of #35 yes. The daemon leak (#52) is fixed in #182 (60 s idle exit, stop --all); the inherited environment is not (#138)
CI (mcpx.yml) ubuntu-latest, go test ./... -count=1 on the host with setup-deno v2.x, setup-bun latest, node 24. These are not the versions package.nix wraps, so CI tests runtimes users of the nix package never get yes
remote Settings exist: daemon.address (default 127.0.0.1, internal/settings/registry.go:365), daemon.port (:343), daemon.endpoint = MCPX_DAEMON_ENDPOINT (:350, "mcpx will not try to start that one"). The daemon's TCP listener is internal/daemon/server.go:213. The only e2e use is the refusal path, TestANamedEndpointIsNotSilentlyReplacedByALocalDaemon (e2e_test.go:2399). Nothing tests a successful remote run refusal only

Approaches -- the container

A -- FROM nixos/nix, run nix build inside (least recommended)

It reproduces the flake exactly, but it is slow (the nix store is populated per build), large, and tests a build environment rather than a runtime environment. It says nothing about "does mcpx run in a normal container".

B -- a hand-written Containerfile on a distro base (debian-slim or ubuntu), with the distro's deno/bun/node

This is what non-nix users expect to read and extend, and it is in substance what #182 shipped (debian:bookworm-slim, bun from its own pinned image, Go from a pinned golang image). Its problem as the test environment: runtime versions now come from two places, the flake and the Containerfile's pinned images, and they drift -- already visible in #184. "the supported mcp version is the one in the flake/containerfile" (the note is quoted in #137) then has two answers. And the shipped image carries one runtime, so a test run inside it covers only bun's path to the daemon.

C -- the image built from the flake, with a thin Containerfile for users (recommended)

  • CI image: pkgs.dockerTools.buildLayeredImage (or nix2container), with contents mcpx plus exactly the deno, bun-bin, nodejs and git that package.nix wraps, plus cacert and a /tmp. One version set, defined once in the flake. It is exposed as packages.x86_64-linux.mcpx-image, so build(deps): bump build/buck/preludes/buck2-prelude from d956689 to 3cfc766 #49's "build every package" covers it.
  • Test image = CI image + the precompiled test binaries: go test -c -o e2e.test ./internal/e2e, plus fakemcp/askmcp built on the host, with Update Rust crate bytes to v1.11.1 [SECURITY] #133's binary override pointing at the image's mcpx. The image then needs no Go toolchain. Today it would, because testsupport runs go build at test time (internal/testsupport/build.go:33,62). So a -fakemcp.binary override is needed next to the mcpx one.
  • User Containerfile = the one Phase 5: tag event bodies must travel with the event #182 added (pkgs/mcpx/Containerfile: debian-slim, bun only, git; it builds mcpx in a Go stage rather than copying a static one, with CGO_ENABLED=1 by default and 0 one build-arg away -- verified static and working in Phase 5: tag event bodies must travel with the event #182, policy in Update dependency happy-dom to v21 [SECURITY] #136; docs/container.md §4 explains why scratch/distroless saves nothing while bun and git are dynamic). What C adds to it: a CI job that builds it on every change to it (today none does, which is why Phase 5: compaction for tag clears #184 is green unbuilt), and a check that compares its pinned versions to the flake's and fails on drift. This is tier 2 (Update dependency happy-dom to v21 [SECURITY] #136). The GIT architect owns the file and docs/container.md and is changing them now; this issue asks only for the job and the drift check, not for a different image.

Recommended because the flake stays the single source of versions, the image is a nix package that existing CI already knows how to build, and the test image tests the artifact rather than a rebuild.

The test image needs three runtimes because exec can only run on a host that has a JS runtime, and deno and bun reach the daemon over the unix socket, node over TCP (#35). So each test-image run must exercise all three, and it must set a required runtimes variable that turns the runtime skips into failures (see "Local" below). #182's user image ships one runtime on purpose (bun, the smallest; docs/container.md §2); a run inside it sets MCPX_TEST_REQUIRE=bun and covers that path only.

Nix flake

  • nix build: keep checkPhase unit-only. The sandbox has no network and no $HOME, and moving e2e in would double the build's 60 s.
  • Assert the installed output, not just build it (from Phase 2: removal: weak is stored but not built #161). mcpx.yml builds result/bin/mcpx and discards it. A few lines against it, under five seconds, cover what no other leg can: the makeBinaryWrapper PATH suffix works under env -i (git, deno, bun, node all resolve), and mcpx doctor passes. The man page, completion and --version assertions on the same output are Phase 3: range read_flight buffers frames with no cap while more is set #178's; run them in this leg rather than a second one. This is the cheapest entry in this issue and can land first.
  • nix flake check: add checks.<linux>.mcpx-e2e, a runCommand with nativeBuildInputs = [ mcpx deno bun nodejs git python3 ] that runs the precompiled e2e.test against ${mcpx}/bin/mcpx, so the wrapped binary is under test. Whether e2e passes in the nix sandbox is unverified; the package.nix comment implies nobody tried. Unix sockets under $TMPDIR are allowed in the Linux sandbox, but deno needs a writable DENO_DIR and must not fetch anything. That is the first thing to find out, and if it fails, the answer is a list of tests to mark needs-network or needs-home.
  • A devShell mcpx providing go, gopls, deno, bun, node, git, python3 and golangci-lint at the flake's versions. This is the "impractical setup" made practical for local runs.

Local

"may need impractical setup". Three steps make it practical:

  1. nix develop .#mcpx (above) for anyone with nix.
  2. A preflight in TestMain that prints what is missing (runtime, python3, git) once, not one skip per test.
  3. MCPX_TEST_REQUIRE=deno,bun,node,python3 (name to be decided). When it is set, a missing dependency fails instead of skipping. CI and container runs always set it; laptops do not. This closes the fix(deps): update rust crate axum to 0.6.20 #35 gap, where "a test that skips a runtime it cannot find silently covers less" (the mcpx.yml comment).

"very few shouldn't work if user has own real daemon running"

Two separate things:

  • Most tests must never touch the user's daemon. Today they can. newEnv builds the child environment from os.Environ() (e2e_test.go:52), so an inherited MCPX_DAEMON_ENDPOINT points tests at it; the opencode plugin injects exactly that into every shell (plugin/opencode/mcpx-session.ts:696-701). Phase 5: tag event bodies must travel with the event #182 bounded leaked daemons to 60 s but did not change this. Fix: Update dependency htmx.org to v1.9.12 #138.
  • A few legitimately can't coexist, because they test the default paths: default XDG_STATE_HOME/~/.local/state/mcpx resolution, the shared private runtime dir fallback (internal/daemon/paths.go:115-148 at 05c78b2), mcpx daemons scanning, and the plugin's ladder against the real runtime dir.
  • A third option for "safe on a laptop" (from Phase 2: authority judged at causal past or canonical prefix #162): run modes. MCPX_DAEMON_AUTOSTART=false MCPX_DAEMON_INLINE=true runs the daemon in-process for one command on a private socket and leaves nothing behind (internal/e2e/e2e_test.go has two inline tests, :2416 and :2432). A harness setting with three values -- inline (the default for a local developer/agent run: cannot collide, cannot leak, cannot test daemon lifetime), spawn (today's behaviour; the gating CI leg) and remote (below) -- with each test declaring requiresDaemonLifetime / requiresLocalFilesystem, makes the local run safe by construction rather than by discipline. It reuses existing settings only. It is the same per-test "needs" mechanism as the remote C below; build one scheme.

Labelling approaches:

  • A -- test-name prefix (TestHostDaemon...). It is greppable and selectable with -run/-skip, but nothing enforces it. A new default-path test that forgets the prefix breaks on a dev machine and nobody knows why.
  • B -- build tag hostdaemon. Excluded unless -tags hostdaemon is given, so nothing is forgotten at runtime. But a tagged file compiles only in a separate invocation, which adds one more go test to the matrix and hides compile errors in the default build.
  • C -- detection plus skip, with a name convention for the inventory (recommended). A helper testsupport.RequireNoUserDaemon(t) resolves the user's default paths with the real environment, pings any socket there, and t.Skips with the socket path if something answers. In CI nothing answers, so the tests run; on a dev machine they skip with a reason, not a mysterious failure. The helper is the label: the Update dependency @chenglou/pretext to ^0.0.9 [SECURITY] #132 inventory lists every test that calls it. Keep the set as small as possible, and treat every addition as a design smell to justify in review (Bump unsafe-libyaml from 0.2.8 to 0.2.10 in /sources/pavex/examples/realworld #99).

Remote

"all non-cli should pass for remote". Here non-cli means /v1, MCP at /mcp, and the generated client over TCP. The CLI tests stay local because they drive a local process.

What "non-cli" covers, by command (from #162): pure-local commands (man, completion, help, init, config) have nothing to be remote about; daemon-backed commands with no local path (ls, call, status, settings, servers, search, prompts, resources, tasks, ...) must pass; commands that name a local path (mcpx run ./file.ts, exec --export) must be refused clearly -- docs/exec.md:64-73 already says a remote run sends the script's text and refuses --export with --remote; local-machine management (daemons, stop, restart) needs a decided answer. And one mechanism is easy to miss: the generated client picks its transport per runtime (internal/codegen/emit.go:263-300: deno and bun over the unix socket, anything else over TCP to ENDPOINT), so against a remote daemon every runtime takes the TCP path -- a remote leg covers node's transport under deno and bun, which nothing else does.

What breaks today if the suite is pointed at a remote daemon:

  • tests read e.dir/state/... directly (the log DB, sockets, seedElicitation);
  • restart/stop take the shared daemon away from every other test;
  • per-test config files do not reach another host;
  • two tests adding server demo collide.

A -- run the whole e2e package with MCPX_DAEMON_ENDPOINT set (least recommended)

It needs one line of CI. Most tests would fail for the reasons above, and the failures would say nothing about remote support.

B -- a separate hand-written remote suite

It is clean, but it duplicates the /v1 and MCP assertions, and the two copies drift.

C -- the same tests, tagged by need, and a remote runner (recommended)

  • Each /v1/MCP test declares its needs through the harness: localFS, ownsDaemon (restart/stop), perTestConfig.
  • The remote runner selects the tests with none of those needs.
  • Per-test servers are added over POST /v1/servers with a per-test name suffix and removed in cleanup. This is a good reason for /v1 tests to prefer live add over config files anyway.
  • The daemon runs in a service container (GitHub Actions services:, Linux only) from the test image above, with daemon.address=0.0.0.0, a fixed daemon.port, and the scriptable fakemcp (Update Rust crate bytes to v1.11.1 [SECURITY] #133) baked in.
  • TestExecOnTheDaemonRunsWhereTheDaemonIs (internal/e2e/exec_test.go:330) becomes the canonical remote exec test.

Recommended because it tests the real claim with the real assertions, and makes "is this test remote-safe" something the harness knows rather than something a list claims.

Matrix entries (for #95)

Entry Runner Needs Runs Tier (#136)
unit ubuntu-latest Go go test on non-e2e packages 1
e2e-host-linux ubuntu-latest Go + runtimes at flake versions (from the devShell, not setup-*@latest) + python3; MCPX_TEST_REQUIRE set e2e, binary suite 1
e2e-inproc ubuntu-latest same e2e, in-process suite (#133) 1, once it exists
nix-build ubuntu-latest nix nix build .#mcpx (unit checkPhase), then the installed-output assertions above (wrapper under env -i, doctor, #178's man/completion/version) 1 (build exists; assertions new)
nix-flake-check ubuntu-latest nix checks.mcpx-e2e against the wrapped binary 1 if under budget, else 2
container ubuntu-latest, container: = test image image from packages.mcpx-image e2e binary suite inside 2
container-user ubuntu-latest docker build -f pkgs/mcpx/Containerfile (#182's image) build on every change to the file (#184 is green unbuilt today); then --version, ls and one bun exec inside, MCPX_TEST_REQUIRE=bun; version-drift check against the flake 1 for the build (it is a shipped file), 2 for the run
e2e-no-deno ubuntu-latest bun and node only on PATH the real bun and node e2e paths with no Deno anywhere on PATH -- what a user without Deno gets from script.runtime=auto, which no nix-wrapped run can show (the wrapper suffixes Deno). #100's own auto test uses stub runtimes on PATH and runs in any leg; this leg is the end-to-end counterpart. #100 owns the runtime question (#181 collision 11) 1 once #100 lands
e2e-host-linux-arm64 ubuntu-24.04-arm as linux e2e binary suite; a second architecture rather than a second OS (see the comment from #161 below) 2 (open)
remote ubuntu-latest + services: daemon test image as the service remote-safe /v1 + MCP subset 2
e2e-host-macos macos-latest as linux e2e binary suite (#35 was a macOS/Linux split) 2
plugin ubuntu-latest bun bun test plugin/opencode/mcpx/daemon.test.ts (#132) 1

container: and services: need a Linux runner on GitHub-hosted runners: https://docs.github.com/en/actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.

Open questions

  • Does e2e pass in the nix Linux sandbox at all? Check deno's cache dir, the absence of $HOME, and the 104/108-byte socket path under $TMPDIR. This is the cheapest experiment in the tree.
  • Should the host CI job take runtimes from the flake devShell (consistent with the package) or from setup-* (fast cached downloads)? Pinning setup-deno to the flake's exact version is a middle path, with a drift check.
  • Remote: add remote-safe as an explicit opt-in per test, or derive it from declared needs? Opt-in is safer at first.
  • Where does the test image live (ghcr.io?), or is it only built per run with nix build and docker load?
  • A new e2e test that randomises must take the run seed (Bump golang.org/x/crypto from 0.10.0 to 0.17.0 in /sources/graph #93) in every environment. The seed must be passed into containers and service containers too.
  • Remote: which side owns the config? MCPX_CONFIG is read by the daemon, so a remote daemon has a config the client cannot see; does the harness push servers over POST /v1/servers (C above) only, or also start the daemon with a per-run config (from Phase 2: authority judged at causal past or canonical prefix #162)?
  • Remote: is loopback TCP (daemon.address=127.0.0.1, fixed daemon.port) enough for the gating leg, with a real second host (a service container) nightly? Loopback is a different transport, not a different host (from Phase 2: authority judged at causal past or canonical prefix #162).
  • Container versions: should the Containerfile's pinned images be bumped together with flake.lock (one Renovate group), or read their versions from the flake? Phase 5: compaction for tag clears #184 is the first drift.
  • Likely to change under the GIT architect's in-flight work: docs/container.md §3/§5 keep git in the image (105 MB with perl) because the repo/worktree scopes shell out to it. GIT is replacing that with native resolution in internal/config/scope.go; if it lands, git can leave the image and the needs git labels here and in Update dependency happy-dom to v21 [SECURITY] #136 may disappear. Re-check this issue when that PR merges.

Ease · Impact · Related

Ease L (devShell and MCPX_TEST_REQUIRE: S; flake image and checks.mcpx-e2e: M; remote runner: M-L) · Impact high
Depends on / related: #133 (binary and fakemcp overrides, scriptable fake), #138 (isolation first), #136 (tiers, extended OSes, static policy), #137 (the pinned version set), #95 (owns the matrix), #49 (build every flake package, including the image), #100 (owns #181 collision 11: the auto runtime test; the no-Deno leg is a row here), #178 (man/completion/version assertions on the nix output), #52 (closed, fixed in #182), #35, #65, #93 (seed), #99 (when agents run which entry).

Security/auth deferred; see tracker.

Acceptance criteria

  • The environments matrix (nix flake, container, local, remote) is implemented as specified in the body and each leg's CI result is recorded.
  • The work described in the Summary/Scope above is delivered via a branch + PR (no direct push to main); verification runs in GitHub Actions CI, not on the sandbox.
  • Evidence (CI links, timings, or probe output as applicable) is recorded on this issue before it is closed.

Activity

Next
  1. developing-today commented on Oct 28, 2026

    @developing-today
    developing-todayBot
    on Oct 28, 2026 – with developing.today
    Contributor
    More actions

    CODE-908

  2. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    History carried over from dezren39/darwin-nix#134 (verbatim, oldest first):


    @dezren39 · 2026-09-30T06:50:29Z

    Salvaged from a duplicate issue (#161, now closed) -- one leg it proposed that this issue does not.

    aarch64-linux is already a buildable target, and it is the cheapest second architecture available.

    flake.nix:207-211 builds every system in nix-systems/default minus x86_64-darwin, so packages.aarch64-linux.mcpx exists today without any flake change. GitHub now offers free arm64 Linux runners for public repositories (ubuntu-24.04-arm), and arm64 is a first-class container target, so an arm64 container leg costs a matrix entry rather than a port.

    Worth weighing against the macOS leg this issue already discusses: macOS gives a second operating system and is the one with recorded evidence behind it (#35 -- two tests passed on macOS and failed on Linux); arm64-linux gives a second architecture on the same OS, which is the axis that catches word-size, alignment and cgo-vs-pure-Go differences. They are not substitutes. Which tier each belongs in is for this issue to decide; the point is only that arm64 is available at matrix-entry cost and was missing from the options.


    @dezren39 · 2026-09-30T06:51:48Z

    Overlaps #161, written concurrently by a second worker on the same slice. Both are kept until reconciled; see the tracker (#97) for the differences and which one to keep.


    @dezren39 · 2026-09-30T07:21:09Z

    Integration pass. Placed in the DAG rooted at #181.

    • Tracker: Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /sources/chat #97 (integration tests across environments)
    • Siblings under that tracker: Update dependency @chenglou/pretext to ^0.0.9 [SECURITY] #132 Update Rust crate bytes to v1.11.1 [SECURITY] #133 Update dependency happy-dom to v21 [SECURITY] #136 Update dependency argoproj-labs/argocd-autopilot to v0.4.20 #137 Update dependency htmx.org to v1.9.12 #138
    • Root: Phase 3: sync, blob gate, and relays #181
    • Proposed order: phase 4 -- release and packaging -- the docs cannot promise what does not ship

    @dezren39 · 2026-09-30T11:06:13Z

    Collision ownership (issues pass, 2026-09-30, at 05c78b2). #181 listed these cross-theme collisions with no owner. Each now has one:

    #181 row Collision Owner What the owner decides
    11 auto hides Node breakage from anyone testing through the flake #100 Partly outdated: the e2e suite already runs its runtime tests under each runtime explicitly (internal/e2e/runtime_test.go:14,46, e2e_test.go:2478) and CI installs all three. What remains is auto itself -- on a nix install the wrapper's PATH suffix makes it resolve to Deno every time -- and non-erasable TypeScript under Node. #100 owns the test that auto picks each runtime when it is the only one on PATH; the CI leg without Deno goes through #134's matrix.

    Where this issue is the owner, the decision is made here; where it is not, it adopts the owner's decision rather than making its own.


    @dezren39 · 2026-09-30T12:03:26Z

    Issues pass (2026-09-30, at 05c78b2).

    • "No Containerfile" is stale: Phase 5: tag event bodies must travel with the event #182 added pkgs/mcpx/Containerfile (debian:bookworm-slim, bun only, git, ARG CGO_ENABLED=1, pinned by tag+digest, 413 MB; no CI job, no container tests, not wired to package.nix). Rewrote the container row, and re-anchored approaches B and C on the file that exists: B is what Phase 5: tag event bodies must travel with the event #182 shipped; C's "user Containerfile" is that file, and what C adds is a CI build of it plus a version-drift check. No redesign -- the GIT architect owns the file and is changing it now. Renovate Phase 5: compaction for tag clears #184 (Go image 1.27 vs 1.26 in the flake, green because nothing builds the file) is recorded as the first drift.
    • Matrix: added container-user (build Phase 5: tag event bodies must travel with the event #182's image; bun-only run), e2e-no-deno (where Bump build/buck/preludes/buck2-prelude from d956689 to 9afedba #100's auto test runs -- Bump build/buck/preludes/buck2-prelude from d956689 to 9afedba #100 owns Phase 3: sync, blob gate, and relays #181 collision 11), and e2e-host-linux-arm64 (from the Phase 2: removal: weak is stored but not built #161 salvage comment); nix-build now includes installed-output assertions.
    • Carried from closed Phase 2: removal: weak is stored but not built #161: assert the installed nix output (wrapper under env -i, doctor; man/completion/version are Phase 3: range read_flight buffers frames with no cap while more is set #178's). From closed Phase 2: authority judged at causal past or canonical prefix #162: the inline/spawn/remote run modes, the remote command classification, the "every runtime takes TCP against a remote daemon" point, and two remote open questions.
    • Local row: chore(deps): bump build/buck/preludes/buck2-prelude from d956689 to e7457f6 #52's leak fixed in Phase 5: tag event bodies must travel with the event #182; the inherited environment is still Update dependency htmx.org to v1.9.12 #138. Re-cited registry.go, seedElicitation, and ladder lines. Flagged what GIT's native git resolution may change (git in the image, needsGit).

    @dezren39 · 2026-09-30T12:13:37Z

    Issues pass (2026-09-30, architect follow-up). The e2e-no-deno row said it is where #100's auto test runs. As #100 now designs it, that test uses stub runtimes on PATH and runs in any leg. The row's own value is the real bun and node e2e paths with Deno absent -- what a user without Deno gets, which no nix-wrapped run can show. Reworded; ownership (#100, collision 11) unchanged.

  3. dezren39
    added
    enhancementNew feature or request
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    kind/testTest coverage, test infrastructure, or test-only fixes
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 28, 2026
  4. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    Intake review

    • Related: part of the mcpx testing relocation batch (parent/epic references in the body; re-home tracked at mcpx: re-home the open mcpx backlog from dezren39/nix, with this repo as the single source #309). Queued triage task is live in repo-health-code-pilot — this issue is not ownerless.
    • Live check: filed 2026-10-28 ~22:5xZ as a relocation; no open or merged PR implements it yet (checked against the open-PR list this run), and no duplicate open issue covers it.
    • Notes: body is well-scoped with evidence from the original filing; the acceptance criteria appended this pass are drawn from its own Summary/Scope.
    • Risks: historical issue references inside the body use dezren39/nix numbering — a worker must not chase those numbers in this repo. CI-first verification applies (GitHub Actions, never sandbox builds).
    • Suggested approach: triage task confirms the current-state claims on current main, then routes a scoped follow-up packet per the body's scope.

    🤖 Agent note · state: filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-10-28 18:19 CDT
    • Found via: monitor reconciliation (intake enrichment, protocol §5)
    • Task: Intake enrichment — acceptance criteria appended, labels normalized (kind/test, priority/normal, effort/m, app/mcpx), meta/enriched applied.
    • Expectation: effort/m class per the appended acceptance criteria.
  5. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Oct 29, 2026
  7. 211 remaining items

    Load more actions
  8. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 20, 2026
  9. dezren39 commented on Nov 20, 2026

    @dezren39
    dezren39
    on Nov 20, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: done
    task: 19678
    issue: #1983
    lane: oc-code-07 (OpenChamber scheduled lane)
    worker: repo-worker-code
    origin: openchamber-scheduled-lane

    Task 19678 is complete as pr_opened. PR #12093 implements legs 2-4: flake checks.mcpx-e2e output, container CI leg, and scoped two-container remote daemon smoke in the existing mcpx-test matrix. Hosted run 44701960207 had those environment legs and six e2e shards green. The only failing unit check is TestPluginOpsAreGenerated stale ops.gen.ts, which reproduces on clean main (run 44568398215) and is outside this PR scope. Issue remains open for the broader remote-safe /v1+MCP suite follow-up. Sandbox backlog/sweep-log bookkeeping deferred to fleet reconciliation.

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Claim — lane felix, 2026-11-23: starting on #1983 (mcpx test environments). First step is a done check against current origin/main: what of the matrix (devShell, MCPX_TEST_REQUIRE, flake checks/image, container CI job, remote runner) already exists, then I land the missing bounded slice or record verification.

  11. dezren39
    added a commit that references this issue on Nov 23, 2026

    flake: add the mcpx development shell (#1983)

    acddeaf
  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Done check + one slice landed — lane felix, 2026-11-23. Checked item by item against current origin/main. Most of this issue is already implemented; the one missing bounded item (the devShell) is landed in PR #13394; the remainders are filed as sequenced follow-ups. This issue stays open as the tracker for those.

    Already landed (verified on main)

    • Installed-output assertions (wrapper under env -i, doctor, version; man/completion via Phase 3: range read_flight buffers frames with no cap while more is set #178's line): pkgs/mcpx/packaging-test.sh (mcpx: a packaging test -- install the built artifact and check the MCP handshake #1981), wired as checks.mcpx-packaging in lib/default.nix and run by mcpx-nixbuild.yml. Latest nixbuild run green: https://github.com/developing-today/code/actions/runs/45037717489
    • MCPX_TEST_REQUIRE (missing required binary fails instead of skipping): internal/testsupport/require.go (mcpx(testsupport): MCPX_TEST_REQUIRE has two divergent parsers, and CI's python3 entry is enforced by nothing #6904), with the suite-level check TestRequiredBinariesAreOnPath naming every missing entry at once — the "preflight prints what is missing once" step in substance. CI sets it (mcpx.yml: deno,bun,node,python3, with a comment citing this issue; also the nix-e2e leg).
    • Daemon coexistence: the labelling approach was superseded by a stronger guarantee (mcpx testing: e2e inherits the caller's environment -- build it from an allowlist so tests never reach the user's daemon #1992) — the harness builds child environments from an allowlist (testsupport.ChildEnv), and the e2e TestMain refuses to run if a caller-daemon pointer would be inherited and fails if the caller's real daemon set differs after the run. No RequireNoUserDaemon helper exists because the suite-wide guard replaced the per-test label.
    • Container (approach C): the flake is the single version set. packages.mcpx-container (pkgs/mcpx/container-image.nix, Containers: Nix-build audit — mcpx Containerfile, duplicate lab-ops Dockerfile, amd-crd definition-or-waiver #5771) is the shipped image; the Phase 5: tag event bodies must travel with the event #182 user Containerfile was retired in its favour, so the version-drift problem is gone by construction rather than policed by a check. The test image (mcpx-e2e-test-image, exposed as checks.mcpx-e2e) carries deno + bun + nodejs + git + python3 + cacert + /tmp. The container-e2e leg in mcpx-test.yml runs the full e2e suite inside it; the tier-2 nightly (mcpx-tier2-containers.yml, mcpx testing: extended platforms -- which artifacts ship static; alpine, scratch, distroless, flatpak, Fedora, Windows tiers #1987) runs the shipped image and the alpine/scratch/distroless variants — latest run green: https://github.com/developing-today/code/actions/runs/45028138175
    • checks.mcpx-e2e, with one recorded deviation: the check exposes the flake-built test image and the suite runs in it under Docker --init outside the nix build sandbox — the comment in lib/default.nix states why (the suite spawns daemon/runtime process trees that need init to reap them). The open question "does e2e pass in the nix sandbox at all" was answered by routing around the sandbox for that reason. A second leg, nix-e2e, runs the full suite against the wrapped flake binary on the host with MCPX_TEST_REQUIRE set.
    • Matrix rows present: unit, e2e-host-linux (sharded, measured-time packing), nix-build, nix-flake-check (as the image check above), container, plugin (mcpx.yml + mcpx-test plugin-ts). e2e-host-macos is covered in substance by the nightly stress job in mcpx.yml (full suite on macos-latest under race/shuffle/repeat). e2e-inproc exists as inline-mode tests inside the e2e suite rather than as its own leg. container-user is moot (the Containerfile it named no longer exists).
    • CI evidence: in the latest mcpx-test run (https://github.com/developing-today/code/actions/runs/45038359692) every environment leg is green — flake binary e2e, container e2e, remote daemon smoke, all six e2e shards. That run's unit and lint basic legs are red on main; that is outside this issue's scope and is filed as ci(mcpx): nightly mcpx-test basic legs red on main — unit TestNoPackageRedeclaresADefault + lint #13393.

    Landed by this pass

    • devShell nix develop .#mcpx — PR flake: add the mcpx development shell (#1983 local leg) #13394 (the Local section's step 1; steps 2–3 were already in). Verified remotely: dispatch fp_6f3aa6cd9646091409681f250752a79b, run https://github.com/developing-today-forks/fleet/actions/runs/45200506277 — inside the shell: go1.27.3, deno 2.9.8, bun 1.4.4, node v24.21.0, Python 3.14.8, git 2.56.0, gopls v0.24.0, golangci-lint 2.15.0.

    Remainders (filed, sequenced)

    • test(mcpx): remote-safe e2e subset — per-test needs selection + remote runner leg #13386 — remote-safe e2e subset: per-test needs/opt-in selection + a remote runner leg running the real assertions. Today remote-smoke proves only the cross-container TCP transport (status), so the Remote section is the one genuinely partial leg.
    • ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH #13387 — e2e-no-deno leg (bun + node only on PATH; the auto behaviour a Deno-less user gets).
    • ci(mcpx): e2e-host-linux-arm64 leg (tier 2) #13388 — e2e-host-linux-arm64 leg (tier 2, marked open in this issue's own table).

    New dependencies: none (the devShell uses only the flake's existing nixpkgs input). Schedules touched: none.

  13. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13394 from developing-today/felix/1983-mcpx-devshell

    9904c3a
  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Merged note — Felix, 2026-11-23: PR #13394 merged after my review. The mcpx dev shell (nix develop .#mcpx) was the one missing bounded slice; the rest of this issue verified as already landed in the record above. Remote proof at the merged head: the shell opens and carries the pinned tool set (go 1.27.3, deno 2.9.8, bun 1.4.4, node 24, gopls, golangci-lint). Issue stays open as tracker for follow-ups #13386 (remote-safe e2e subset), #13387 (no-deno leg), #13388 (arm64 leg); the red nightly legs the lane spotted are filed separately as #13393.

  15. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second-pass verify (lane code-h, task 21780), fresh state 2026-11-24:

    Verdict: delivered in substance; last remainder tracked and owned elsewhere — no packet routed.

    • Issue OPEN; canonical PR ci(mcpx): wire flake container and remote env legs #12093 MERGED 2026-11-21 (legs 2-4: flake checks.mcpx-e2e output, container CI leg, two-container remote daemon smoke).
    • devShell slice PR flake: add the mcpx development shell (#1983 local leg) #13394 MERGED 2026-11-23 (nix develop .#mcpx with pinned tool set, remotely verified).
    • Felix 2026-11-23 remainder set all resolved except one: test(mcpx): remote-safe e2e subset — per-test needs selection + remote runner leg #13386 CLOSED, ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH #13387 CLOSED, ci(mcpx): nightly mcpx-test basic legs red on main — unit TestNoPackageRedeclaresADefault + lint #13393 CLOSED.
    • Sole remainder ci(mcpx): e2e-host-linux-arm64 leg (tier 2) #13388 (arm64 leg) is OPEN but landed: PR ci(mcpx): add e2e-host-linux-arm64 leg to mcpx-test (#13388) #13513 merged (merge 4518255), leg mirrors nix-e2e on ubuntu-24.04-arm against .#packages.aarch64-linux.mcpx. Verification dispatch 45227606720 ran the full suite on arm64; the leg's only failures are two pre-existing main defects (docs link + registry var) that fail identically on the x86_64 leg, tracked under mcpx: full-suite health on main blocks #8465 close condition (conformance/daemon/defaults/e2e/execsvc/sdnotify) #13481 with its own lanes slicing it.
    • No follow-on packet: the only unfinished acceptance (arm leg green) is gated on mcpx: full-suite health on main blocks #8465 close condition (conformance/daemon/defaults/e2e/execsvc/sdnotify) #13481's slices, which already own it. Routing a packet here would duplicate that work.
  16. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Triage verdict (lane xaltha, 2026-11-26, queue task 24913, checked live): RESOLVED — delivered in substance, closing.

    All environments defined in this issue are landed as CI matrix entries / legs:

    • Canonical PR ci(mcpx): wire flake container and remote env legs #12093 MERGED 2026-11-21: flake checks.mcpx-e2e, container CI leg, two-container remote daemon smoke.
    • devShell slice PR flake: add the mcpx development shell (#1983 local leg) #13394 MERGED 2026-11-23: nix develop .#mcpx with the pinned tool set, remotely verified.
    • MCPX_TEST_REQUIRE PR mcpx: MCPX_TEST_REQUIRE — required runtimes fail instead of skipping (#1983 step 1) #3696 MERGED: required runtimes fail instead of silently skipping.
    • Follow-up tracker set from the 2026-11-23 Felix note is now fully closed: test(mcpx): remote-safe e2e subset — per-test needs selection + remote runner leg #13386 CLOSED, ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH #13387 CLOSED, ci(mcpx): nightly mcpx-test basic legs red on main — unit TestNoPackageRedeclaresADefault + lint #13393 CLOSED, ci(mcpx): e2e-host-linux-arm64 leg (tier 2) #13388 CLOSED (2026-11-24, arm64 leg landed via PR ci(mcpx): add e2e-host-linux-arm64 leg to mcpx-test (#13388) #13513; its two mcpx: full-suite health on main blocks #8465 close condition (conformance/daemon/defaults/e2e/execsvc/sdnotify) #13481 blockers fixed by PRs docs(mcpx): cite the file that defines api.Ops in the glossary #13549 and test(mcpx/e2e): classify MCPX_ADAPTERS_ALLOW_BARE as harness-set (#13481 slice) #13636, green mcpx-test run 45269539457).

    No open PR references this slice and no live lane claim remains. #13481 stays open for separate full-suite health work (e.g. sdnotify) under its own issue — it no longer gates this tracker. No code change in this triage run.

  17. dezren39
    closed this as completedon Nov 26, 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

    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workenhancementNew feature or requestkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    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.