Skip to content
AnchrasDocumentation
Browse documentation

Applications / User guide

Code review integration

Connect repository review workflows to the AI gateway and inspect review runs and findings.

On this page

Connect repository review workflows to the Anchras AI gateway and inspect recorded review runs.

Before you begin

Connect the Source GitHub App to the intended repository and configure a working AI gateway route. Use a deployment that enables the code-review integration. Review repository permissions before enabling automation.

Get started

  1. Bind the repository through the supported source integration.
  2. Configure the code-review binding and gateway/model settings.
  3. Install the supported CI workflow and enable the intended pull-request trigger where available.
  4. Run a review on a test pull request and inspect the recorded run and resulting review output.

Operate the service

Inspect durable runs and findings for the exact repository revision. Keep review configuration and model selection versioned with your workflow. Verify that the CI action has only the repository permissions needed to publish its output.

Availability and limits

This integration is preview. Anchras manages bindings, gateway access, durable runs, and findings. The Open Code Review action owns posting review comments; optional pull-request orchestration depends on the Source integration and deployment configuration.

Troubleshooting

For a missing run, inspect the repository binding, trigger configuration, and CI workflow. For a run with no posted comments, inspect the action result and repository write permissions separately from gateway execution.

Next steps

Read Source builds for repository connections and AI gateway and models for model routing.

CLI commands

Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.

CommandPurpose
anchras code-review <bindings|runs|setup>CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments.
anchras code-review bindings <list|enable|disable>CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments.
anchras code-review runs <list|get>CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments.
anchras code-review runs get <run-id>CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments.

API reference

Browse procedures, request and response types, and download the complete OpenAPI contract.