The review
When it runs
A skipped review is never silent. The Ankra AI review check run says why it did not run. The check is advisory: it concludes neutral and never blocks a merge.
What it reads
The review is more than a diff summary, because it sees what your pipeline saw:- The diff, with line numbers, and the pull request’s title and description.
- Callers of the changed code in the same repository.
- Related repositories you declared, and their references to what changed. A
Depends-on: my-org/other-repo#123line links a companion pull request. See Cross-repository review. - Your pipeline’s result for that commit: the failing step and its error, the scan findings by tool and severity, the gate’s verdict and blocking count, and the image digest. Each fact is sourced separately, so a missing one never reads as a clean one.
- Your organisation’s review instructions, up to 4,000 characters per installation: what to weigh heavily, which conventions to enforce, which language to write in.
What it posts
- Verdict: looks good, comments, changes requested, or no findings.
- Findings: at most eight, each
high,mediumorlow, each pinned to its line as an inline comment as well. A finding that needs more context is checked against the file and restated or dropped, rather than posted as a guess. - One comment, edited in place. A re-review updates it, and its footer names the commit it reviewed.
Talk to it: @ankraai
With Mention replies on, anyone in the pull request can ask:
On GitLab and Bitbucket Cloud, an Agent-mode reply proposes the fix with a branch name and commit message, because Ankra does not open pull requests there.
Merge when green
Comment@ankraai merge when green, press the button in the portal, or ask Ankra AI in chat or through MCP. Ankra records the request and merges (squash) the moment every condition holds:
- The connection is in Agent mode, and the requester is a member with
pipelines.operatewhose GitHub identity is OAuth-verified. That is re-checked at merge time, not only when the comment was written. - The newest pipeline run for the head succeeded, and its
gatepassed. - The run executed under plainly approved authority.
- Ankra’s review did not request changes on that commit, and no human reviewer’s latest review is Changes requested.
- The head is not a fork.
When a build fails
A failedbuild step, or a gate that blocked the image, gets attention routed by who owns the branch. Ankra’s own infrastructure failures are excluded: they are retried, not “fixed”.
- Nobody’s pull request gets an unattended commit. A failed build on a pull request gets a diagnosis, and a person decides whether to ask for the fix.
- Every fix is a pull request a human merges. The fix mission tries deterministic fixes first, then the AI. It runs at most once per application per day.
- Auto-fix is on by default per application, and turning it off needs deploy permission on that application. To ask for a fix by hand:
ankra application demo fix-build <application-id>.
Previews you can click
With PR previews on, every pull request deploys to a throwaway environment on your organisation’s staging cluster, from the exact digest its pipeline built, never from a mutable tag. The status comment’s preview section shows it building, then a Visit Preview link, and it is torn down when the pull request closes. Previews work on GitHub, and on GitLab and Bitbucket Cloud for applications on Ankra Pipelines. See PR preview environments and AI Gateway for where previews run and how they get a public URL.Configure it from the terminal
set changes only the switches you pass, and keeps the rest of the repository’s rule. Listing needs membership; set, unset and related repositories need an organisation administrator.