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

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:
Noel Sabia committed 2026-10-18 17:18:54 +02:00
1 parent cf6f209ebf
commit 783c9ccda3
1 file changed
+4 -4
+4 -4
View File
@@ -215,10 +215,10 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Install opencode CLI - name: Install opencode CLI
run: curl -fsSL https://opencode.ai/install | bash run: curl -fsSL https://opencode.ai/v2/install | bash
env: # v2 installer is required: the classic /install URL ships only
# pin the version for reproducible CI, e.g. v1.0.0 # OpenCode 1.x (resolved to v1.19.3 on arm64), which cannot resolve
OPENCODE_VERSION: latest # model variants like "#max" and failed with ProviderModelNotFoundError
- name: Get PR diff - name: Get PR diff
run: | run: |