From d2aa1015cf5add96e6f78e5c9deabfc4caf0f2fc Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Sat, 14 Nov 2026 07:06:33 -0600 Subject: [PATCH] ci(mcpx): run the opencode plugin v2 bun suite in the plugin job (#6092) --- .github/test-suite-registry.json | 14 ++++++++++---- .github/workflows/mcpx.yml | 12 ++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/test-suite-registry.json b/.github/test-suite-registry.json index c07a83253b..698afcd39b 100644 --- a/.github/test-suite-registry.json +++ b/.github/test-suite-registry.json @@ -414,16 +414,22 @@ "id": "mcpx.plugin.v2", "paths": [ "pkgs/mcpx/plugin/opencode/v2/permission.test.ts", + "pkgs/mcpx/plugin/opencode/v2/picker.test.ts", "pkgs/mcpx/plugin/opencode/v2/sampling.test.ts", "pkgs/mcpx/plugin/opencode/v2/tool-filter.test.ts", "pkgs/mcpx/plugin/opencode/v2/tools.test.ts", "pkgs/mcpx/plugin/opencode/v2/v2.test.ts" ], - "invocation": "bun test plugin/opencode/v2/ (61 tests at filing)", - "venue": null, - "status": "uncovered", + "invocation": "bun test plugin/opencode/v2/ (73 tests)", + "venue": { + "workflow": ".github/workflows/mcpx.yml", + "job_step": "plugin / bun test (opencode plugin v2)", + "state": "active", + "dispatchable": true + }, + "status": "mapped", "phase2_issue": 6092, - "reason": "mcpx.yml only invokes the v1 plugin directory; no v2 workflow reference exists." + "notes": "Wired 2026-11-14 (#6092): the plugin job runs the v2 directory and asserts the six registered files exist. Verified locally at wiring time: 73 pass, 0 fail, 6 files." }, { "id": "mcpx.conformance.official", diff --git a/.github/workflows/mcpx.yml b/.github/workflows/mcpx.yml index 1b76398c43..828ee48e1e 100644 --- a/.github/workflows/mcpx.yml +++ b/.github/workflows/mcpx.yml @@ -446,6 +446,18 @@ jobs: working-directory: pkgs/mcpx run: bun test plugin/opencode/mcpx/ plugin/core/ + # The opencode plugin v2 suite (#6092). Run by directory so new test + # files are covered automatically; the six files registered today are + # named and asserted to exist, so a rename cannot silently shrink + # the suite the registry row counts. + - name: bun test (opencode plugin v2) + working-directory: pkgs/mcpx + run: | + for f in permission.test.ts picker.test.ts sampling.test.ts tool-filter.test.ts tools.test.ts v2.test.ts; do + test -f "plugin/opencode/v2/" || { echo "registered v2 test file missing: plugin/opencode/v2/"; exit 1; } + done + bun test plugin/opencode/v2/ + vendorhash-repair: name: vendorHash repair (bot dependency bumps only) # Only on bot branches. A human changing dependencies should see the