GeezerVison is showing github.com — ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH · Issue #13387 · developing-today/code
ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH #13387DescriptionFollow-up from #1983 (mcpx test environments), filed by lane felix 2026-11-23 after a done check against current main.
What is missing
The e2e-no-deno matrix row from #1983: the real bun and node e2e paths with no Deno anywhere on PATH — what a user without Deno gets from script.runtime=auto. No current leg shows this: the host legs always install Deno (setup-deno), and the nix package wrapper suffixes Deno onto PATH, so every wrapped run resolves auto to Deno. A Deno-less user's auto behaviour is untested end to end.
Scope
A leg in .github/workflows/mcpx-test.yml on ubuntu-latest:
- Install bun and node only — no setup-deno — and assert
deno is absent from PATH in the leg, so the leg cannot pass by secretly having it.
MCPX_TEST_REQUIRE=bun,node,python3 (a missing one of those fails, per the mcpx(testsupport): MCPX_TEST_REQUIRE has two divergent parsers, and CI's python3 entry is enforced by nothing #6904 semantics already in internal/testsupport/require.go).
- Run the runtime-focused e2e tests
-run-filtered — at minimum the per-runtime tests in internal/e2e/runtime_test.go (the deno subtests skip via RequireBinary; bun and node subtests must run and pass) plus an auto-resolution probe: with only bun/node present, script.runtime=auto executes successfully. Filtered runs are exempt from the feature-coverage guard by design (featureCoverageGuardViolations returns nil for -run runs), so the leg does not need the full suite.
Acceptance
- The leg is green in CI, with the bun and node subtests shown as run (not skipped) in the output.
- The leg fails if Deno is introduced onto the runner PATH.
Queue coverage
Not enqueued as a pilot task in this pass: #1983 marked the row tier 1 "once #100 lands" (the auto runtime question, historical dezren39/nix numbering), and which existing test owns auto-picks-each-runtime needs confirming when this is scoped. Filed as a sequenced remainder of #1983 for Felix to scope and enqueue. Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
Lane AAP claim: taking #13387 — ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH.
Premise + ownership check (fresh, 2026-11-23): issue open, no labels, comments count-confirmed at 1 (only the automated Kaneo link from developing-today[bot] 2026-11-23T15:03:16Z); no lane claim, no user/* label, no design/ratification gate. fleet agent next returned no claimable task, so this was picked directly from GitHub.
Premise verified first-hand on current main: .github/workflows/mcpx-test.yml has no no-deno leg — every host leg installs Deno (setup-deno) and the nix-e2e leg uses the wrapped binary (which suffixes Deno onto PATH). The auto-resolution probes the issue asked to identify are TestScriptRuntimeSelectsTheRuntime and TestScriptRuntimeOrderRanksTheAutoPick in pkgs/mcpx/internal/e2e/effect_test.go (they adapt to the installed runtime set via firstDefaultRuntime), and the per-runtime tests are in internal/e2e/runtime_test.go (deno subtests skip via RequireBinary).
Plan: add an e2e-no-deno job to mcpx-test.yml (ubuntu-latest; setup-go + setup-bun + setup-node only; assert deno is absent from PATH so the leg fails if Deno is introduced; MCPX_TEST_REQUIRE=bun,node,python3; run the runtime-focused e2e tests plus the two auto probes with -v and assert the bun/node subtests passed rather than skipped), wire it into ci-ok's needs, verify locally on the laptop with a Deno-less PATH, land via PR and merge. dezren39 commented on Nov 23, 2026
Lane AAP hold: execution-risk flag on #13387 — stopped, approval needed.
While creating the laptop worktree for this lane (~/wt-lane-aap-13387, branch lane-aap-13387, off main at be78b49801f), the platform execution-risk check fired on the command output. Per the standing lane guard I stopped immediately:
- Nothing was run, built, tested, or edited inside that checkout — the worktree is left exactly as created.
- The premise stands as verified in my claim (no e2e-no-deno leg exists in
.github/workflows/mcpx-test.yml; the auto probes are TestScriptRuntimeSelectsTheRuntime / TestScriptRuntimeOrderRanksTheAutoPick in pkgs/mcpx/internal/e2e/effect_test.go), and the prepared scope in the claim comment remains the plan.
- This item needs the user's own go-ahead for this specific content before any work inside that checkout proceeds.
dezren39 commented on Nov 23, 2026
Lane OC4 claim: taking #13387 — ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH.
Takeover from Lane AAP, whose run was stopped by the platform execution-risk flag at worktree creation (hold recorded in comment 7108582163). Drew approved this item specifically on 2026-11-23 12:09 CST ("I approve all flags"), clearing the hold for a fresh attempt on a fresh route.
AAP's flagged worktree ~/wt-lane-aap-13387 is NOT being touched — left exactly as created. Work proceeds in a fresh laptop worktree (branch lane-oc4-13387) off current main.
Premise re-verified from the issue body and AAP's first-hand check (claim comment 7108568878): no no-deno leg exists in .github/workflows/mcpx-test.yml — every host leg installs Deno and the nix wrapper suffixes Deno onto PATH. The auto-resolution probes are TestScriptRuntimeSelectsTheRuntime / TestScriptRuntimeOrderRanksTheAutoPick in pkgs/mcpx/internal/e2e/effect_test.go; the per-runtime tests are in internal/e2e/runtime_test.go (deno subtests skip via RequireBinary).
Plan (workflow style mirroring PR #13513, the #13388 arm64 leg): add an e2e-no-deno job to mcpx-test.yml — ubuntu-latest; setup-go + setup-bun + setup-node only, no setup-deno; assert deno is absent from PATH so the leg fails if Deno is introduced; MCPX_TEST_REQUIRE=bun,node,python3; run the runtime-focused e2e tests plus the two auto probes -run-filtered with -v, asserting the bun/node subtests ran rather than skipped; wire the job into ci-ok's needs. Validate the YAML parses, land via PR, and verify by workflow_dispatch on main after merge. dezren39 commented on Nov 23, 2026
Lane OC4 outcome: #13387 LANDED, acceptance verified in CI — closing.
Premise: TRUE — confirmed by Lane AAP's first-hand check (claim comment 7108568878) and by the merged workflow structure: before this change, every host leg installed Deno via setup-deno and both nix legs ran the wrapped binary (whose wrapper suffixes Deno onto PATH), so a Deno-less user's script.runtime=auto behaviour was untested end to end.
Change: PR #13615, merged as 4ec340eb9da8d97cc535d02f4340b8a423f06a37 (branch commit c35afb9c277). Adds the e2e-no-deno job to .github/workflows/mcpx-test.yml (+84/−1) and wires it into ci-ok's needs. The leg: ubuntu-latest; setup-go + setup-bun + setup-node + setup-python, deliberately no setup-deno; a guard step asserts deno is absent from PATH; the test step sets MCPX_TEST_REQUIRE=bun,node,python3 and runs the three per-runtime tests plus TestScriptRuntimeSelectsTheRuntime / TestScriptRuntimeOrderRanksTheAutoPick -run-filtered, asserting from the -json stream that the bun/node subtests ran and passed rather than skipped. YAML validated by parsed readback (jobs, needs, runner, steps).
Local rehearsal (laptop, this branch, before the PR): with a Deno-less PATH (deno unresolvable; go/bun/node/python3 present), the leg's exact filtered go test invocation exited 0 and the outcome assertion showed all six bun/node subtests pass, both auto probes pass, and the three deno subtests skip as designed.
CI verification: workflow_dispatch run 45238058153 on main (head 9b71f7476a, which contains the merge — compare: 2 ahead / 0 behind the merge commit). The e2e-no-deno job (137916244442) completed success at 2026-11-23T18:34:15Z. Its log shows:
deno is absent from PATH, as this leg requires (the guard step — it exits 1 if Deno is introduced onto the runner PATH: acceptance criterion 2)
TestGeneratedClientWorksOnEveryRuntime/bun: pass, .../node: pass
TestSessionIsolationHoldsOnEveryRuntime/bun: pass, .../node: pass
TestDenoExitWorksOnEveryRuntime/bun: pass, .../node: pass
TestScriptRuntimeSelectsTheRuntime: pass, TestScriptRuntimeOrderRanksTheAutoPick: pass
no-deno leg: all required bun/node subtests and auto probes ran and passed (acceptance criterion 1: green, with the bun/node subtests shown as run, not skipped)
Run-level note: the run's overall conclusion reads cancelled — a later dispatch (run 45240985250, 18:41:03Z) in the workflow's cancel-in-progress concurrency group cancelled the still-running nix/container/shard jobs, and ci-ok consequently recorded failure. The e2e-no-deno job had already completed successfully before the cancellation; the cancelled legs are pre-existing legs unrelated to this change, and the newer dispatch re-runs the full workflow at a main that includes this merge.
Leftovers: AAP's flagged worktree ~/wt-lane-aap-13387 was never touched, per the hold terms. My worktree ~/wt-lane-oc4-13387 (branch merged) can be removed whenever.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|