Skip to content

ci: unbreak Bonk by bumping the pinned OpenCode version - #144

Closed
andre-j3sus wants to merge 2 commits into
mainfrom
ajesus/fix-bonk-opencode-version
Closed

ci: unbreak Bonk by bumping the pinned OpenCode version#144
andre-j3sus wants to merge 2 commits into
mainfrom
ajesus/fix-bonk-opencode-version

Conversation

@andre-j3sus

@andre-j3sus andre-j3sus commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Bonk has failed on every run since 2026-08-18. The last success was
2026-07-31 — eight consecutive failures. The failure was silent from the
outside: it posted an empty comment followed by "check the logs for details",
and the logs contained no error either, which is why it went unnoticed for
three weeks.

Two things were wrong, and the first was hiding the second.

The pinned OpenCode 1.15.13 swallowed the underlying error, emitting only
loop { step: 0 } and zero tokens. bonk.yml had not been modified since it
was added, and cloudflare/workers-sdk fails identically while pinning a
March action SHA, so neither this repo's config nor the action code was the
cause — what both broken repos shared was that pin. ask-bonk#226 tracked the
same provider-initialization failures on 2026-08-18 and verified 1.18.18.

Bumping the pin immediately surfaced the actual fault:

Model not found: cloudflare-ai-gateway/anthropic/claude-opus-4-8.
Did you mean: anthropic/claude-opus-4.5, anthropic/claude-opus-4.6,
anthropic/claude-opus-4.7?

The version component is dot-separated, and 4.8 does not exist. This is
presumably a gateway-side catalog change, since the id resolved until July 31.
Moving to 4.7, the newest offered.

The version stays pinned rather than moving to latest, since floating is what
produced this drift. Worth keeping the diagnostic value in mind though: 1.15.13
reported nothing at all, while 1.18.18 named the problem on the first run.

Bonk has failed on every run since 2026-08-18; the last success was
2026-07-31. Each run creates a session, sends the message, logs a single
"loop { step: 0 }", then emits zero tokens and exits 1 -- the provider never
initializes.

bonk.yml has not changed since it was added, and cloudflare/workers-sdk
fails identically while pinning a March action SHA, so neither this repo's
config nor the action code is the cause. What both broken repos share is the
1.15.13 pin. ask-bonk#226 tracked the same provider-initialization failures
on 2026-08-18 and verified a working run on 1.18.18.

Keeping the version pinned rather than moving to latest, since floating is
what produced this drift in the first place.
@andre-j3sus andre-j3sus self-assigned this Aug 24, 2026
@ask-bonk

ask-bonk Bot commented Aug 24, 2026

Copy link
Copy Markdown

Model not found: cloudflare-ai-gateway/anthropic/claude-opus-4-8. Did you mean: anthropic/claude-opus-4.5, anthropic/claude-opus-4.6, anthropic/claude-opus-4.7?

github run

@ask-bonk

ask-bonk Bot commented Aug 24, 2026

Copy link
Copy Markdown

@andre-j3sus Bonk workflow failed. Check the logs for details.

View workflow run · To retry, trigger Bonk again.

Bumping OpenCode surfaced the error 1.15.13 was swallowing:

  Model not found: cloudflare-ai-gateway/anthropic/claude-opus-4-8.
  Did you mean: anthropic/claude-opus-4.5, anthropic/claude-opus-4.6,
  anthropic/claude-opus-4.7?

The version component is dot-separated, and 4.8 does not exist. Moving to
4.7, the newest the gateway offers.
@andre-j3sus

Copy link
Copy Markdown
Collaborator Author

/bonk

@ask-bonk

ask-bonk Bot commented Aug 24, 2026

Copy link
Copy Markdown
@andre-j3sus

Copy link
Copy Markdown
Collaborator Author

Closing to re-open from the same branch: Bonk only triggers on pull_request: types: [opened], so this is the only way to get an automatic run against the fix. Commits are unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant