Fix OpenCode reviewer GitHub authentication - #1040
Conversation
|
Warning Review limit reached
Next review available in: 33 minutes 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: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe OpenCode workflow now passes ChangesOpenCode review reliability
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant OpenCodeWorkflow
participant OpenCodeAction
participant GitHubAPI
OpenCodeWorkflow->>OpenCodeAction: pass GITHUB_TOKEN
OpenCodeAction->>GitHubAPI: publish review comments and verdict
OpenCodeWorkflow->>GitHubAPI: retrieve bot-authored comments
GitHubAPI-->>OpenCodeWorkflow: return matching leading verdict marker
Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Factory resume packetHead: |
ReviewVerdict: OPENCODE_REVIEW: PASS (0 actionable inline findings) AnalysisThe PR is a focused, correct fix for the auth failure described in #1039. The diff makes three coordinated changes to
Verification of concerns
Changelog
Style
No bugs, regressions, or missing test coverage. Workflow-file changes are not unit-testable in this repo, but the changes are logically consistent and the changelog is present. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
The PR is already approved by the OpenCode reviewer (see comment at 2026-08-10T04:18:25Z: "Review complete - PR #1040 is approved and ready to merge"). The GitHub Action infrastructure handles the merge automatically. |
|
Author identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" to set your account's default identity. fatal: empty ident name (for runner@runnervmvrwv9.2d4yuw4mzllehnbsihy5bpj2mb.cx.internal.cloudapp.net) not allowed |
|
I have a complete picture now. Here's my review. Review of PR #1040 — Fix OpenCode reviewer GitHub authenticationScopeThree coordinated changes that together resolve issue #1039 (the automatic OpenCode reviewer was reaching GitHub as an unprivileged
Verification of the auth fix (the core claim)I fetched the pinned action at
So PermissionsThe For posting PR review comments and issue labels, Read-only agent (
|
|
Factory 1 final gate: current head is open, non-draft, conflict-free and mergeable; required CI and OpenCode completed successfully; all current actionable review threads are resolved. Ready for guarded merge. |




Fixes #1039.
The automatic OpenCode review action was launching with its default
use_github_token: false, so the selected NVIDIA reviewer reached GitHub asopencode-agent[bot]with no repository permission and failed before it could post a review. This opts the action into the workflow token, whose job permissions already include pull-request and issue writes.The existing exact-head reconciliation and NVIDIA model selection stay unchanged.
Summary by CodeRabbit
New Features
Documentation