ci: un-bonk bonk - #3138
Merged
Merged
Conversation
Every reviewer run since 2026-07-28 has hung at "Sending message to opencode..." and been killed at the 30 minute job timeout with no output. Last good run was 2026-07-27; every run since has failed. Three changes: - Swap cf-gateway/kimi-k2.5 for cf-gateway/nemotron-3-120b. @cf/moonshotai/kimi-k2.5 was deprecated on 2026-05-30 and now aliases to @cf/moonshotai/kimi-k2.6, which changed where reasoning content lands in the response (reasoning_content -> reasoning) and became Workers Paid only on 2026-07-28. @cf/nvidia/nemotron-3-120b-a12b keeps the 256k context, supports function calling, and is neither deprecated nor plan-gated. - Set OPENCODE_TIMEOUT to 25m. The harness defaults to 45m while both jobs cap at timeout-minutes: 30, so opencode's own timeout and retry handling could never fire and the runner killed it with no diagnostic. - Add a temporary Probe AI Gateway step that curls the gateway directly before opencode starts, logging status, latency, the model the gateway actually resolves to, and the raw stream shape for both models. Remove once the cause is confirmed. The kimi-k2.5 entry stays in opencode.json so the probe can compare the two side by side.
Contributor
|
LGTM |
Replaces the throwaway gateway probe with opencode's own logging. The reviewer hang was diagnosable in seconds once we saw the response: the gateway returned 429 "inference request per min rate reached" for the deprecated @cf/moonshotai/kimi-k2.5. opencode retried it silently and printed nothing, so the job just sat there until the runner killed it. The error existed the whole time, it was only ever written to opencode's log file inside the runner. --print-logs and --log-level are plain sugar over OPENCODE_PRINT_LOGS and OPENCODE_LOG_LEVEL (packages/opencode/src/index.ts:67-68), and the harness spawns opencode with the ambient environment, so setting the two variables streams the logs to stderr and into the job log. No flags to plumb through and nothing to dump after the fact. Also bumps the pinned opencode from 1.2.27, which is roughly 11,700 versions behind, to the current 1.18.13. Drops the kimi-k2.5 entry from opencode.json now that nothing references it.
Contributor
|
LGTM |
DEBUG is more noise than the reviewer job needs. INFO still carries provider errors, which is the whole point of turning the logs on.
anish-sahoo
marked this pull request as ready for review
August 5, 2026 20:18
Contributor
|
LGTM |
Updated OPENCODE_TIMEOUT to 25m for better retry handling. Signed-off-by: Anish Sahoo <anishsahoo2005@gmail.com>
Contributor
|
LGTM |
Updated OPENCODE_TIMEOUT to provide more retry time. Signed-off-by: Anish Sahoo <anishsahoo2005@gmail.com>
Contributor
|
LGTM |
michaeldwan
approved these changes
Aug 5, 2026
anish-sahoo
enabled auto-merge
August 5, 2026 20:57
Contributor
|
@anish-sahoo Bonk workflow failed. Check the logs for details. View workflow run · To retry, trigger Bonk again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
kimi-k2.5to paidkimi-k2.7-code.1.18.13and set its timeout below the 30-minute job limit.