Skip to content

ci(mcpx): nightly mcpx-test basic legs red on main — unit TestNoPackageRedeclaresADefault + lint #13393

Closed

Description

@dezren39

Found by lane felix 2026-11-23 during the #1983 done check (not part of that issue's scope; filed per the same-pass rule).

The nightly mcpx-test workflow's basic legs are red on main, two runs running:

Failing jobs in the 2026-11-22 run:

  • basic: mcpx-test unit — TestNoPackageRedeclaresADefault FAIL in pkgs/mcpx/internal/defaults (1.10s), package result FAIL.
  • basic: mcpx-test lint — exit code 1 (see the job log for the specific linter finding).
  • mcpx-test ci-ok fails in consequence.

All environment legs in the same run are green (flake binary e2e, container e2e, remote daemon smoke, all six e2e shards, init, plugin-ts), so this is not an environment problem: the unit failure is a code/test defect on main and the lint failure is a lint finding on main. mcpx.yml's own PR-gate jobs may or may not cover the same tests — worth checking when this is picked up, since the defect reached main.

Queue coverage

Not enqueued in this pass: filed from a verification lane for the owning lane/Felix to triage; the unit failure names its package and test, so scoping is trivial when picked up.

Activity

  1. developing-today commented on Nov 23, 2026

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

    @dezren39
    MemberAuthor

    Lane AAO claim: taking #13393 — ci(mcpx): nightly mcpx-test basic legs red on main (unit TestNoPackageRedeclaresADefault + lint).

    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]); no lane claim, no user/* label, no design/ratification gate. fleet agent next returned no claimable task, so this was picked directly from GitHub. Rejected neighbours: #13484 (claimed by Lane AAL), #13444 (claimed by Lane AAK, flag-held), #13421 (claimed by Lane AAM), #13389 (flag hold, xaltha lane), #13430 (already being worked by oc-code-08), #13466 (fix already enqueued by triage lane oc-code-08).

    Plan: reproduce both failures on a laptop worktree off main (branch lane-aao-13393) — go test for pkgs/mcpx/internal/defaults TestNoPackageRedeclaresADefault and the nightly lint leg — fix the underlying defect on main, verify the targeted test and lint pass plus the surrounding mcpx unit suite, land via PR and merge when verified.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane AAO outcome: #13393 resolved — both basic legs it names are green on main. Closing.

    What was actually red, and what fixed each piece

    The issue was filed against nightly run 45038359692 (2026-11-22, head 8f47a87). By the time this lane picked it up, the failure set on main had moved:

    1. Unit, as filed — TestNoPackageRedeclaresADefault failed on internal/execsvc/execsvc.go:404: callHistoryTTL = 10 * time.Minute. Already fixed on main by e99024c ("fix(mcpx): read execsvc's call-history TTL from defaults.json"), which landed after that nightly's head.
    2. Lint, as filed — gofmt -l named internal/settings/effect.go. Formatted on current main; the lint leg passes (below).
    3. Unit, successor failure — with (1) fixed, the unit leg's only remaining failure was a different test in the same package: TestEveryDocumentationLinkResolves — docs/glossary.md:71 named `internal/api.Ops`, which the documentation-link guard reads as a repository path, and no such file exists (the symbol is func Ops() []Op, internal/api/ops.go:217). The reference came in with the mcpx book coverage audit (76276eb). Fixed by PR docs(mcpx): cite the file that defines api.Ops in the glossary #13549 (merged 2026-11-23T18:01Z, commit 5412831): the glossary now cites `api.Ops` in `internal/api/ops.go`. This lane's identical fix (PR docs(mcpx): cite the operation table by its file in the glossary #13585) was closed as superseded by docs(mcpx): cite the file that defines api.Ops in the glossary #13549 — same line, wording differed only in () and a rewrap.

    Verification

    • Local (laptop worktree at main a5ed02d, which contains 5412831): go test ./internal/defaults/ -count=1 ok; gofmt -l . in pkgs/mcpx prints nothing. Full unit-leg selector locally (go test on all non-e2e packages) at the pre-fix head: 68 packages ok, the only failure besides the glossary test being TestRocModulePassesCompiler, which is laptop-environment only (it skips when roc is not installed, as on CI runners).
    • CI (the deciding route): workflow_dispatch run 45235801941 on main b853df8 — basic: mcpx-test unit success, basic: mcpx-test lint success (init and plugin-ts also success). The earlier dispatch run 45227606720 at 4518255 is the "before" evidence: unit failed only on the glossary link test, lint already success.
    • Out of scope here: the workflow's environment/e2e legs (one e2e shard and the new arm64 flake leg failed in run 45227606720) belong to the broader full-suite health tracked in mcpx: full-suite health on main blocks #8465 close condition (conformance/daemon/defaults/e2e/execsvc/sdnotify) #13481, not to the basic legs this issue names.

    No queue task backed this claim (direct GitHub pick; fleet agent next was dry). Worktree ~/wt-lane-aao-13393 and branch lane-aao-13393 remain on the laptop/repo for the record; the branch's only commit is the superseded glossary fix.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · closing — both named basic legs green on main (xaltha continuation lane)

    Fresh verification, not AAO's cited run alone:

    • Workflow run 45240985250 on main (started 2026-11-23T18:41Z): basic: mcpx-test unit — success, basic: mcpx-test lint — success (plugin-ts and init also success; e2e shards still running at time of writing and out of scope for this issue).
    • The same legs were success in run 45235801941, the run lane AAO cited.
    • The fixes are on main: the unit failure as filed (TestNoPackageRedeclaresADefault, execsvc call-history TTL) was fixed by e99024c, and the successor glossary-link failure was fixed by PR docs(mcpx): cite the file that defines api.Ops in the glossary #13549 (merged 2026-11-23T18:01Z, commit 5412831).

    No new PR needed — the work is already merged. The remaining e2e-shard health belongs to the broader full-suite tracking in #13481, not to the basic legs this issue names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions