Skip to content

ci: add Robin review on every pull request revision - #1906

Closed
LinguineCode wants to merge 1 commit into
developfrom
ci/robin-review
Closed

LinguineCode wants to merge 1 commit into
developfrom
ci/robin-review

Conversation

@LinguineCode

@LinguineCode LinguineCode commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Behavior

Adds Robin, the AI code reviewer the backend repositories use, so every revision of a pull request is reviewed before merge. Same configuration as app-backend.

Impact

CI only: a new review workflow job and its .github/robin.yml config. No application code changes.

Verification

Robin should review this PR itself once the workflow is on the branch.

Part of OPS-333


Summary by cubic

Adds Robin AI code review so every pull request revision is automatically reviewed before merge, matching the configuration used by the backend repositories.

Things to verify

  • CI-only change: two new files, no application code.
  • The job will fail if the ROBIN_CLIENT_ID, ROBIN_PRIVATE_KEY, and LLM_API_KEY secrets or the LLM_BASE_URL and LLM_MODEL vars aren't set at repo or org level.
  • blacksmith-2vcpu-ubuntu-2604 is a self-hosted runner, so confirm it's registered for this repository.
  • A new revision cancels any in-progress review for the same PR, so only the latest revision is reviewed.
  • Slash commands /robin, /review, /summary, and /help let owners, members, and collaborators trigger a review on demand.

Written for commit 2836864. Summary will update on new commits.

View guided diff Turn on auto-fix

Review every revision of a pull request before merge, using the same
Robin setup as the backend repositories.
@LinguineCode LinguineCode added the ci:defer-cypress Hold required Cypress jobs for approval during AI review iteration label Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c2ae7728-a8e1-4a51-905f-a520e87b20f2
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@robin-rw

robin-rw Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The Robin Hood of code review

✅ Review done. I flagged 1 thing worth a look.

Push fixes whenever you like, then comment /robin for another pass.

Robin v2.13.3 · antongulin/robin@c307d49 (c307d49) · agent review: 3 turns · 5 tool calls

@robin-rw robin-rw Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Robin Hood of code review

Heads up: this is a point-in-time review. Push fixes freely, then comment /robin whenever you want another pass.

⚠️ 1 Medium

Summary

The workflow pins its actions and limits the generated app token to read access plus pull-request writes. However, automatic reviews of pull requests from forks will fail because GitHub does not expose repository secrets to workflows triggered by those pull requests, so the app-token step cannot authenticate.

- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
id: app-token
with:
client-id: ${{ secrets.ROBIN_CLIENT_ID }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robin — ⚠️ MEDIUM · confidence: high

For pull_request events from forks, GitHub withholds repository secrets. The app-token step therefore cannot receive ROBIN_CLIENT_ID (and the later LLM_API_KEY is also unavailable), so the automatic review job fails before Robin can review the PR.

Recommendation: Choose an explicit safe policy for fork PRs: skip automatic reviews and rely on the authorized issue-comment path, or provide a separately secured mechanism for reviewing them. Do not switch to pull_request_target without ensuring untrusted PR content cannot execute with these credentials.

@LinguineCode

Copy link
Copy Markdown
Contributor Author

Closing: app-frontend already has automated review (CodeRabbit, cubic, Copilot), so Robin isn't needed here.

@LinguineCode
LinguineCode deleted the ci/robin-review branch November 23, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:defer-cypress Hold required Cypress jobs for approval during AI review iteration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant