Repository navigation
Done
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)epic/mcpx-platformReprioritization program epic (2026-11-12)kind/testTest coverage, test infrastructure, or test-only fixesprimary-parent/mcpx-platformPrimary parent epic mcpx-platform (design §3)queue/queuedHas a queued queue taskstatus/needs-triageNot yet triaged; needs a first lookstatus/parkedDeliberately paused with a recorded resume conditionstatus:in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
Description
What
#8465's close condition ("the full pkgs/mcpx suite including guardedMain passes") cannot be met at current main for reasons entirely outside #8465's landed change (PR #11240, internal/e2e test files + exemptions only). This issue tracks the suite-health remainder so #8465 can close when it clears.
Evidence — full suite at main 1c75bc0 (2026-11-23)
Dispatched remotely per REMOTE BUILDS ONLY: cd pkgs/mcpx && go test ./... -count=1 — run 45215758125 (developing-today/fleet fleet-command), conclusion failure. Failing packages:
- internal/conformance —
TestMatrix:internal/conformance/requirements.json is stale; regenerate with MCPX_UPDATE_MATRIX=1 go test ./internal/conformance -run TestMatrix - internal/daemon —
TestScriptViewCommandTimeoutKillsSpawnedWorkers(5.35s) - internal/defaults —
TestEveryDocumentationLinkResolves(0.10s). Same package family as ci(mcpx): nightly mcpx-test basic legs red on main — unit TestNoPackageRedeclaresADefault + lint #13393 (nightly unit leg), different test. - internal/e2e —
TestEnvCleanupStopsTheDaemonItStarted(20.68s) andTestEveryRegistryVariableIsHarnessSetOrSafefailed, then the package hit the 10m go-test timeout (600.019s) — so guardedMain's end-of-run feature-coverage evaluation never ran. - internal/execsvc —
TestFailureKindPreflightTimeout(0.01s) - internal/sdnotify — 10m timeout (600.009s), no named failing test before the panic.
Everything else passed, including internal/settings (the #9017 doc-test failure from 2026-11-17 did not reproduce) and all five #8465 coverage exercises plus the six feature-coverage guard unit tests in a targeted run (run 45219444551, all PASS).
Acceptance
- Each failing package above is green in a full
go test ./... -count=1run in pkgs/mcpx at then-current main, with the e2e package completing inside the timeout so guardedMain evaluates. - When that run is green, mcpx coverage burn-down: CLI commands (running group) with no integration-test exercise #8465 closes per its own acceptance.
Metadata
Metadata
Assignees
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)epic/mcpx-platformReprioritization program epic (2026-11-12)kind/testTest coverage, test infrastructure, or test-only fixesprimary-parent/mcpx-platformPrimary parent epic mcpx-platform (design §3)queue/queuedHas a queued queue taskstatus/needs-triageNot yet triaged; needs a first lookstatus/parkedDeliberately paused with a recorded resume conditionstatus:in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
Activity
developing-today commentedon Nov 23, 2026
CODE-4916
dezren39 commentedon Nov 23, 2026
agent-note:v1 — claim: Lane AU7 (archer), 2026-11-23. Taking ONE slice of #13481: the internal/conformance failure —
TestMatrixreportsinternal/conformance/requirements.json is stale; regenerate with MCPX_UPDATE_MATRIX=1 go test ./internal/conformance -run TestMatrix.Premise + ownership check (fresh, 2026-11-23): issue open; comments count-confirmed at 1 (automated Kaneo link only); no lane claim, no user/* label, no design/ratification gate, no recorded flag hold.
fleet agent nextreturned no claimable task (queue rung down), so this was picked directly from GitHub. The regeneration is the test's own prescribed remedy and the generator is the oracle; I will inspect the produced diff before landing it.Out of this slice (issue stays open on them): internal/daemon, internal/defaults, internal/e2e, internal/execsvc, internal/sdnotify failures. #8465's close condition needs the whole suite, so this slice does not close #13481 or #8465.
dezren39 commentedon Nov 23, 2026
Evidence for #13481 from Lane AAP's #13388 verification (dispatch run 45227606720 on main at
4518255b08f):Two failures in the mcpx suite are currently the whole red story for the
mcpx-testworkflow's nix legs — both fail identically on x86_64 and on the new aarch64 leg, and together they also explain that run'sunitande2e (shard 3)failures:internal/defaults—TestEveryDocumentationLinkResolves:docs/glossary.md:71namesinternal/api.Ops, which does not exist (links_test.go:169).internal/e2e—TestEveryRegistryVariableIsHarnessSetOrSafe:MCPX_ADAPTERS_ALLOW_BARE(adapters.allowBare) is in neither table; classify it as harnessSetMCPX or safeMCPX (envguard_test.go:315).Everything else in the in-build suite passed on aarch64 (including the rest of
internal/e2e, 745s). Recorded here so the defaults/e2e slices of this issue have the exact current failure text; #13388's arm leg turns green once these two land.dezren39 commentedon Nov 23, 2026
Lane AU7 — scope note on this claim. The conformance slice I claimed is already green at current main (record follows in the outcome note). While verifying the remaining packages named here,
internal/defaults—TestEveryDocumentationLinkResolves— still fails deterministically at main074d39603ac, with exactly one dangling reference:docs/glossary.md:71citesinternal/api.Ops, which the guard reads as a file path; the symbol is real (func Ops() []Op, internal/api/ops.go:217) but no such file exists. I am extending this lane's slice to that one-line documentation fix: cite the defining file alongside the symbol. The e2e and sdnotify timeout-class failures remain out of scope.dezren39 commentedon Nov 23, 2026
Lane AU7 — outcome: the internal/defaults slice LANDED (PR #13549); the internal/conformance slice verified already green. #13481 stays open on the e2e/sdnotify timeout class.
Conformance (claimed slice): premise stale at current main — no change needed. At main
074d39603ac, on the laptop:go test ./internal/conformance -run TestMatrix -count=1passes, and the full package passes (ok, 93.6s). The stale-matrix failure in this issue's evidence (main1c75bc07ea0c, run 45215758125) was resolved by PR #13422 (commit9c257f64cf4), the only conformance-touching commit since the evidence commit, which regenerated the matrix consistently with its EscapeAngles change.Defaults (added slice): landed.
TestEveryDocumentationLinkResolvesstill failed deterministically at074d39603acwith one dangling reference:docs/glossary.md:71citedinternal/api.Ops, which the guard reads as a file path. The symbol is real (func Ops() []Op, internal/api/ops.go:217); the entry now cites it with its defining file. PR #13549 merged asbed2e7501577c91d440eedc2fd9a54f1a02a71ec. Verification on the laptop: failing first (exact message above), thengo test ./internal/defaults -count=1→ ok (0.851s).Spot checks of the other named tests at
074d39603ac(single-test runs, laptop):internal/execsvcTestFailureKindPreflightTimeout— pass;internal/daemonTestScriptViewCommandTimeoutKillsSpawnedWorkers— pass. Not re-run: theinternal/e2eandinternal/sdnotify10-minute-timeout failures — that class is the issue's remaining work, along with a full-suitego test ./... -count=1green run as the acceptance oracle. #8465's close condition is therefore not yet met and this issue stays open.dezren39 commentedon Nov 23, 2026
agent-note:v1 — slice claim: Lane AU36 (archer), 2026-11-23. Taking ONE slice of #13481: the internal/e2e failure
TestEveryRegistryVariableIsHarnessSetOrSafe—MCPX_ADAPTERS_ALLOW_BARE(settingadapters.allowBare) is declared in the settings registry but classified in neither envguard table (harnessSetMCPX/safeMCPXinpkgs/mcpx/internal/e2e/envguard_test.go). This is the failure AAP's evidence note (2026-11-23T17:54Z) recorded from run 45227606720.Scope: classify the variable into the correct table per the guard's own definitions (the e2e package sets it for its own child env in the
adapters.allowBareeffect probe,internal/e2e/effect_test.go), verified by the guard's static + behaviour halves. NOT in scope: the internal/e2e + internal/sdnotify 10-minute timeout class, which remains the open remainder of this issue. Worktree on laptop, branchlane-au36-13481-envguard, off main.Merge pull request #13636 from developing-today/lane-au36-13481-envguard
dezren39 commentedon Nov 23, 2026
Lane AU36 — outcome: the internal/e2e env-guard slice LANDED (PR #13636, merge
06450991e33b). #13481 stays open on the e2e/sdnotify timeout class.Fix (one line):
MCPX_ADAPTERS_ALLOW_BAREadded toharnessSetMCPXinpkgs/mcpx/internal/e2e/envguard_test.go. The variable is the env name of theadapters.allowBaresetting (declared ininternal/settings/scriptenv.go); the harness classification follows the guard's own definitions — the e2e package sets the variable for its own child env in theadapters.allowBareeffect probe (internal/e2e/effect_test.go,e.setenv("MCPX_ADAPTERS_ALLOW_BARE=true")), so it is harness-set, not safe-by-default.Verification (laptop worktree off main
a4f0344b89a, oracle = the guard itself):go test ./internal/e2e -run TestEveryRegistryVariableIsHarnessSetOrSafe -count=1failed with exactly one unclassified variable — this one.TestEveryRegistryVariableIsHarnessSetOrSafePASS,TestTheHarnessBuildsChildrenFromTheAllowlistPASS (package resultokon re-run), and the effect probeTestAdaptersAllowBareGatesABareDeclarationPASS. gofmt clean; diff is +1 line.This removes one of the two suite failures AAP's evidence note recorded for the mcpx-test workflow legs. The remaining #13481 remainder is unchanged: the internal/e2e + internal/sdnotify 10-minute timeout class (and the daemon/execsvc timing failures named in the body), so #8465's close condition is still unmet.
dezren39 commentedon Nov 24, 2026
Triage verdict (oc-code-02, 2026-11-24): not resolved. Conformance and defaults slices are green/landed (#13549, #13636 per the lane AU7 and AU36 outcomes). The e2e/sdnotify timeout class remains open; routing that as the scoped follow-on. Tracking: #14158.
dezren39 commentedon Nov 24, 2026
Task 23461 (lane code-j) findings:
go test ./... -count=1(no -timeout) fails at internal/e2e 600.091s = go test default 10m. Same tree passes with explicit timeout (run 45464939256 flake legs: e2e 795.930s / 749.644s ok).dezren39 commentedon Nov 24, 2026
Update: remote full-suite dispatch on the fix branch (Fleet run 45483167415, command
go test ./... -count=1 -timeout 25m) exceeded the Fleet runner maximum execution time of 1 hour and was cancelled. This is not a test failure result, but it also does not satisfy the full-suite acceptance. PR #14595 now describes this limitation and remains open; the timeout-budget fix still needs a complete run.dezren39 commentedon Nov 24, 2026
Task 23461 (lane code-j) — timeout-budget fix LANDED; bounded current-main verification dispatched.
d4abccb4742c7e4d2e6536302f794d99b029b5da(merge commit, headc2b7b642562). It adds-timeout 25mto the serial full-suite leg (.github/workflows/mcpx.yml:242) and to the release-runbook check, so no serial leg inherits go test's 10m default again.git diff --checkclean; CI policy forbids PR CI, so this was the merge-time check.gh run viewannotation on the Linux job reads "The job has exceeded the maximum execution time of 1h0m0s" — a Fleet runner wall limit, work started at 20:42:01Z and was cut at 21:40:13Z (58m). No test output survived (log artifact empty), so it produced no verdict either way. The fix never showed a red test.go test ./... -count=1 -timeout 25m -jsonon maind4abccb4742, wrapped intimeout -s QUIT -k 20s 24mso a hang yields a goroutine dump and a named test before the runner wall, plus-jsonteed tofleet-output/mcpx-full.json. Acceptance reads from that run (e2e completing inside the timeout so guardedMain evaluates).62 remaining items
dezren39 commentedon Nov 30, 2026
Verdict — lane 2347-R-O (Xaltha seat, 2026-11-30): item 4 of the 0156-W-D blocker list is GREEN on current main; slice closed, no code change needed from this lane.
fc6ea3e4b"fix(mcpx): daemon.warm=false now gates the opportunistic warmIfCold read" —warmIfColdinpkgs/mcpx/internal/daemon/consumer.gonow returns early whendaemon.warmis false, with the hermetic oracleTestWarmIfColdRespectsDaemonWarminpkgs/mcpx/internal/daemon/warm_gate_test.go.7ed58d9dff(branchxaltha/13481-warm-env, identical tree): fleet-run run 46363609627 SUCCESS; job log read firsthand:TestWarmIfColdRespectsDaemonWarm— PASS (0.01s)TestDaemonWarmReadsTheServersAtStartupFromTheEnvironment(internal/e2e) — PASS (69.61s)TestFailureKindPreflightTimeout, venue Node gap in the standard runner image) and item 5 (TestRestartReportsAServerThatDoesNotComeBack, mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407 supervisor-socket family). Items 1, 3, 4 are now all landed/verified.dezren39 commentedon Nov 30, 2026
Claim — lane 2347-R-O (Xaltha seat, 2026-11-30). Taking item 2 of the 0156-W-D blocker list (
TestFailureKindPreflightTimeout, internal/execsvc) as a code slice, not just a venue note. Root cause found in source: the test pinsRuntime: "node"and stubsnpm, but guards only withneedRuntime(t)— which resolvesautoand passes when deno/bun exists. On a node-less venue the run diesnot_startedbefore the frozen-npm preflight can time out. Sibling node-pinned tests in internal/runner (deps_test.go, dispatch_test.go) already guard withexec.LookPath("node")+ skip; this test is the unguarded member of the class. Fix: give the test the same node-specific guard (skip, not fail, when node is absent — the doctrine stated on needRuntime itself), and audit internal/execsvc for other node-pinned tests with only the auto guard. Verification: reproduce FAIL on the node-less fleet-run image at pre-fix head, then PASS/skip post-fix, plus the full internal/execsvc package on the same venue.test(mcpx/execsvc): guard node-pinned preflight-timeout test on node,…
Merge pull request #17100 from developing-today/xaltha/13481-prefligh…
dezren39 commentedon Nov 30, 2026
Item 2 LANDED — lane 2347-R-O (Xaltha seat, 2026-11-30). PR #17100 MERGED 2026-11-30T06:23:34Z (merge 6013e56).
Root cause was code-side, not only venue:
TestFailureKindPreflightTimeoutpinsRuntime: "node"(its frozen-install preflight is npm) but guarded withneedRuntime(t), which resolvesautoand passes when any JS runtime exists. Fix: guard on node viarunner.Resolve("node", ...)+ skip — the pattern already used byTestCheckWarnDiagnosticReachesSuccessResultin the same package. Class audit: internal/execsvc had exactly one such unguarded node-pinned test; the deno-pinnedTestDepsSurviveANonNilSinkalready guards on deno.Evidence:
--- FAIL: TestFailureKindPreflightTimeout — timedOut=false, kind="not_started", error="node not found"— the exact signature from the 2026-11-29 acceptance measurement.go vetclean, fullgo test ./internal/execsvc -count=1ok (2.624s), named test--- SKIPon the node-less venue. On node venues the test body is unchanged.Remaining for this issue's acceptance: item 5 only (
TestRestartReportsAServerThatDoesNotComeBack, supervisor attach family). Items 1, 2, 3, 4 are landed/verified.dezren39 commentedon Nov 30, 2026
Claim — lane 2347-R-O (Xaltha seat, 2026-11-30). Taking the last remaining blocker from the 0156-W-D list, item 5:
TestRestartReportsAServerThatDoesNotComeBack(internal/e2e) — supervisor did not attach within 5s (unix socket under /tmp/mcpx-sup) in the 2026-11-29 full-suite measurement at 4a8555a. First step is a fresh single-test reproduction on current main via fleet-run; if it passes repeatedly I will record the verdict, if it fails I will diagnose the attach path. Items 1-4 are landed/verified (see notes above).dezren39 commentedon Nov 30, 2026
Item 5 verdict — lane 2347-R-O (2026-11-30): GREEN standalone on current main. fleet-run run 46366075979 at main:
TestRestartReportsAServerThatDoesNotComeBack -count=3— PASS x3 (75.49s cold, 0.26s, 0.36s). The 2026-11-29 failure signature (supervisor did not attach within 5s) did not reproduce outside full-suite load. With items 1-4 landed/verified, every named blocker from the 0156-W-D measurement is now individually green; what remains is this issue's acceptance run itself — fullgo test ./... -count=1 -timeout 25min pkgs/mcpx at current main, dispatched as fleet-run run 46366975361; verdict follows here. If it is green, this issue closes and #8465's close condition is met per its own acceptance.dezren39 commentedon Nov 30, 2026
Wake recorded — lane 2347-R-O standing down (2026-11-30). Two verification runs were still in_progress at lane end; their verdicts must be collected here by the next lane:
go test ./... -count=1 -timeout 25min pkgs/mcpx at main, dispatched 2026-11-30T06:31Z. If it concludes SUCCESS, this issue's acceptance is met (all five 0156-W-D blockers individually landed/verified: test(e2e): wait for the warm client in the tool-parity control (#13481) #16699, PR test(mcpx/execsvc): guard node-pinned preflight-timeout test on node, not any runtime (#13481) #17100, test(mcpx): env cleanup waits for its daemons to actually exit #16821, warm verdict run 46363609627, restart verdict run 46366075979) — close mcpx: full-suite health on main blocks #8465 close condition (conformance/daemon/defaults/e2e/execsvc/sdnotify) #13481 with the run as evidence. If FAILURE, read the log, name the failing tests, and file/pick up the bounded slices.Local note: during this window the sandbox gh cache daemon (127.0.0.1:4802) died once and init-ensure was run; pooled gh fell back to in-process resolution and recovered.
dezren39 commentedon Nov 30, 2026
Acceptance verdict recorded — lane 0212-C (Xaltha seat, 2026-11-30), collecting the wake left by lane 2347-R-O.
The two verification runs produced NO verdict — both CANCELLED, logs not retained:
750d1a67e, targeting developing-today/code main at/after PR test(mcpx/execsvc): guard node-pinned preflight-timeout test on node, not any runtime (#13481) #17100's merge6013e568f): fullgo test ./... -count=1 -timeout 25min pkgs/mcpx. Setup job SUCCESS; the run job started 06:34:23Z and was CANCELLED at 07:39:23Z (~65 min in). Job log is unavailable (Actions returns BlobNotFound for the cancelled job), so no test output survives.This is a no-verdict infra outcome, not a failure on a real defect: neither run left any failing-test evidence, so no fix-forward is owed on a defect.
Does the closure stand? Yes — verified on per-package evidence. #13481 was closed by the fleet bot 2026-11-29T13:49:47Z. Every blocker named in the 0156-W-D acceptance measurement has since been individually landed or verified green on main by lane 2347-R-O: item 1 #16699, item 3 #16821 (merge
90d1fc138), item 2 PR #17100 (merge6013e568f), item 4 warm-gate verdict (run 46363609627; fixfc6ea3e4balready on main), item 5 restart verdict (run 46366075979, PASS ×3). The closure stands as verified on that basis.One literal gap, with a wake: the acceptance text asks for the packages green in a single full-suite run; that single-run demonstration is still outstanding because both full-suite runs were cancelled without logs. Fresh acceptance run 46380484917 dispatched by this lane at code main
94e7883fde76a34889d19bb6b8fd05c2b98e1ffa(fullgo test ./... -count=1 -timeout 25min pkgs/mcpx). Wake for the next lane: if it concludes SUCCESS, note it here and the literal acceptance is met; if FAILURE, read the log, name the failing tests, and file bounded slices; if CANCELLED again with no log, the per-package verdict above stands and no further re-dispatch is owed.dezren39 commentedon Nov 30, 2026
🤖 Wake verdict — Xaltha lane 0212-AW (2026-11-30): the acceptance wake run has concluded — CANCELLED, infra no-verdict.
Lane 0212-C left run 46380484917 (developing-today/fleet fleet-run) as this issue's acceptance wake. Firsthand readback: status completed, conclusion cancelled, head 750d1a67e. No test verdict exists in that run, so no defect fix-forward is owed from it; the closure of this issue continues to stand on the per-package evidence already recorded here. Wake discharged.
dezren39 commentedon Nov 30, 2026
Claim — lane 0212-BG (xaltha, 2026-11-30): the #13481 acceptance run.
Collecting the standing wake: all five 0156-W-D blockers are individually landed/verified green (PR #16699, PR #17100, #16821, warm verdict run 46363609627, restart verdict run 46366075979), and three full-suite acceptance dispatches (46366975361, 46366120385, 46380484917) all concluded CANCELLED with no verdict. This lane re-dispatches the full
go test ./... -count=1 -timeout 25min pkgs/mcpx at current main via fleet-run and will record the verdict here: SUCCESS → close #13481 on the per-package evidence + this run; FAILURE → read the log and fix forward.dezren39 commentedon Nov 30, 2026
Lane 0212-BG wake update: acceptance run dispatched — run 46398939038 (fleet-run, developing-today/fleet; command marker
BG-13481-ACCEPT,go test ./... -count=1 -timeout 25min pkgs/mcpx at code main). Verdict will be recorded here on conclusion: SUCCESS → close #13481; FAILURE → log read + fix forward. (Infra note: pooled fleet gh writes hung repeatedly this run — cache daemon down; this lane switched to the documented FLEET_GH_RAW=1 last-resort route after repeated demonstrated pooled failures, recorded in the lane log.)dezren39 commentedon Nov 30, 2026
Acceptance verdict — lane 0212-BG (2026-11-30): run 46398939038 concluded FAILURE — the first real verdict after three CANCELLED dispatches — and the failure is a code defect on current main, log read firsthand.
BG-13481-ACCEPTin log):go test ./... -count=1 -timeout 25min pkgs/mcpx at code main b131175.internal/e2e(786.587s). Within e2e, all tests PASSed; the package fails on the feature coverage guard:feature coverage guard: 11 violation(s); see docs/testing/feature-inventory.md (#1978)— settingsscript.check,script.checkJs,script.checkOnError,script.importsCrossProject,script.importsNetwork,script.importsOnMissing,script.permissions,script.profiles,script.runtime,script.runtimeOrder,script.runtimeseach have "no integration-test ledger row or reasoned exemption".dezren39 commentedon Nov 30, 2026
Root cause of the run-46398939038 guard failure — lane 0212-BG, from firsthand code reads at main b131175:
The 11 violating
script.*settings all HAVE effect probes (settings.EffectProbesininternal/settings/effect.gomaps each to a real e2e test). Every one of those probe tests opens withtestsupport.RequireBinary(t, "deno")or"node"and only reaches the ledger-recordingnewEnv/recordSettingProbesafter it. The fleet-command venue has neither binary (the same venue gap 0156-W-D recorded as item 2 for execsvc: "the standard fleet-command image has no Node"), so all 11 probes skip, no ledger rows are written, and the coverage guard — correctly, by its design — refuses to call the run covered. Every test that could run in the venue passed.Unblock (named): a verification image with Go + Node + Deno (extends the Go+Node image 0156-W-D item 2 already calls for), or run this acceptance in a venue that has the runtimes. Weakening the guard or crediting skipped probes would fake coverage and is not the fix. Wake: first full-suite run in a runtime-complete venue concluding SUCCESS closes #13481; this lane stands down with the verdict + root cause recorded.
developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note · lane 0900-BH (verification/wake gen-2) — WAKE DISCHARGED for run 46271829479 (wake posted in comment 7257414726 for PR #16821 slice 3).
Verdict: checkout-after-merge NO-VERDICT. Run 46271829479 (developing-today/fleet fleet-command, https://github.com/developing-today/fleet/actions/runs/46271829479) concluded
failureon 2026-11-29, but the log shows the failure is in the target-checkout step:Fleet target checkout fetch failed for repo=developing-today/code ref=xaltha/13481-cleanup-wait—fatal: couldn't find remote ref refs/heads/xaltha/13481-cleanup-wait(branch deleted after PR #16821 merged). The venue's own annotation states: "Fleet target checkout failed before command execution … The target command did not run."So the guard test (
-count=5 -race -shuffle=on+TestStopAllShutsEverythingDownat f071eae) never executed in this run — this is NOT a failure of the merged slice, and no fix-forward is owed from it. The companion control run 46270538777 named in the same wake is not found in either fleet repo's Actions (404) and cannot be harvested.#13481 is CLOSED (completed); this note is the verdict record only — nothing reopened, per the wake-discharge brief.