[PR #902] [MERGED] ci(bonk): pin opencode to 1.4.6 to dodge cf-ai-gateway ProviderInitError #931

Closed
opened 2026-05-06 13:10:55 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/902
Author: @NathanDrake2406
Created: 4/25/2026
Status: Merged
Merged: 4/25/2026
Merged by: @james-elicx

Base: mainHead: nathan/pin-opencode-1.4.6


📝 Commits (1)

  • b47d2fd ci(bonk): pin opencode to 1.4.6 to dodge cf-ai-gateway ProviderInitError

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 .github/workflows/bigbonk.yml (+1 -1)
📝 .github/workflows/bonk.yml (+1 -0)

📄 Description

What

Pin opencode_version: 1.4.6 in both bonk.yml and bigbonk.yml.

Why

@james-elicx — #900 downgraded the model to gpt-5.4 but bots still throw UnknownError: ProviderInitError (run https://github.com/cloudflare/vinext/actions/runs/24939417069). Real regression is opencode 1.14.25, not the model. The throw fires during cf-ai-gateway SDK init before any per-model code path runs, so model swaps don't help.

workers-sdk hit the same regression on the same opencode bump and pinned opencode_version: "1.4.6" with an inline comment:

opencode_version: "1.4.6" # pin to this version as newer versions are causing ProviderInitError issues

Other Cloudflare repos (containers, workers-py, kumo, workerd) pin 1.2.27 / 1.4.6 for the same reason. vinext is the only CF repo running OpenAI through cf-ai-gateway, which is why the OAI path stayed unobserved until #898.

Treat this as the last attempt at OAI on cf-ai-gateway. If /bigbonk review on this PR still throws, fall back to anthropic/claude-opus-4-7 + variant: max and stop chasing GPT until upstream opencode + ai-gateway-provider settle.

Approach

  • bigbonk.yml: opencode_version: 1.14.251.4.6.
  • bonk.yml: add opencode_version: 1.4.6 (was unset, defaulted to latest).
  • gpt-5.4 model from #900 stays; gpt-5.4 predates 1.4.6's bundled snapshot by over a month, so registry resolution is fine.

Validation

Comment /bigbonk review on this PR before merging. If green, merge; if red, drop OAI and revert to opus.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/902 **Author:** [@NathanDrake2406](https://github.com/NathanDrake2406) **Created:** 4/25/2026 **Status:** ✅ Merged **Merged:** 4/25/2026 **Merged by:** [@james-elicx](https://github.com/james-elicx) **Base:** `main` ← **Head:** `nathan/pin-opencode-1.4.6` --- ### 📝 Commits (1) - [`b47d2fd`](https://github.com/cloudflare/vinext/commit/b47d2fd9e91e6b29c040873ce62d07b4ec6460d2) ci(bonk): pin opencode to 1.4.6 to dodge cf-ai-gateway ProviderInitError ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/bigbonk.yml` (+1 -1) 📝 `.github/workflows/bonk.yml` (+1 -0) </details> ### 📄 Description ## What Pin `opencode_version: 1.4.6` in both `bonk.yml` and `bigbonk.yml`. ## Why @james-elicx — #900 downgraded the model to gpt-5.4 but bots still throw `UnknownError: ProviderInitError` (run https://github.com/cloudflare/vinext/actions/runs/24939417069). Real regression is opencode 1.14.25, not the model. The throw fires during cf-ai-gateway SDK init before any per-model code path runs, so model swaps don't help. workers-sdk hit the same regression on the same opencode bump and pinned `opencode_version: "1.4.6"` with an inline comment: ```yaml opencode_version: "1.4.6" # pin to this version as newer versions are causing ProviderInitError issues ``` Other Cloudflare repos (containers, workers-py, kumo, workerd) pin 1.2.27 / 1.4.6 for the same reason. vinext is the only CF repo running OpenAI through cf-ai-gateway, which is why the OAI path stayed unobserved until #898. **Treat this as the last attempt at OAI on cf-ai-gateway.** If `/bigbonk review` on this PR still throws, fall back to `anthropic/claude-opus-4-7` + `variant: max` and stop chasing GPT until upstream opencode + ai-gateway-provider settle. ## Approach - `bigbonk.yml`: `opencode_version: 1.14.25` → `1.4.6`. - `bonk.yml`: add `opencode_version: 1.4.6` (was unset, defaulted to latest). - gpt-5.4 model from #900 stays; gpt-5.4 predates 1.4.6's bundled snapshot by over a month, so registry resolution is fine. ## Validation Comment `/bigbonk review` on this PR before merging. If green, merge; if red, drop OAI and revert to opus. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:10:55 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#931
No description provided.