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 — fix(mcpx): e2e package does not compile on main — duplicate TestMain (guardedMain vs feature coverage) · Issue #8333 · developing-today/code

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

New issue
Copy link
New issue
Copy link
Closed
#8335
Closed
fix(mcpx): e2e package does not compile on main — duplicate TestMain (guardedMain vs feature coverage)#8333
#8335
Copy link
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)status:done

Description

@dezren39
dezren39
opened on Nov 10, 2026
Issue body actions

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:

  • pkgs/mcpx/internal/e2e/e2e_test.go — TestMain → guardedMain (the mcpx testing: e2e inherits the caller's environment -- build it from an allowlist so tests never reach the user's daemon #1992 caller-daemon guard backstop), landed today via PR mcpx e2e: env allowlist + registry guard + TestMain backstop (#1992 follow-up) #4804.
  • pkgs/mcpx/internal/e2e/feature_coverage_test.go — TestMain that runs the suite then writes the feature coverage ledger (pre-existing on main).

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. dezren39
    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
    developing-todayBot
    on Nov 10, 2026 – with developing.today
    Contributor
    More actions

    CODE-2484

  3. developing-today
    added
    status:in-review
    on Nov 10, 2026
  4. dezren39
    added a commit that references this issue on Nov 10, 2026

    Merge pull request #8335 from developing-today/queue/14692-testmain-fix

    196c4d2
  5. dezren39
    closed this as completedin #8335on Nov 10, 2026
  6. developing-today
    added
    status:done
    and removed
    status:in-review
    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

      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.