fix(ci): install opencode v2 for the review job
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 34s
PR Check / Typecheck (pull_request) Successful in 37s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Failing after 8s
PR Check / Dockerfile lint (droast) (pull_request) Failing after 4s
PR Check / AI code review (opencode) (pull_request) Failing after 2m43s
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 34s
PR Check / Typecheck (pull_request) Successful in 37s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Failing after 8s
PR Check / Dockerfile lint (droast) (pull_request) Failing after 4s
PR Check / AI code review (opencode) (pull_request) Failing after 2m43s
The classic installer (opencode.ai/install) ships only OpenCode 1.x - v1.19.3 on arm64 - which cannot resolve model variants and failed with ProviderModelNotFoundError for deepseek-v4-pro#max. Use the v2 installer (currently v2.0.32, same version as local dev); verified working in a fresh arm64 container with key-only auth.
This commit is contained in:
1 parent
cf6f209ebf
commit
783c9ccda3
1 file changed
+4
-4
@@ -215,10 +215,10 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install opencode CLI
|
||||
run: curl -fsSL https://opencode.ai/install | bash
|
||||
env:
|
||||
# pin the version for reproducible CI, e.g. v1.0.0
|
||||
OPENCODE_VERSION: latest
|
||||
run: curl -fsSL https://opencode.ai/v2/install | bash
|
||||
# v2 installer is required: the classic /install URL ships only
|
||||
# OpenCode 1.x (resolved to v1.19.3 on arm64), which cannot resolve
|
||||
# model variants like "#max" and failed with ProviderModelNotFoundError
|
||||
|
||||
- name: Get PR diff
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user