Skip to content

fix(mcpx): e2e package does not compile on main — duplicate TestMain (guardedMain vs feature coverage) #8333

Closed

Description

@dezren39

Fix: mcpx e2e package does not compile on main — duplicate TestMain

Found by lane code-p, task 14692, 2026-11-10: go vet ./internal/e2e/ (pkgs/mcpx) on clean origin/main fails with "multiple definitions of TestMain", so the entire mcpx e2e test package cannot run.

Two definitions:

PR #4804's branch predated the feature-coverage TestMain, and the mcpx-test workflow is workflow_dispatch-only (#5501), so no PR CI caught the collision at merge.

Fix: one TestMain — keep the guarded main flow and perform the coverage-ledger write at the end of it (after the daemon-set check), and remove the TestMain from feature_coverage_test.go. Verify with go vet ./internal/e2e/ plus a targeted e2e test run.

Activity

  1. added
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    on Nov 10, 2026
  2. developing-today commented on Nov 10, 2026

    @developing-today
    Contributor
  3. added a commit that references this issue on Nov 10, 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)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions