GeezerVison is showing github.com — ci(mcpx): opencode v2 plugin bun suite (61 tests: permission/sampling/tool-filter/session-env) run by no workflow — mcpx.yml runs only plugin/opencode/mcpx/ (v1) · Issue #6092 · developing-today/code
ci(mcpx): opencode v2 plugin bun suite (61 tests: permission/sampling/tool-filter/session-env) run by no workflow — mcpx.yml runs only plugin/opencode/mcpx/ (v1) #6092DescriptionProblem
The mcpx opencode v2 plugin's bun test suite — 61 tests across 5 files in pkgs/mcpx/plugin/opencode/v2/ — is run by no workflow. CI runs the v1 plugin suite twice and never touches the v2 directory.
Evidence (verified this run, laptop primary @ e90672d)
- The v2 plugin is real, in-development code for the mcpx: port the opencode plugin to opencode v2 (a rewrite, and several things get better) #1858 port:
pkgs/mcpx/plugin/opencode/v2/ holds context.ts, daemon.ts, index.ts, options.ts, permission.ts, remember.ts, sampling.ts, session-env.ts, timing.ts plus tests permission.test.ts, sampling.test.ts, tool-filter.test.ts, tools.test.ts, v2.test.ts.
- Verified on the laptop with an explicit file list:
bun test plugin/opencode/v2/{permission,sampling,tool-filter,tools,v2}.test.ts → 61 pass, 0 fail, 153 expect() calls, 5 files (~0.05s, offline, stub contexts per the v2.test.ts header).
- Wiring check: both plugin-test steps in
.github/workflows/mcpx.yml run exactly bun test plugin/opencode/mcpx/ (the v1 directory; comment at mcpx.yml:236-242 cites mcpx testing: inventory every feature against its integration tests, and guard that each has one #1978, and the plugin job at mcpx.yml:372-374 runs the same path). grep -rn "opencode/v2" .github/workflows/ → zero references.
- Control, same run: the v1 directory suite the workflow does run gives 61 tests across 5 files (56 pass, 5 skip — ops tests skip without a live daemon socket), so the v2 suite is the same size as the wired one and is not a stub.
- Dedup: open mcpx: port the opencode plugin to opencode v2 (a rewrite, and several things get better) #1858 / mcpx opencode v2 plugin: implement the #1858 SET-REMAINDER items (1)-(5) #2841 track implementing the v2 port; neither is about CI running its tests (searched
opencode/v2 and mcpx plugin v2 tests before filing).
Why it matters
The v2 plugin is the migration path off the v1 opencode plugin API (#1858, #730). Its tests are the contract for the stub-shaped host described in docs/opencode-plugin-v2.md — permission, sampling, tool filtering, session-env, and daemon remembering. As the port lands slice by slice (#2841), regressions in those contracts produce no CI signal, and the first place they surface is a broken plugin in a live opencode session.
Acceptance criteria
- A step in
mcpx.yml (the existing plugin job or the Go job alongside the v1 step) runs bun test plugin/opencode/v2/ with a fail-if-missing guard on the directory.
- The step passes on current main (61 tests at filing) and fails the job when a v2 test fails (deliberate-break evidence or equivalent).
- Trigger/tier shape follows the existing mcpx workflow conventions (
.github/ci-policy.md).
- No changes to the v2 plugin source or tests are needed; a CI-only failure is reported here before any test is edited.
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · filed
- Agent: new-issue-creator (new-issue-creator-code-a)
- Session / ID: cron new-issue-creator-code-a, run 2026-11-05 00:05 CST
- Found via: filed this run
- Task: Filed this issue: the mcpx opencode v2 plugin's 61-test bun suite is run by no workflow (mcpx.yml runs only the v1 directory); verified green on the laptop @ e90672d before filing.
- Expectation: effort s — add a
bun test plugin/opencode/v2/ step to mcpx.yml with a fail-if-missing guard; done when the check runs the suite and fails on a deliberate break.
- Links: queue packet packet-6092-triage.json (repo-health-code-pilot)
dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 14, 2026 Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 15202 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet. dezren39 commented on Nov 14, 2026
Agent note — task 15202 re-triage complete (lane any-b)
dezren39 commented on Nov 14, 2026 🤖 Agent note · fixed — PR #9997 merged, venue run dispatched
- Agent: queue worker (repo-worker-code), lane code-b
- Session / ID: task 16715 (fix for ci(mcpx): opencode v2 plugin bun suite (61 tests: permission/sampling/tool-filter/session-env) run by no workflow — mcpx.yml runs only plugin/opencode/mcpx/ (v1) #6092)
- What changed (PR ci(mcpx): run the opencode plugin v2 bun suite in the plugin job (#6092) #9997, merged a824f62):
.github/workflows/mcpx.yml: new step bun test (opencode plugin v2) in the plugin job — runs the suite by directory (bun test plugin/opencode/v2/ from pkgs/mcpx) so new files are covered automatically, and first asserts the six registered files exist (permission, picker, sampling, tool-filter, tools, v2) so a rename cannot silently shrink the counted suite.
.github/test-suite-registry.json: row mcpx.plugin.v2 refreshed — all 6 test files enumerated (adds picker.test.ts), invocation updated to 73 tests, venue mapped to the new step (active, dispatchable), status uncovered → mapped.
- Verification: suite run locally with the identical command/directory: 73 pass, 0 fail, 196 expect() calls, 6 files. Venue evidence per the A suite that never runs is not a test — one coverage contract for the repo's test suites #6185 dispatch-only definition: mcpx.yml dispatched on main — run 43598474628 (pending in the saturated runner queue, CI: hosted runner queue saturates repo-wide (~425 queued runs), so PR checks wait hours behind push and workflow_run traffic #2605); a push-triggered run (43598433252) is also queued from the merge.
- Links: queue task 16715; PR ci(mcpx): run the opencode plugin v2 bun suite in the plugin job (#6092) #9997; runs 43598474628 / 43598433252
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|