Skip to content

fix(opencode-plugin): track active release branch in CI + align combo-id fixture - #11301

Merged
diegosouzapw merged 1 commit into
release/v3.8.50from
fix/11291-11292-opencode-plugin-ci-fixture
Aug 24, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.50from
fix/11291-11292-opencode-plugin-ci-fixture

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Summary

Test plan

  • node --import tsx/esm --test tests/provider.test.ts — RED before fix: 11/13 pass, 2 failures at lines 107 and 163 (exactly the stale assertions). GREEN after fix: 13/13.
  • npm run build && npm test (full @omniroute/opencode-plugin suite) — 343/343 pass.
  • YAML syntax of opencode-plugin-ci.yml validated with python3 -c "import yaml; yaml.safe_load(open(...))".
  • No way to validate the trigger firing live from this environment (requires an actual push/PR event against release/v3.8.50); the branch-filter change follows the exact pattern already proven working in the other workflows listed above.

⚠️ base-red inherited: #9985

…-id fixture

The opencode-plugin CI workflow trigger was pinned to release/v3.8.2 since
its creation, so it stopped firing once the active release line moved on —
the workflow never ran mid-cycle. Switch push/pull_request branch filters
to release/** so it tracks whatever release branch is active.

Also align the provider.test.ts fixture expectations with the combo-id
contract from #10345/#10821: mapRawModelToModelV2 leaves bare combo ids
(owned_by: "combo") unprefixed so OpenCode's `-m <plugin>/<combo>` lookup
resolves them directly. The two assertions still expected the old
provider-prefixed form.

Closes #11291
Closes #11292
@diegosouzapw
diegosouzapw merged commit 1e81e52 into release/v3.8.50 Aug 24, 2026
20 of 25 checks passed
@diegosouzapw
diegosouzapw deleted the fix/11291-11292-opencode-plugin-ci-fixture branch August 25, 2026 02:36
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…-id fixture (diegosouzapw#11301)

Validated on a 4-PR combined board: @omniroute/opencode-plugin provider.test.ts 13/13, full plugin suite 343/343, YAML validated, typecheck:core clean, gates within baseline. CI branch trigger was pinned to release/v3.8.2 since creation (never fired mid-cycle) — now tracks [main, release/**] matching every other workflow's pattern; combo-id fixture aligned to the real diegosouzapw#10821 unprefixed-lookup contract (RED 11/13 → GREEN 13/13).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants