You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mcpx): e2e package does not compile on main — duplicate TestMain (guardedMain vs feature coverage) #8333
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.
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
developing-today commentedon Nov 10, 2026
CODE-2484
Merge pull request #8335 from developing-today/queue/14692-testmain-fix