mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 00:09:23 +02:00
[PR #902] [MERGED] ci(bonk): pin opencode to 1.4.6 to dodge cf-ai-gateway ProviderInitError #931
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#931
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:nathan/pin-opencode-1.4.6📝 Commits (1)
b47d2fdci(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.6in bothbonk.ymlandbigbonk.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: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 reviewon this PR still throws, fall back toanthropic/claude-opus-4-7+variant: maxand stop chasing GPT until upstream opencode + ai-gateway-provider settle.Approach
bigbonk.yml:opencode_version: 1.14.25→1.4.6.bonk.yml: addopencode_version: 1.4.6(was unset, defaulted to latest).Validation
Comment
/bigbonk reviewon 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.