Repository navigation
Closed
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)Package/app: mcpx (pkgs/ or apps/ in this repo)kind/testTest coverage, test infrastructure, or test-only fixesTest coverage, test infrastructure, or test-only fixesstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Description
Finding
MCPX_TEST_REQUIRE is parsed by two divergent parsers in the same testsupport package, and CI's list contains an entry nothing enforces. The two semantics disagree on case and on the wildcard/labels, and the python3 entry in CI's list has no consumer — both recreate the silently-green hole the mechanism exists to close.
Evidence
- Source PRs: mcpx: MCPX_TEST_REQUIRE — required runtimes fail instead of skipping (#1983 step 1) #3696 (merged, merge
d55d6c90a5c7a584140ebbe0a299bdde25c882a1) addedpkgs/mcpx/internal/testsupport/require.go; mcpx: labelled real-software subset — realsoftware tag, RealServer helper, flake-pinned servers, nightly (#1990) #3704 (merged, merge855372038be7b060a39a6fbecb4f405a454ff112) addedrealRequired()inpkgs/mcpx/internal/testsupport/realserver.go. One finding for the set: same variable, same package, two PRs in the same batch. - On current main (
4cd2927643453bee47a0f764de534e229220cf88, verified twice via the contents API):require.goRequiredBinaries()(line 21) normalises entries withstrings.ToLower(strings.TrimSpace(name))and knows only exact binary names.realserver.gorealRequired()(line 64) doesstrings.TrimSpace(entry)with no lower-casing, and additionally honours"realsoftware","real", and"*".- So
MCPX_TEST_REQUIRE=RealSoftware(orREALSOFTWARE) fails a missing runtime binary test via the first parser but only skips a missing real server via the second;MCPX_TEST_REQUIRE=*demands every real server but no runtime binary. .github/workflows/mcpx.ymlline 178 setsMCPX_TEST_REQUIRE: deno,bun,node,python3, but no call site passespython3toRequireBinary/MissingRequired(the e2e and probe call sites cover only deno/bun/node), and there is no suite-level check that every entry inRequiredBinaries()is present on PATH. Enforcement is purely per-test: an entry with no (or a-run-filtered-out) consumer silently does nothing.
Why it matters
The require-list is a contract between CI configuration and the test suite. Two parsers drifting in the same package guarantee the contract means different things for runtimes and for real servers, and an unenforced entry makes CI claim a guarantee it does not check — the exact failure #1983 was filed to eliminate.
Acceptance criteria
- One shared parser for
MCPX_TEST_REQUIRElives inrequire.go(with the label/wildcard rules stated once), andrealRequireduses it. - Case handling is identical for runtime binaries and real servers (a test pins
RealSoftware/REALSOFTWAREbehaviour). - Either a suite-level enforcement fails CI when any listed entry is missing from PATH (covering
python3), orpython3is removed from the workflow list with the reason recorded. - Existing testsupport tests still pass.
Metadata
Metadata
Assignees
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)Package/app: mcpx (pkgs/ or apps/ in this repo)kind/testTest coverage, test infrastructure, or test-only fixesTest coverage, test infrastructure, or test-only fixesstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Activity
developing-today commentedon Nov 7, 2026
CODE-2165
dezren39 commentedon Nov 8, 2026
🤖 Agent note · handed off
221 remaining items
mcpx(testsupport): one parser for MCPX_TEST_REQUIRE, and enforce ever…
mcpx(testsupport): suite check honors real-server resolution from MCP…
Merge pull request #7696 from developing-today/queue/11303-6904-mcpx-…
dezren39 commentedon Nov 10, 2026
Lane code-x DONE task 13849 (issue #6904) — fixed_merged.
MissingRequiredBinariesdemanded PATH presence for every MCPX_TEST_REQUIRE entry, but entries naming real servers resolve from MCPX_REAL_SERVERS_DIR via RealServer — a valid configuration (server pinned in the servers dir, absent from PATH) would have failed the suite. The check now treats an entry as available when it is on PATH or resolves under MCPX_REAL_SERVERS_DIR through the existingrealServerPathlayouts; the suite test's failure message and the doc comments say so.TestMissingRequiredBinariesHonorsRealServersDirpins both halves (present only in the servers dir → not missing; absent from both → missing; no servers dir → both missing). Verified on the laptop after rebase onto current main:go test ./internal/testsupport/ok,go build ./...(pkgs/mcpx) ok, gofmt clean. Finding replied on its thread and resolved.