fix(opencode): default large-repo model run timeout to ~1h - #682
Merged
Conversation
Raise primary OPENCODE_RUN_TIMEOUT and dynamic timeout-cap defaults from 600s to 3600s so big-repo reviews are not killed by the short fallback. Keep free-tier failover at 600s; workflow env (5400s) still overrides.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughOpenCode 모델 풀의 기본 실행 제한시간과 동적 큐 상한을 3600초로 상향했습니다. 동적 큐 총 예산은 7200초로 설정했습니다. 무료 티어 fallback은 600초로 유지하고 관련 테스트와 문서를 갱신했습니다. ChangesOpenCode 제한시간 설정
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This was referenced Jul 31, 2026
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.
Summary
OpenCode pool runner defaulted primary/dynamic timeouts to 600s when env was unset, which is unrealistic for large repositories even when the workflow sets 5400s in some paths.
OPENCODE_RUN_TIMEOUT_SECONDSandOPENCODE_DYNAMIC_RUN_TIMEOUT_CAP_SECONDS→ 3600Test plan
pytest tests/test_opencode_model_pool_runner.py::test_dynamic_review_cadence_caps_large_change_queue_budgetSummary by CodeRabbit