fix(multi-review): 放宽 opencode server-start 超时到 30s (env 可配)#185
Merged
Merged
Conversation
…nfigurable) SDK createOpencode default server-start timeout is only 5000ms; on busy self-hosted runners the opencode binary often takes >5s to start, causing stable failures with 'Timeout waiting for server to start after 5000ms'. Pass timeout to createOpencode (default 30000ms, overridable via MULTI_REVIEW_SERVER_TIMEOUT_MS). bump 3.3.1->3.3.2.
Collaborator
经过验证,deepseek provider 也会出现此问题。 |
Merged
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.
问题
multi-review 在 latex-agent CI 上稳定失败:
SDK
createOpencode默认 server-start 超时仅 5000ms。繁忙 self-hosted runner 上 opencode binary 启动常 >5s,导致稳定超时(重跑多次都同样 fail,非偶发)。修复
createOpencode传timeout(SDK ServerOptions.timeout),默认放宽到 30000ms,并支持MULTI_REVIEW_SERVER_TIMEOUT_MSenv 覆盖:验证
npm run check(tsc)通过npm run build(tsup)通过,dist/index.cjs 已重新生成npm test14 passed发版
合并后需移动
@v3floating tag 到新 commit(或发 v3.3.2 release),latex-agent CI 才会用到修复。