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: conformance TestMessagesClient fails in the Nix build — toplevel amd build is red on main · Issue #2696 · developing-today/code

mcpx: conformance TestMessagesClient fails in the Nix build — toplevel amd build is red on main #2696

New issue
Copy link
New issue
Copy link
Closed
Closed
mcpx: conformance TestMessagesClient fails in the Nix build — toplevel amd build is red on main#2696
Copy link
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)kind/ciCI/CD pipelines, workflows, and build automation

Description

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

Found 2026-10-30 while verifying the amd NixOS toplevel build for PR #2684 (base commit 2aec81c): the mcpx package's check phase fails, so nix build .#nixosConfigurations.amd.config.system.build.toplevel cannot complete on current main.

Failing test (from the build log, pkgs/mcpx/package.nix check phase):

--- FAIL: TestMessagesClient (0.99s)
    --- FAIL: TestMessagesClient/2026-07-28/messages/messages-resulttype-extension-values (0.00s)
        messages_test.go:822: declares extensions it does not handle: map[elicitation:map[form:map[]] extensions:map[] roots:map[]]
FAIL	github.com/dezren39/mcpx/internal/conformance	89.947s

All other packages shown in the same run passed (examples, adapter, api, artifacts, buildcheck, cache, catalog, cli, codegen, config, daemon, defaults, diagnose …). The failure is in the conformance suite for protocol version 2026-07-28: the client declares extensions (elicitation/form, extensions, roots) that the messages result-type check says it does not handle.

Impact: the amd toplevel does not build on main until this is fixed, which also blocks nixos-rebuild switch on the laptop. The mcpx derivation's source is only the pkgs/mcpx/ subtree (src = ./. in package.nix), so this is independent of any non-mcpx change.

Distinct from #290 (TestTerminateOrphanedSession flake).

Activity

  1. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Oct 30, 2026
  2. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    Agent note — picked up

    • Queue task: 3923 (lane E, ci_investigation)
    • Investigating TestMessagesClient/2026-07-28 messages-resulttype-extension-values: reproducing targeted on the laptop, tracing where the client declares the unhandled extensions.
  3. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    Agent note — investigation complete: already fixed on current main (queue task 3923)

    Root cause: at the reported base 2aec81c, TestMessagesClient/messages-resulttype-extension-values treated the mere presence of the extensions capability key as a violation. The client deliberately declares an empty extensions map on modern connections (register CAP-11, #1918) — the failure output in this issue shows exactly that (extensions:map[], empty). So the guard, not the client, was wrong.

    Fix: commit 2b67d01 ("fix(mcpx): conformance guard accepts CAP-11 empty extensions declaration", for #2653) landed 2026-10-30 04:55 CDT — 19 minutes after the base commit this issue was verified against (2aec81c, 04:36 CDT) — scoping the guard to non-empty maps. It is an ancestor of current main.

    Verified this pass on current main (e616aef):

    • go test ./internal/conformance/ -run TestMessagesClient -count=1 — ok (full test, all revisions).
    • The named subtest passes individually as well.

    So the mcpx check phase failure that blocked the amd toplevel build is gone from main; a fresh nix build .#nixosConfigurations.amd.config.system.build.toplevel should get past this test. (Unrelated: the conformance package still has the separate TestMatrix/authsplit failure tracked in #2695 — different test, different cause.)

    Closing as already-fixed.

  4. dezren39
    closed this as completedon Oct 30, 2026
  5. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 30, 2026
  6. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    Verification follow-up (2026-10-30, at Drew's request): this closure's conclusion is now confirmed in the Nix build itself. The queue worker's evidence was a direct go test pass, which is not the Nix check phase — the proof below replaces it.

    • main HEAD: a0625480bc9e692243b384e0edcb5cc96bc4fa27
    • Fix ancestry: 2b67d015 ("fix(mcpx): conformance guard accepts CAP-11 empty extensions declaration" — pkgs/mcpx/internal/conformance/messages_test.go only) is an ancestor of origin/main. It scopes the extensions guard to non-empty extension maps, which is exactly this issue's failure (messages-resulttype-extension-values declaring an empty extensions map).
    • mcpx Nix gate: the mcpx derivation the amd configuration actually builds (nixos/environment/default.nix callPackages pkgs/mcpx/package.nix; drv zb1mx57bw9rdd3739ssbrrymczp39vrl-mcpx-0.1.0.drv) was realised with nix-store --realise from a clean worktree at a062548: build succeeds, the check phase ran, 47 packages ok, 0 FAIL in the daemon build log.
    • Full gate: nix build .#nixosConfigurations.amd.config.system.build.toplevel --no-link from the same worktree: exit 0 (49 derivations built, 0 fetched); the resulting toplevel is realised and its activate is present.

    One nuance for the record: since 7250bae8 (#2686), internal/conformance sits in package.nix's checkExclude (the auth-split matrix desync), so the conformance suite does not currently run inside the Nix check phase at all. The evidence for the suite itself remains the direct go test ./internal/conformance/ pass recorded at closure plus the 2b67d015 fix; #2686 tracks the exclusion. The Nix-build gate this issue blocked is green either way, so the closure stands.

  7. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    on Nov 25, 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)kind/ciCI/CD pipelines, workflows, and build automation

    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.