Skip to content

fix(review): add OpenCode Zen free fallback - #654

Closed
seonghobae wants to merge 1 commit into
mainfrom
fix/opencode-zen-free-reviewer-final
Closed

fix(review): add OpenCode Zen free fallback#654
seonghobae wants to merge 1 commit into
mainfrom
fix/opencode-zen-free-reviewer-final

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

  • add anonymous OpenCode Zen free reviewers for public repositories, preferring deepseek-v4-flash-free and retaining North as fallback
  • keep the existing public-repository privacy gate and strict review-control validation
  • preserve reviewer tool calls; do not force response_format, which made OpenCode describe a Read call as text instead of executing it
  • align the candidate-order comment with the final DeepSeek-first order and both free models privacy exceptions

Closes #648.
Unblocks ContextualWisdomLab/saju-caldav#14.
Supersedes #649 and #653 with the same reviewed final diff as one clean commit.

Runtime evidence

  • probe 1 — path .github/workflows/opencode-review-dispatch.yml, line 3364: challenged whether a free JSON-capable reviewer could still use tools; in an isolated OpenCode run, DeepSeek V4 Flash Free invoked Read on a sample file and then returned exact JSON
  • probe 2 — path .github/workflows/opencode-review-dispatch.yml, line 3720: challenged whether anonymous Zen could receive private-repository content; the is_private == false gate wraps both free candidates, and the contract test parses that exact ordering
  • anonymous Zen endpoint smoke: DeepSeek V4 Flash Free returned exact JSON
  • North remains the fallback

Verification

  • full python3 -m pytest -q — 674 passed for the final diff
  • tests/test_opencode_agent_contract.py — 37 passed on this commit
  • Bash syntax, focused Ruff, actionlint -shellcheck=, and git diff --check — passed

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@seonghobae, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 5 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ab8cc054-7d17-4faa-a3d7-08643d84c2fe

📥 Commits

Reviewing files that changed from the base of the PR and between 5472a38 and 105a244.

📒 Files selected for processing (2)
  • .github/workflows/opencode-review-dispatch.yml
  • tests/test_opencode_agent_contract.py

Comment @coderabbitai help to get the list of available commands.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Superseded by the staged bootstrap: #655 prepares the contract in one changed file; after it merges, a workflow-only PR will activate DeepSeek and a final DeepSeek-reviewed test PR will pin the new state.

@seonghobae seonghobae closed this Jul 29, 2026
auto-merge was automatically disabled July 29, 2026 18:00

Pull request was closed

@github-project-automation github-project-automation Bot moved this from In Progress to Done in naruon Platform Roadmap Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Fix Zen free review JSON output contract

1 participant