chore(opencode): use NVIDIA NIM only for review config - #1383
Conversation
Replace the GitHub Models provider in opencode.jsonc with nvidia-nim (integrate.api.nvidia.com, NVIDIA_API_KEY) and pin the default review model to Llama 3.3 Nemotron Super 49B. Keep MCP servers; do not add TEPP-style edit/bash allow or COPILOT_GITHUB_TOKEN. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
|
Warning Review limit reached
Next review available in: 5 minutes Limit details: You’ve used all 1 included review currently available under your plan. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
There was a problem hiding this comment.
Review Overview — NVIDIA NIM-only OpenCode config
Head: d353752381aad1a239e2ada1011593bfc8db38e5
Event: COMMENT (no blocking defect; required checks are still queued, so this is not an approval)
Landing vehicle: keep #1383. Do not open a second NIM-only opencode.jsonc PR.
This slice matches the current org contract: enabled_providers: ["nvidia-nim"], provider nvidia-nim at https://integrate.api.nvidia.com/v1, apiKey: {env:NVIDIA_API_KEY} (org secret NVIDIA_NIM_API_KEY is bound onto that env name), default model nvidia-nim/nvidia/llama-3.3-nemotron-super-49b-v1.5, MCP servers unchanged, share: "disabled", no COPILOT_GITHUB_TOKEN, and no TEPP-style permission.edit / broad bash allow.
flowchart LR
A["opencode.jsonc + AGENTS.md"] --> B["NIM-only review contract"]
B --> C["test_opencode_review_config_uses_nvidia_nim_only"]
C --> D["Keep #1383; wait exact-head checks"]
Findings
- P1 / blocking: none. Evidence:
opencode.jsoncprovider map is solelynvidia-nim;backend/tests/test_release_governance.pylocks exactmodel,small_model,enabled_providers,baseURL,{env:NVIDIA_API_KEY}, catalog IDs, and forbidsgithub-models/STRIX_GITHUB_MODELS_TOKEN/COPILOT_GITHUB_TOKEN/models.github.ai/ GPT-5 / DeepSeek tokens in the config. Current-policy docs no longer prescribe GitHub Models as the default. - P3 / non-blocking:
reasoningEffort: "high"on Nemotron Super is OpenAI-style; hosted NIM often readschat_template_kwargs. Harmless if ignored. Do not rename the local bind to{env:NVIDIA_NIM_API_KEY}. - P3 / non-blocking: dated
docs/plans/2026-05-*/2026-06-*notes still describe the old GitHub Models era. Leave them as historical records.
CodeRabbit on this head is rate-limited (Review limit reached) with no findings. That is a wait-state, not a source defect.
Next action
Keep this PR as the single NIM-only landing vehicle. After required checks finish on d3537523, merge through the existing metadata-only robot path. Do not add a competing OpenCode config PR, and do not change the local API-key env name.
Sent by Cursor Automation: Fix Issues
|
Merge loop: not mergeable yet. Head |
There was a problem hiding this comment.
Pull request overview
OpenCode cannot approve yet because required coverage evidence did not pass.
Review outcome
1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence
-
Problem: The required coverage-evidence job result was
failure, so OpenCode cannot establish approval sufficiency for this head. -
Root cause: Automated approval is only valid when the same-head coverage-evidence job proves supported repository test suites passed and configured docstring gates passed or were advisory, or reports not applicable because no supported source files or package manifests exist. Missing, failed, skipped, unavailable, or unsupported-tooling test evidence is a blocker.
-
Fix: Install or configure the repository test/docstring evidence tooling when source files or package manifests exist, rerun the current-head coverage-evidence job, and approve only after it reports
successwith required evidence or explicit no-source not-applicable evidence. -
Regression test: Keep the approval branch checking
needs.coverage-evidence.result == successbefore posting APPROVE, and publish REQUEST_CHANGES when coverage-evidence blocker states such as cancelled, skipped, failed, unsupported-tooling, or below-100 evidence are present. -
Result: REQUEST_CHANGES
-
Reason: coverage-evidence result was
failure, so required test/docstring evidence was not proven for current head6d0201060585acc6b7e1892d1f14b4e252529faa. -
Head SHA:
6d0201060585acc6b7e1892d1f14b4e252529faa -
Workflow run: 32123714207
-
Workflow attempt: 1
Coverage evidence
Coverage evidence job did not run or did not publish coverage evidence.
Changed-File Evidence Map
flowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Changed file (3 files)"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file (3 files)"]
R1 --> V1["required checks"]
Evidence --> S2["Backend: test_release_governance.py"]
S2 --> I2["API and service runtime"]
I2 --> R2["Review risk: Backend: test_release_governance.py"]
R2 --> V2["backend tests"]
OpenCode Review Overview
Pull request overviewOpenCode cannot approve yet because required coverage evidence did not pass. Review outcome1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence
Coverage evidenceCoverage evidence job did not run or did not publish coverage evidence. Changed-File Evidence Mapflowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Changed file (3 files)"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file (3 files)"]
R1 --> V1["required checks"]
Evidence --> S2["Backend: test_release_governance.py"]
S2 --> I2["API and service runtime"]
I2 --> R2["Review risk: Backend: test_release_governance.py"]
R2 --> V2["backend tests"]
|
|
PR governance metadata gate is not ready for
|
|
Closing as superseded/invalid for the current repository contract: this PR rewrites the local OpenCode review provider and AGENTS policy to NVIDIA NIM-only, while the current develop and central governance contract keep the existing review-agent key/provider scheme authoritative. The requested contextual-orchestrator integration belongs to the Noema runtime boundary in #1384, not a replacement of the review agent. No source merge or bypass is performed. |


Description
ContextualWisdomLab no longer uses GitHub Models. This PR rewrites the local OpenCode review config to NVIDIA NIM only.
nvidia-nimathttps://integrate.api.nvidia.com/v1withapiKey: {env:NVIDIA_API_KEY}(org secretNVIDIA_NIM_API_KEYis bound toNVIDIA_API_KEY).nvidia-nim/nvidia/llama-3.3-nemotron-super-49b-v1.5nvidia-nim/meta/llama-3.3-70b-instructenabled_providers:["nvidia-nim"]onlyCOPILOT_GITHUB_TOKENpermission.edit/ broadbashallow (this file is the OpenCode review config)AGENTS.mdand a release-governance regression test now assert the NIM-only OpenCode contractHistorical dated plan notes under
docs/plans/are left as records of the previous GitHub Models era.Type of change
Checklist:
Verification
Focused release-governance tests passed (
3 passed, 33 deselected):python3 -m pytest backend/tests/test_release_governance.py -q -k 'opencode_review_config_uses_nvidia_nim_only or review_automation_uses_central or changelog_follows'opencode.jsonccontains nogithub-modelsorSTRIX_GITHUB_MODELS_TOKEN.