Skip to content

mcpx: full-suite health on main blocks #8465 close condition (conformance/daemon/defaults/e2e/execsvc/sdnotify) #13481

Open

Description

@dezren39

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) and TestEveryRegistryVariableIsHarnessSetOrSafe failed, 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

Refs #8465, #13393.

Activity

  1. added
    kind/testTest coverage, test infrastructure, or test-only fixes
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — claim: Lane AU7 (archer), 2026-11-23. Taking ONE slice of #13481: the internal/conformance failure — TestMatrix reports internal/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 next returned 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.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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-test workflow's nix legs — both fail identically on x86_64 and on the new aarch64 leg, and together they also explain that run's unit and e2e (shard 3) failures:

    • internal/defaults — TestEveryDocumentationLinkResolves: docs/glossary.md:71 names internal/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.

  5. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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 main 074d39603ac, with exactly one dangling reference: docs/glossary.md:71 cites internal/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.

  6. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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=1 passes, and the full package passes (ok, 93.6s). The stale-matrix failure in this issue's evidence (main 1c75bc07ea0c, run 45215758125) was resolved by PR #13422 (commit 9c257f64cf4), the only conformance-touching commit since the evidence commit, which regenerated the matrix consistently with its EscapeAngles change.

    Defaults (added slice): landed. TestEveryDocumentationLinkResolves still failed deterministically at 074d39603ac with one dangling reference: docs/glossary.md:71 cited internal/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 as bed2e7501577c91d440eedc2fd9a54f1a02a71ec. Verification on the laptop: failing first (exact message above), then go test ./internal/defaults -count=1 → ok (0.851s).

    Spot checks of the other named tests at 074d39603ac (single-test runs, laptop): internal/execsvc TestFailureKindPreflightTimeout — pass; internal/daemon TestScriptViewCommandTimeoutKillsSpawnedWorkers — pass. Not re-run: the internal/e2e and internal/sdnotify 10-minute-timeout failures — that class is the issue's remaining work, along with a full-suite go test ./... -count=1 green run as the acceptance oracle. #8465's close condition is therefore not yet met and this issue stays open.

  7. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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 (setting adapters.allowBare) is declared in the settings registry but classified in neither envguard table (harnessSetMCPX / safeMCPX in pkgs/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.allowBare effect 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, branch lane-au36-13481-envguard, off main.

  8. added a commit that references this issue on Nov 23, 2026
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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_BARE added to harnessSetMCPX in pkgs/mcpx/internal/e2e/envguard_test.go. The variable is the env name of the adapters.allowBare setting (declared in internal/settings/scriptenv.go); the harness classification follows the guard's own definitions — the e2e package sets the variable for its own child env in the adapters.allowBare effect 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):

    • Failing-first: go test ./internal/e2e -run TestEveryRegistryVariableIsHarnessSetOrSafe -count=1 failed with exactly one unclassified variable — this one.
    • After the change: TestEveryRegistryVariableIsHarnessSetOrSafe PASS, TestTheHarnessBuildsChildrenFromTheAllowlist PASS (package result ok on re-run), and the effect probe TestAdaptersAllowBareGatesABareDeclaration PASS. 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.

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)kind/testTest coverage, test infrastructure, or test-only fixesstatus:in-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions