Title: 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 · GitHub
Open Graph Title: 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
X Title: 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
Description: Problem 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, l...
Open Graph Description: Problem 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 d...
X Description: Problem 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 ...
Opengraph URL: https://github.com/developing-today/code/issues/6092
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"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)","articleBody":"## Problem\n\nThe 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.\n\n## Evidence (verified this run, laptop primary @ e90672dc9e)\n\n- The v2 plugin is real, in-development code for the #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`.\n- 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).\n- 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 #1978, and the `plugin` job at mcpx.yml:372-374 runs the same path). `grep -rn \"opencode/v2\" .github/workflows/` → zero references.\n- 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.\n- Dedup: open #1858 / #2841 track implementing the v2 port; neither is about CI running its tests (searched `opencode/v2` and `mcpx plugin v2 tests` before filing).\n\n## Why it matters\n\nThe 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.\n\n## Acceptance criteria\n\n- 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.\n- The step passes on current main (61 tests at filing) and fails the job when a v2 test fails (deliberate-break evidence or equivalent).\n- Trigger/tier shape follows the existing mcpx workflow conventions (`.github/ci-policy.md`).\n- No changes to the v2 plugin source or tests are needed; a CI-only failure is reported here before any test is edited.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T06:19:18Z","url":"https://github.com/developing-today/code/issues/6092"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e6ec9f25-9011-dae5-ebb6-9e6d72070667 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A54C:C802B:287026:36BD90:6B0616DF |
| html-safe-nonce | 7887ab48280681d56210171aa537c370a730f5024f1404bbfe7fc0b53e6de252 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTRDOkM4MDJCOjI4NzAyNjozNkJEOTA6NkIwNjE2REYiLCJ2aXNpdG9yX2lkIjoiMjgyMDU1NDU4OTAwMTM1NzAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 043c315723dc8111a795d3a50ded9f5e81583e85b4ce1658ca5c7ec15cad80c4 |
| hovercard-subject-tag | issue:6217959557 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/6092/issue_layout |
| twitter:image | https://opengraph.githubassets.com/408f14d94462520c3eb49938f326dc353ab82e221e867910aefbef0169ec61cf/developing-today/code/issues/6092 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/408f14d94462520c3eb49938f326dc353ab82e221e867910aefbef0169ec61cf/developing-today/code/issues/6092 |
| og:image:alt | Problem 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 d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width