<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Emil Reiter</title>
    <description>The latest articles on DEV Community by Emil Reiter (@emilreiter).</description>
    <link>https://dev.to/emilreiter</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4122532%2Fc1774fd9-c2b7-45bf-bbe5-7e04fc444e8a.png</url>
      <title>DEV Community: Emil Reiter</title>
      <link>https://dev.to/emilreiter</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emilreiter"/>
    <language>en</language>
    <item>
      <title>Kodus vs CodeRabbit on self-managed GitLab, Azure Repos and Bitbucket DC</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Wed, 25 Nov 2026 14:00:01 +0000</pubDate>
      <link>https://dev.to/emilreiter/kodus-vs-coderabbit-on-self-managed-gitlab-azure-repos-and-bitbucket-dc-4me4</link>
      <guid>https://dev.to/emilreiter/kodus-vs-coderabbit-on-self-managed-gitlab-azure-repos-and-bitbucket-dc-4me4</guid>
      <description>&lt;p&gt;&lt;em&gt;This ran first on &lt;a href="https://mergerequests.dev/blog/kodus-vs-coderabbit-on-self-managed-gitlab-azure-repos-and-bitbucket-dc/" rel="noopener noreferrer"&gt;mergerequests.dev&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;CodeRabbit and Kodus both review pull requests on self-managed GitLab, Azure Repos and Bitbucket Data Center, but they get there from opposite ends of the market. CodeRabbit's self-hosted edition is an Enterprise deployment with a 500-user-seat floor, sold through sales. Kodus runs self-hosted on a free Community tier, with a paid cloud tier for teams that would rather not run the containers themselves.&lt;/p&gt;

&lt;p&gt;That gap decides the budget conversation before any feature comparison starts. A team that cannot sign an Enterprise agreement at that seat count has only one of these two options left to evaluate. A team that already has the agreement moves on to per-forge behavior, and that is where the differences get concrete, because Azure Repos and Bitbucket Data Center do not offer the API surface that AI reviewers tend to assume they will find.&lt;/p&gt;

&lt;h2&gt;
  
  
  The self-hosted floor
&lt;/h2&gt;

&lt;p&gt;CodeRabbit ships the review agent as a container image you run in your own infrastructure, and its &lt;a href="https://docs.coderabbit.ai/self-hosted/overview" rel="noopener noreferrer"&gt;self-hosted overview&lt;/a&gt; lists GitHub Enterprise Server, GitLab self-managed, Azure DevOps and Bitbucket Data Center as supported. Code and pull request data stay inside your environment, and prompts plus source code leave it only to reach the LLM provider you configure. For an instance with no inbound access, the &lt;a href="https://docs.coderabbit.ai/self-hosted/coderabbit-reverse-tunnel" rel="noopener noreferrer"&gt;CodeRabbit Reverse Tunnel&lt;/a&gt; runs a connector inside your network that dials out over WSS, so CodeRabbit's clone, fetch and comment traffic arrives through an existing outbound session while webhooks keep flowing out through your own NAT. Deployment and configuration instructions go to customers during onboarding rather than being published.&lt;/p&gt;

&lt;p&gt;Kodus documents its install path openly. There is a &lt;a href="https://docs.kodus.io/en/how_to_deploy/deploy_kodus/kubernetes" rel="noopener noreferrer"&gt;Helm chart for Kubernetes and OpenShift&lt;/a&gt; in the kodus-installer repository, with each data store running bundled as a StatefulSet, as an external service, or as an operator-managed CR, plus a &lt;a href="https://docs.kodus.io/en/how_to_deploy/deploy_kodus/generic_vm" rel="noopener noreferrer"&gt;generic VM install&lt;/a&gt; driven by a .env file. Webhooks run on a separate service on port 3332, so the webhook hostname has to be routed independently of the API host, and leaving &lt;code&gt;WORKER_ROLE&lt;/code&gt; unset crashes the worker on boot, which then makes every webhook event fail with a QueueBind 404 because the queues were never created. Air-gapped installs are covered in the chart README. Kodus runs on BYOK on every plan, reviews are unlimited on every plan, and the one hard cap documented is that it will not review a PR with more than 2,000 changed files.&lt;/p&gt;

&lt;p&gt;The practical difference is the shape of a pilot. A self-hosted trial on Kodus Community costs you a cluster and your own model tokens. A self-hosted trial on CodeRabbit costs an Enterprise contract and 500 seats before anything runs. There is more on how the two vendors compare on on-prem deployment generally in &lt;a href="https://mergerequests.dev/blog/self-hosted-ai-code-review-coderabbit-and-qodo-per-their-docs/" rel="noopener noreferrer"&gt;what CodeRabbit and Qodo document for self-hosting&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitLab self-managed: version floor and how the bot authenticates
&lt;/h2&gt;

&lt;p&gt;CodeRabbit's &lt;a href="https://docs.coderabbit.ai/platforms/self-hosted-gitlab" rel="noopener noreferrer"&gt;self-managed GitLab page&lt;/a&gt; sets a version floor at GitLab 16.x and warns that 15.x may show review comments not being posted, or the sign-up flow failing outright. Onboarding is either automated, using an instance admin token to create a dedicated bot user, or manual, where you create that user plus an instance-wide OAuth2 application with the &lt;code&gt;api&lt;/code&gt;, &lt;code&gt;read_user&lt;/code&gt;, &lt;code&gt;email&lt;/code&gt; and &lt;code&gt;openid&lt;/code&gt; scopes and a callback to &lt;code&gt;app.coderabbit.ai/login&lt;/code&gt;. IP allowlisting is documented for instances that need it.&lt;/p&gt;

&lt;p&gt;Kodus documents two token paths for &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/general_config/gitlab_pat" rel="noopener noreferrer"&gt;GitLab&lt;/a&gt;. A personal access token posts reviews as the account that owns it, which is the same behavior you get from connecting with OAuth. A group access token posts as a bot user GitLab creates for the token, named after it, with access to every project in the group and its subgroups. The detail worth checking before you plan around it: on GitLab Self-Managed and GitLab Dedicated, group access tokens are available with any license, while on GitLab.com they require Premium or Ultimate and are not available during a trial. A self-managed team can therefore get the separate-bot-identity behavior that a GitLab.com team on a trial cannot.&lt;/p&gt;

&lt;p&gt;One GitLab-specific limitation on the Kodus side: the Request Changes toggle is hidden when GitLab is your only connected platform, so blocking behavior there comes from approval rather than a changes-requested review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure Repos: no reactions, no labels, and what that does to a gate
&lt;/h2&gt;

&lt;p&gt;Both products need elevated access on Azure DevOps, and both document the setup at length. CodeRabbit's &lt;a href="https://docs.coderabbit.ai/platforms/azure-devops" rel="noopener noreferrer"&gt;Azure DevOps integration&lt;/a&gt; is admin-only and requires Project Administrator or Project Collection Administrator, with authentication by PAT or by a Microsoft Entra service principal, which is now the default for new organizations. Write operations also need Identity Read (&lt;code&gt;vso.identity&lt;/code&gt;) so the credential can resolve identities before posting comments or updating pull requests. Client secrets expire, and reviews stop until a new one is supplied.&lt;/p&gt;

&lt;p&gt;Kodus documents a PAT scope list for &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/general_config/azure_devops_pat" rel="noopener noreferrer"&gt;Azure Repos&lt;/a&gt;: Analytics Read, Code Read &amp;amp; Write, Graph Read, Identities and Groups Read, Project and Team Read and User Profile Read. It also names the failure mode that eats the most support time. If the write half of Code Read &amp;amp; Write is missing, Kody can read repositories but cannot post comments, and reviews run silently with nothing surfaced. The Azure-only quirk on the trigger side is that the webhook URL needs a &lt;code&gt;?token=&lt;/code&gt; signed parameter, which no other forge requires.&lt;/p&gt;

&lt;p&gt;Then there is the platform ceiling, which applies to any reviewer. Azure Repos has no reaction API. Kodus states this in its &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/flow" rel="noopener noreferrer"&gt;code review flow&lt;/a&gt;: native reactions work on GitHub, GitLab and Forgejo, and on Azure DevOps and Bitbucket Kody posts the status emoji as a comment instead, so you see the skipped, error and unlicensed states but not the running and completed pair. A review that never ran and a review that finished cleanly do not look the same way they would on GitLab.&lt;/p&gt;

&lt;p&gt;Approval conditions hit the same wall. Kodus's &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/configs/auto_approve" rel="noopener noreferrer"&gt;conditional auto-approve&lt;/a&gt; supports label and author filters plus a code-history signal on GitHub and GitLab. On Azure Repos there are no labels and no code history, and the docs state that while labels are configured, every PR is held for a person. A team that copies an approval-label policy from a GitHub setup onto Azure Repos does not end up with a stricter gate, it ends up with a gate that never opens on its own.&lt;/p&gt;

&lt;p&gt;If you want a merge gate on Azure Repos that a bot can satisfy, the lever that survives is the branch policy and status check rather than the reviewer's own vote. There is more on how that plays out per tool in &lt;a href="https://mergerequests.dev/blog/azure-repos-merge-gating-for-ai-reviewers-the-status-check-policy/" rel="noopener noreferrer"&gt;Azure Repos merge gating for AI reviewers&lt;/a&gt;, and the Services versus Server split matters as well, since &lt;a href="https://mergerequests.dev/blog/ai-code-review-on-azure-devops-services-vs-server-per-tool/" rel="noopener noreferrer"&gt;the two editions do not carry the same AI review options&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bitbucket Data Center: bot user, OAuth consumer, and what the webhook can carry
&lt;/h2&gt;

&lt;p&gt;CodeRabbit's &lt;a href="https://docs.coderabbit.ai/platforms/bitbucket-data-center" rel="noopener noreferrer"&gt;Bitbucket Data Center guide&lt;/a&gt; walks through the credentials you need before onboarding: a dedicated bot user with write access to the repositories you want reviewed, an HTTP access token for that user with project read and repository write, and an OAuth consumer with Repository Read, Repository Write and Project Admin that redirects to &lt;code&gt;app.coderabbit.ai/login&lt;/code&gt;. It publishes an IP allowlist for direct connections and offers the reverse tunnel for private instances. One caveat there is worth reading twice. Bitbucket versions that reject reviewer event subscriptions cannot send reviewer transitions to CodeRabbit, so triage state can go stale even while reviews keep posting normally.&lt;/p&gt;

&lt;p&gt;Kodus documents a &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/general_config/bitbucket_pat" rel="noopener noreferrer"&gt;Bitbucket PAT&lt;/a&gt; path, and the same conditional-approval limits apply: labels are ignored on Bitbucket and there is no code history, so those conditions drop out of the approval decision rather than holding it. Suggestion copy prompts are also marked unavailable on Bitbucket in the shipped config sample.&lt;/p&gt;

&lt;p&gt;Bitbucket Data Center is the forge where the two products look most alike, because both lean on the same primitives: a bot identity, an access token, and an OAuth consumer or webhook to receive events. What is native to the platform and what has to be bolted on is covered in more detail in &lt;a href="https://mergerequests.dev/blog/ai-code-review-on-bitbucket-data-center-whats-native-what-isnt/" rel="noopener noreferrer"&gt;what Bitbucket Data Center offers natively for AI review&lt;/a&gt;. The gap between the two vendors stays the self-host floor, not the integration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Side by side
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Criterion&lt;/th&gt;
&lt;th&gt;Kodus&lt;/th&gt;
&lt;th&gt;CodeRabbit&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted on a free or entry tier&lt;/td&gt;
&lt;td&gt;Yes, Community is free and self-hostable&lt;/td&gt;
&lt;td&gt;No, self-hosted is Enterprise only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted minimum commitment&lt;/td&gt;
&lt;td&gt;None documented&lt;/td&gt;
&lt;td&gt;500 or more user seats&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Install instructions published&lt;/td&gt;
&lt;td&gt;Yes, Helm charts plus a VM .env guide&lt;/td&gt;
&lt;td&gt;Not published; provided during onboarding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model and key&lt;/td&gt;
&lt;td&gt;BYOK on every plan&lt;/td&gt;
&lt;td&gt;Bring your own model for the self-hosted agent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitLab self-managed&lt;/td&gt;
&lt;td&gt;OAuth or token; group access token gives a bot identity&lt;/td&gt;
&lt;td&gt;GitLab 16.x and above; 15.x may not post comments&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Azure Repos authentication&lt;/td&gt;
&lt;td&gt;PAT with a documented scope list&lt;/td&gt;
&lt;td&gt;PAT or Microsoft Entra service principal, admin-only setup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitbucket DC authentication&lt;/td&gt;
&lt;td&gt;PAT&lt;/td&gt;
&lt;td&gt;Bot user, HTTP access token, OAuth consumer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Status signal on Azure Repos and Bitbucket&lt;/td&gt;
&lt;td&gt;Status emoji posted as a comment (no reaction API)&lt;/td&gt;
&lt;td&gt;Not stated on the platform integration pages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Label-based approval conditions on Azure Repos&lt;/td&gt;
&lt;td&gt;Not available; every PR held for a person&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloud tier price&lt;/td&gt;
&lt;td&gt;Teams at $10 per active developer per month, BYOK&lt;/td&gt;
&lt;td&gt;Essentials $24, Team $48, Advanced $72 per user per month&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Where this lands
&lt;/h2&gt;

&lt;p&gt;If you are on self-managed GitLab, Azure Repos or Bitbucket Data Center and cannot commit to an Enterprise contract at 500 seats, Kodus is the only one of these two you can evaluate without a sales conversation, and the free Community tier is why. That is a real advantage for a pilot, and it comes with the obvious cost: you own the deployment, including the webhook host, the worker role and the databases.&lt;/p&gt;

&lt;p&gt;If the organization already has the Enterprise agreement, the floor stops mattering and the per-forge details decide. CodeRabbit's GitLab 16.x requirement is a hard blocker for a team still on 15.x, and the reverse tunnel is the cleaner answer for an instance that cannot accept inbound connections at all. Kodus's published install is easier to try, and easier to get wrong in the same places every self-hosted reviewer gets wrong, which is the webhook path and the worker role.&lt;/p&gt;

&lt;p&gt;On Azure Repos, be careful with any claim that a bot approval is gating a merge. Kodus's own docs are explicit that labels cannot drive conditional approval there and every PR ends up held for a person, and the platform has no reaction API for status. CodeRabbit's Azure page covers authentication and permissions rather than review state, so treat status behavior there as something to verify on your own organization before you build a policy on top of it.&lt;/p&gt;

&lt;p&gt;Bitbucket Data Center is the closest call of the three. Both vendors need a bot identity and a token, both have a private-network path, and both lose label-driven approval conditions on that forge. If Bitbucket DC is the only forge in scope, pick on the self-host floor and on who operates the deployment, because the integration work is nearly identical.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Can CodeRabbit run self-hosted on GitLab, Azure DevOps or Bitbucket Data Center?
&lt;/h3&gt;

&lt;p&gt;Yes, but only on the Enterprise plan and only for organizations with 500 or more user seats. CodeRabbit runs the review agent as a container image inside your infrastructure and supports GitHub Enterprise Server, GitLab self-managed, Azure DevOps and Bitbucket Data Center. Deployment instructions are provided during onboarding rather than published openly.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does Kodus run self-hosted on a free plan?
&lt;/h3&gt;

&lt;p&gt;Yes. The Community plan is free and can be self-hosted or run in the cloud, with BYOK and unlimited reviews. It ships as Helm charts for Kubernetes and OpenShift plus a generic VM install. The documented hard limit is that Kodus does not review a PR with more than 2,000 changed files.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why do AI review tools behave differently on Azure Repos than on GitLab?
&lt;/h3&gt;

&lt;p&gt;Azure Repos has no reaction API and no pull request labels of the kind conditional-approval features assume. On Azure Repos, Kodus posts its status emoji as a comment instead of a reaction, and its label-based conditional auto-approve conditions cannot be satisfied, so every PR is held for a person. The same API gap limits any reviewer on that forge.&lt;/p&gt;

&lt;h3&gt;
  
  
  What GitLab version does CodeRabbit require for self-managed instances?
&lt;/h3&gt;

&lt;p&gt;CodeRabbit supports GitLab 16.x and above. Its docs warn that 15.x may experience review comments not being posted or the sign-up process not working at all, and recommend upgrading the instance.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>devops</category>
      <category>ai</category>
      <category>codereview</category>
    </item>
    <item>
      <title>GitLab Duo code review on Self-Managed: which one runs</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Mon, 23 Nov 2026 02:45:01 +0000</pubDate>
      <link>https://dev.to/emilreiter/gitlab-duo-code-review-on-self-managed-which-one-runs-50da</link>
      <guid>https://dev.to/emilreiter/gitlab-duo-code-review-on-self-managed-which-one-runs-50da</guid>
      <description>&lt;p&gt;&lt;em&gt;This ran first on &lt;a href="https://mergerequests.dev/blog/gitlab-duo-code-review-on-self-managed-which-one-runs/" rel="noopener noreferrer"&gt;mergerequests.dev&lt;/a&gt;, which is the canonical copy.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A merge request on GitLab Self-Managed gets reviewed by &lt;code&gt;@GitLabDuo&lt;/code&gt;, and one of two different features answers. Code Review Flow is the agentic version and runs as a CI/CD job. GitLab Duo Code Review is the non-agentic version and makes a single pass over the diff. Both post under the same reviewer handle, so the merge request looks identical from the outside. The engine behind it and the infrastructure that has to exist before a review can run are not the same, and on Self-Managed those differences land on you.&lt;/p&gt;

&lt;p&gt;GitLab says this plainly on &lt;a href="https://docs.gitlab.com/user/project/merge_requests/duo_in_merge_requests/" rel="noopener noreferrer"&gt;GitLab Duo in merge requests&lt;/a&gt;: when you request a review from GitLab Duo, it automatically runs one of the two code review features based on your add-on.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Detail&lt;/th&gt;
&lt;th&gt;Code Review Flow&lt;/th&gt;
&lt;th&gt;GitLab Duo Code Review&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Reviewer&lt;/td&gt;
&lt;td&gt;&lt;code&gt;@GitLabDuo&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;@GitLabDuo&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Type&lt;/td&gt;
&lt;td&gt;Agentic&lt;/td&gt;
&lt;td&gt;Non-agentic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Required add-on&lt;/td&gt;
&lt;td&gt;None, uses GitLab Credits&lt;/td&gt;
&lt;td&gt;GitLab Duo Enterprise&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Context&lt;/td&gt;
&lt;td&gt;Repository structure and cross-file dependencies&lt;/td&gt;
&lt;td&gt;The merge request and its diffs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Analysis&lt;/td&gt;
&lt;td&gt;Multi-step agentic reasoning&lt;/td&gt;
&lt;td&gt;Single-pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Follow-up reviews&lt;/td&gt;
&lt;td&gt;Reuses earlier Duo threads&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Execution&lt;/td&gt;
&lt;td&gt;CI/CD job&lt;/td&gt;
&lt;td&gt;Not a CI/CD job&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Minimum tier&lt;/td&gt;
&lt;td&gt;Free, Premium, Ultimate&lt;/td&gt;
&lt;td&gt;Premium, Ultimate&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The seat of whoever starts the review decides which engine runs
&lt;/h2&gt;

&lt;p&gt;The deciding factor is not a project setting. GitLab routes by the seat of the user who initiates the review, and there are four triggers that count as initiating it: requesting a review manually, opening a merge request that is not a draft, marking a draft ready, and pushing new commits with &lt;strong&gt;Start a new review on push&lt;/strong&gt; enabled (that last one applies to Code Review Flow only).&lt;/p&gt;

&lt;p&gt;If the initiating user holds a GitLab Duo Enterprise seat, the non-agentic GitLab Duo Code Review runs. If they do not, Code Review Flow runs. Both features can run in the same project, on the same day, depending on who touched the merge request last.&lt;/p&gt;

&lt;p&gt;That routing rule has an operational consequence you tend to find the hard way: a review's behavior can change because a different person opened the merge request, not because anything in the repository changed.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to tell which feature actually ran
&lt;/h3&gt;

&lt;p&gt;GitLab documents the diagnostic. Code Review Flow starts a review session when it runs, so check the merge request activity feed for a session started by GitLab Duo, or look under &lt;strong&gt;AI &amp;gt; Sessions&lt;/strong&gt; for the project. If no review session appears, the non-agentic GitLab Duo Code Review ran the review.&lt;/p&gt;

&lt;p&gt;That check matters when you are debugging a review that felt shallow on a change that clearly spans files. A single-pass reviewer working from the merge request diff and file contents will not connect a signature change in one file to a caller in another. The agentic flow is designed to. If the review you are looking at did not open a session, you were never getting the cross-file behavior in the first place.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Enterprise seats default away from the agentic flow
&lt;/h3&gt;

&lt;p&gt;Group Owners can configure every review to use Code Review Flow regardless of seat, but GitLab's default goes the other way, and the reason is billing. Code Review Flow consumes GitLab Credits. A group Owner can override the default in &lt;strong&gt;Settings &amp;gt; GitLab Duo &amp;gt; Change configuration&lt;/strong&gt; by clearing and re-checking the Code Review Flow box under &lt;strong&gt;Flow execution &amp;gt; Allow foundational flows&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The default is deliberate: it keeps Enterprise seat holders from spending credits on a feature their add-on already covers. For a mixed-seat organization, that means two review behaviors in one project, and the setting that flips everyone onto the agentic path also puts every review on the metered path. Deciding between those two is the actual configuration question on Self-Managed, and it is a spending decision as much as a quality one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code Review Flow is a CI/CD job, and Self-Managed has to supply the runner
&lt;/h2&gt;

&lt;p&gt;This is the part that catches Self-Managed teams who have only read the feature comparison. Code Review Flow runs as a CI/CD job. If the job has nowhere to run, the review does not post.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/code_review/" rel="noopener noreferrer"&gt;Code Review Flow prerequisites&lt;/a&gt; require a runner tagged &lt;code&gt;gitlab--duo&lt;/code&gt; with an executor that supports Docker images, or GitLab hosted runners turned on for the project. On GitLab.com you can take the hosted option. On Self-Managed you are registering and tagging a runner yourself, which is a smaller job than it sounds but not zero.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the runner actually does
&lt;/h3&gt;

&lt;p&gt;Per &lt;a href="https://docs.gitlab.com/user/duo_agent_platform/flows/execution/" rel="noopener noreferrer"&gt;Configure flow execution&lt;/a&gt;, the runner downloads the GitLab Duo CLI binary for its OS and architecture from the GitLab package registry (no Node.js or npm needed), runs that CLI over a WebSocket connection to the GitLab Duo Workflow Service, and executes tools like file operations and Git commands as directed by the model. The executor version is managed by GitLab and updated with regular releases, so the runner is a moving dependency rather than something you pin and forget.&lt;/p&gt;

&lt;p&gt;The runner clones the whole repository at the start of every flow. On a large monorepo that clone can consume most of the time before the review begins. GitLab offers a beta path where you bake a bare copy of the repository into an image and point the agent configuration at it, so each session fetches only the commits made since the image was built. If review latency on a big repository is the complaint, that is the documented lever, and it is worth knowing it exists before you conclude the agentic flow is too slow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Flow configuration is read from the default branch only
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;agent-config.yml&lt;/code&gt; file is read-only from the project's default branch. Files committed to other branches are ignored, even when a flow runs from those branches. This applies to &lt;code&gt;setup_script&lt;/code&gt;, caching, and the agent configuration keys, so testing a change to flow behavior on a feature branch will not do what you expect. Merge it to the default branch or accept that you are testing the old config.&lt;/p&gt;

&lt;p&gt;There is a security detail in &lt;code&gt;setup_script&lt;/code&gt; worth flagging: those commands run before the sandbox is applied and execute outside it, with access to all environment variables in the flow, including the triggering user's OAuth token and service token. That is a documented behavior, and it means anyone who can merge to the default branch can effectively run commands with those credentials. Treat &lt;code&gt;agent-config.yml&lt;/code&gt; with the same review requirements you apply to CI configuration, because that is what it is. The runner and agent side of this is the same problem I looked at across all three forges in &lt;a href="https://mergerequests.dev/blog/ai-review-compute-gitlab-runners-azure-agents-bitbucket-dc-builds/" rel="noopener noreferrer"&gt;AI review compute on GitLab runners, Azure agents and Bitbucket DC builds&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitLab Credits change what a review costs, and the self-hosted boundary
&lt;/h2&gt;

&lt;p&gt;GitLab Credits are the consumption currency for the Duo Agent Platform, and &lt;a href="https://docs.gitlab.com/subscriptions/gitlab_credits/" rel="noopener noreferrer"&gt;the credits page&lt;/a&gt; sets out how they are bought and spent. Included credits go to each user on Premium or Ultimate, are individual rather than shareable, and reset monthly without rollover. The monthly commitment pool is shared across the subscription, cannot be reserved for a subset of users, and requires usage caps if you want to bound individual consumption. Beyond that, on-demand credits bill at the list price of $1 per credit used.&lt;/p&gt;

&lt;p&gt;Two things here are easy to get wrong. First, GitLab Duo Pro and Enterprise and their associated features are not billed on usage and do not consume credits, so the non-agentic GitLab Duo Code Review does not draw from the pool. Second, when a flow runs as a service account, usage is billed to the namespace even if a user started the flow. Code Review Flow is a foundational flow, so it bills to the namespace. A team that assumes each review lands on the individual who triggered it will misread the dashboard.&lt;/p&gt;

&lt;p&gt;Self-Managed teams on the Free tier are not excluded: the Free tier can purchase a monthly commitment pool for the instance or a group namespace and get access to Agent Platform features without a Premium or Ultimate subscription, with on-demand usage capped at $25,000 per calendar month before it turns off and resets the following month.&lt;/p&gt;

&lt;h3&gt;
  
  
  Self-hosted AI Gateway and the Agent Platform service
&lt;/h3&gt;

&lt;p&gt;For an instance that runs models inside its own network, the &lt;a href="https://docs.gitlab.com/administration/gitlab_duo_self_hosted/configure_duo_features/" rel="noopener noreferrer"&gt;Self-Managed configuration&lt;/a&gt; covers the wiring: a local AI Gateway URL, and from GitLab 18.4 an additional local URL for the Duo Agent Platform service, typically the same host on gRPC port &lt;code&gt;:50052&lt;/code&gt; with no URL prefix. The Agent Platform prerequisites also note a version constraint worth reading before you plan an upgrade path: on GitLab 18.9 and earlier you cannot use the Agent Platform with the GitLab Duo Enterprise add-on, and 18.10 or later is required. On GitLab 18.8 and later the Agent Platform needs to be turned on; on 18.7 and earlier it sits behind beta and experimental features.&lt;/p&gt;

&lt;p&gt;An instance with an offline license needs the GitLab Duo Agent Platform Self-Hosted add-on to reach the Agent Platform service. That is a specific add-on for a specific deployment shape, and it is the detail that decides whether the agentic review path is available at all in an air-gapped install.&lt;/p&gt;

&lt;h3&gt;
  
  
  Two timeouts decide whether a large review completes
&lt;/h3&gt;

&lt;p&gt;The non-agentic feature has a documented failure mode on large merge requests. It sends the diffs and the original contents of changed files, retries without the original file contents if that fails, and returns a generic error if the retry also fails. The retry shrinks the prompt and reduces the context the model has, so comments can come back less specific than a review that had the file contents. Reviews that do not complete inside the AI Gateway request timeout surface as generic errors too.&lt;/p&gt;

&lt;p&gt;That timeout defaults to 120 seconds and is configurable between 60 and 600 seconds in the admin settings. There is a second, separate timeout on the AI Gateway side: by default the gateway ends a single chat model request after 30 seconds, raised with the &lt;code&gt;AIGW_DUO_CHAT__MODEL_REQUEST_TIMEOUT&lt;/code&gt; environment variable on the gateway container. A slow self-hosted model behind a large context window can hit the second one while the first one still looks generous. If reviews against your own models fail without a useful error, those are the two knobs to look at before blaming the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom instructions steer the review, they do not enforce it
&lt;/h2&gt;

&lt;p&gt;Both features take custom instructions. For the non-agentic feature, &lt;a href="https://docs.gitlab.com/user/gitlab_duo/customize_duo/review_instructions/" rel="noopener noreferrer"&gt;custom review instructions&lt;/a&gt; live in &lt;code&gt;.gitlab/duo/mr-review-instructions.yaml&lt;/code&gt;, with optional glob &lt;code&gt;fileFilters&lt;/code&gt; per instruction block so you can scope Ruby conventions to &lt;code&gt;*.rb&lt;/code&gt; and exclude &lt;code&gt;spec/**&lt;/code&gt;. Multiple instruction groups can apply to one file, and comments generated from them are labeled with the instruction name.&lt;/p&gt;

&lt;p&gt;GitLab is explicit about the ceiling: custom review instructions are guidance for the AI reviewer, not enforced policies, and the docs advise against relying on them for security controls, compliance obligations, or anything requiring consistent enforcement. Instructions are appended to the standard review criteria rather than replacing them, and a review that finds nothing leaves a summary comment that the custom instructions do not apply to.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scope&lt;/th&gt;
&lt;th&gt;How it is set&lt;/th&gt;
&lt;th&gt;Read from&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Project&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;.gitlab/duo/mr-review-instructions.yaml&lt;/code&gt; in the repository&lt;/td&gt;
&lt;td&gt;The branch under review&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Group&lt;/td&gt;
&lt;td&gt;A template project selected under Settings &amp;gt; GitLab Duo&lt;/td&gt;
&lt;td&gt;The template project&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Instance&lt;/td&gt;
&lt;td&gt;A template project selected in the admin area&lt;/td&gt;
&lt;td&gt;The template project&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Group and instance instructions combine with project-level ones. Two operational notes: group instructions are visible to anyone who can view a merge request in the group even without access to the project holding the file, so nothing confidential belongs in that file, and a Code Owners entry protecting &lt;code&gt;mr-review-instructions.yaml&lt;/code&gt; is the practical way to keep it from drifting.&lt;/p&gt;

&lt;p&gt;Automatic reviews are configured separately from all of this, in &lt;strong&gt;Settings &amp;gt; Merge requests&lt;/strong&gt;, and can be narrowed with a &lt;code&gt;.gitlab/duo/mr-review-automated-rules.yaml&lt;/code&gt; exclusion file that matches target branches, source branches, or authors with glob patterns. Exclusion rules only suppress the automatic review; a manual request still runs. If you want bots and release branches out of the review queue, that file is where it happens.&lt;/p&gt;

&lt;h3&gt;
  
  
  Approvals and change requests
&lt;/h3&gt;

&lt;p&gt;GitLab Duo can approve a merge request when it finds nothing to comment on, and an approval from GitLab Duo does not count toward required approvals. It can also request changes, and that behavior is beta and behind a feature flag, enabled per project, group, or instance. A request for changes from GitLab Duo has the same blocking effect as one from a user if your project blocks on requests for changes, and it stays until GitLab Duo approves in a follow-up review or someone bypasses it. There is a real asymmetry in that pair: the approval is cosmetic for gating purposes, and the request for changes is not.&lt;/p&gt;

&lt;h2&gt;
  
  
  What third-party reviewers add on Self-Managed GitLab
&lt;/h2&gt;

&lt;p&gt;Duo's native review covers one thing well: the merge request in front of it, with instructions you maintain in the repository. It does not cover policy you want evaluated as a rule with a pass or fail, and the credits model meters the agentic path per review.&lt;/p&gt;

&lt;p&gt;Tools that run inside your own network fill different parts of that gap, and they do not all have the same deployment shape:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Self-managed deployment&lt;/th&gt;
&lt;th&gt;Notable constraint&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;GitLab Duo (native)&lt;/td&gt;
&lt;td&gt;Self-Managed, Dedicated, or Self-Hosted AI Gateway&lt;/td&gt;
&lt;td&gt;Agentic path needs a &lt;code&gt;gitlab--duo&lt;/code&gt; runner; credits billed to the namespace&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kodus&lt;/td&gt;
&lt;td&gt;Self-hosted via Docker or Kubernetes, or cloud&lt;/td&gt;
&lt;td&gt;Community self-hosted allows production use within the limits it enforces: up to 10 active Kody Rules and 3 plugins running at a time; BYOK on every plan&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PR-Agent&lt;/td&gt;
&lt;td&gt;Self-hosted, runs as pipeline job or webhook receiver&lt;/td&gt;
&lt;td&gt;Open source; you own the trigger wiring&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit, Qodo&lt;/td&gt;
&lt;td&gt;Self-hosted, Enterprise tier&lt;/td&gt;
&lt;td&gt;Sales-gated; see their documented seat floors and platform lists&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Kodus is worth a closer look for a Self-Managed GitLab team specifically because of how the two limits interact with BYOK. The &lt;a href="https://docs.kodus.io/en/how_to_deploy/deploy_kodus/generic_vm" rel="noopener noreferrer"&gt;Docker install&lt;/a&gt; lists 2+ cores, 8GB RAM and 60GB disk for the default sandbox mode, and states that internet access is optional when both Git and the LLM run on-prem. Reviews run on your own model key on every plan including Community, so review volume does not meter against a vendor credit pool the way the agentic Duo path does. The trade is that Community caps Kody Rules at 10 and plugins at 3, which is a real ceiling once your rule set grows past a single team's conventions. The &lt;a href="https://docs.kodus.io/en/how_to_deploy/platforms/gitlab/gitlab_webhook" rel="noopener noreferrer"&gt;GitLab webhook setup&lt;/a&gt; asks for the secret token to be left blank and consumes comment and merge request events only.&lt;/p&gt;

&lt;p&gt;For an instance that already has GitLab runners, PR-Agent is the cheaper starting point since the compute is already there. I compared those two paths in &lt;a href="https://mergerequests.dev/blog/kodus-vs-pr-agent-for-self-managed-gitlab/" rel="noopener noreferrer"&gt;Kodus vs PR-Agent for self-managed GitLab&lt;/a&gt;, and the short version is that PR-Agent's cost is the trigger plumbing you write and maintain, while Kodus's is the rule and plugin limits on the free tier. If the pressure on your team is review volume from generated code rather than policy coverage, the per-forge ceilings in &lt;a href="https://mergerequests.dev/blog/reviewing-ai-generated-code-at-volume-the-ceilings-per-forge/" rel="noopener noreferrer"&gt;reviewing AI-generated code at volume&lt;/a&gt; are the more relevant comparison.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to check before you turn either feature on
&lt;/h2&gt;

&lt;p&gt;Work out which of the two features your team will actually get before you promise anyone an agentic reviewer. If your project owners all hold Duo Enterprise seats, the default sends every review to the non-agentic feature, and you will need to override that setting to get cross-file context. If they do not hold Enterprise seats, reviews run through Code Review Flow and consume credits billed to the namespace, which means someone needs to own the usage caps.&lt;/p&gt;

&lt;p&gt;Then check the plumbing. A &lt;code&gt;gitlab--duo&lt;/code&gt; tagged runner with a Docker-capable executor has to exist before the agentic path can post anything, and on an air-gapped instance the Agent Platform Self-Hosted add-on has to be in the license before that path is even available. Both of those are infrastructure decisions, and neither one shows up in a feature comparison table.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>devops</category>
      <category>ai</category>
      <category>codereview</category>
    </item>
    <item>
      <title>Rate limits that throttle an AI reviewer on GitLab, Azure Repos and Bitbucket DC</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Wed, 18 Nov 2026 14:15:00 +0000</pubDate>
      <link>https://dev.to/emilreiter/rate-limits-that-throttle-an-ai-reviewer-on-gitlab-azure-repos-and-bitbucket-dc-429</link>
      <guid>https://dev.to/emilreiter/rate-limits-that-throttle-an-ai-reviewer-on-gitlab-azure-repos-and-bitbucket-dc-429</guid>
      <description>&lt;p&gt;An AI reviewer is a heavy API client. It reads a diff, walks to related files for context, posts comments, sets a status, and does it again on the next push. What limits how much of that it can do is the forge's own request budget, and GitLab, Azure DevOps and Bitbucket measure that budget in three different ways.&lt;/p&gt;

&lt;p&gt;GitLab Self-Managed leaves most of those limits off until an administrator turns them on, which makes the ceiling a configuration choice. Azure DevOps Services meters consumption against shared resources and can slow a request down while still answering with HTTP 200. Bitbucket Data Center uses a token bucket per user, and on a cluster it hands out one bucket per node. When a review bot starts timing out or posting partial results, one of those three mechanisms is the first place to look.&lt;/p&gt;

&lt;h2&gt;
  
  
  The forge API is the reviewer's real ceiling
&lt;/h2&gt;

&lt;p&gt;A reviewer's workload splits into cheap and expensive parts. Reading the diff and posting inline comments is bounded by the number of files. Building context across the repository is bounded by how many search or file requests the forge will accept, and that budget is shared with everything else the same identity does.&lt;/p&gt;

&lt;p&gt;That split decides which limit matters. A bot that only reads the diff will rarely hit anything. A bot that tries to understand a change by pulling in related files hits the search and file endpoints, and those are the ones with the lowest ceilings on two of the three forges.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitLab Self-Managed: most limits are off until you turn them on
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/administration/settings/user_and_ip_rate_limits.md" rel="noopener noreferrer"&gt;user and IP rate limits&lt;/a&gt; on a self-managed instance are disabled by default. When an administrator enables them under Admin &amp;gt; Settings &amp;gt; Network, the defaults are 3,600 unauthenticated API requests per hour per IP address, 7,200 authenticated API requests per hour per user, and the same 7,200 per hour for authenticated web requests. An API-specific limit, such as the one for the repository files API, supersedes the general limits for that API.&lt;/p&gt;

&lt;p&gt;The limits that are not off by default are the ones that matter for a reviewer. The &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/administration/instance_limits.md" rel="noopener noreferrer"&gt;search rate limit&lt;/a&gt; allows 30 authenticated requests per minute and 10 unauthenticated. Cross-file context runs through search, so a bot that reads the repository to understand a change has 30 lookups a minute to spend, shared with every human searching the same instance. A few endpoints are &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/rate_limits/non_configurable.md" rel="noopener noreferrer"&gt;not configurable at all&lt;/a&gt;: file and blob access is limited to 5 calls per minute per object per project for files over 10 MB, and expanded commit diffs to 6 requests per minute. A bot that opens large generated files hits those before it hits anything else.&lt;/p&gt;

&lt;p&gt;Webhook setup has its own small budget, documented in &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/administration/settings/rate-limit-on-webhook-operations.md" rel="noopener noreferrer"&gt;webhook operations rate limits&lt;/a&gt;: 5 project webhook creations per minute, 10 for group webhooks, 5 for system hooks, and 5 per minute for testing or resending an event. That is separate from the webhook delivery limit, which lives in the plan limits and is disabled by default. The delivery side is a namespace-level budget rather than a per-project one, so every project and group webhook under the same top-level namespace shares it, and system hooks managed by an instance administrator are not rate limited at all. Requests over any of these return 429, and the response body is plain text that defaults to Retry later and can be replaced with a message of your own.&lt;/p&gt;

&lt;p&gt;There is also a ban path that behaves worse than a rate limit. A &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/rate_limits/abuse_bans.md" rel="noopener noreferrer"&gt;failed authentication ban&lt;/a&gt; returns 403 for an hour after 10 failed authentication requests in a minute from one IP address. It is off by default, and once it starts, a valid credential does not clear it, because the ban is checked before the credentials are. If your instance sits behind a load balancer and you enable it, set the nginx trusted proxy addresses first, or Rack Attack will denylist the load balancer and lock out everyone behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure DevOps Services: consumption limits and the HTTP 200 that hides a delay
&lt;/h2&gt;

&lt;p&gt;Azure DevOps does not publish a requests-per-minute number. It meters &lt;a href="https://learn.microsoft.com/en-us/azure/devops/integrate/concepts/rate-limits?view=azure-devops" rel="noopener noreferrer"&gt;resource consumption&lt;/a&gt; in Azure DevOps throughput units, and the global limit is 200 TSTU in any sliding five-minute window. A user's requests also get delayed when their personal consumption exceeds 200 times that of a typical user. Delays range from a few milliseconds to 30 seconds and stop within five minutes of consumption dropping. If consumption stays high, they can continue indefinitely, because the point is to protect the shared resource rather than to punish the client.&lt;/p&gt;

&lt;p&gt;The part that breaks clients is how a delay is reported. The delayed response still returns HTTP 200, with Retry-After and X-RateLimit-Delay headers carrying the delay. A review bot that treats 2xx as success will record requests that never ran, which is a worse failure than an error, because nothing in the logs looks wrong. Only when requests are blocked does the client get a 429, with a message that names the resource and namespace. Raising the ceiling means assigning the Basic plus Test Plans access level to the identity the bot uses, which is billed for as long as it is assigned. Only that access level provides the increase, and the docs say to revert the assignment when it is no longer needed.&lt;/p&gt;

&lt;p&gt;Pipelines participate in the same system, and each pipeline is tracked as its own entity with a 200 TSTU limit per sliding five-minute window. That matches the global per-user limit. A build agent, including a self-hosted one, generates consumption by cloning and sending logs, so moving the agent onto your own hardware does not move the consumption off the service.&lt;/p&gt;

&lt;h3&gt;
  
  
  Reading the headers instead of the status code
&lt;/h3&gt;

&lt;p&gt;The headers are the only place the delay is visible, and most of them arrive before any delay starts, which is what makes them usable for throttling your own client rather than reacting to failures.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;X-RateLimit-Limit&lt;/code&gt; is the total TSTUs allowed before delays begin, and &lt;code&gt;X-RateLimit-Remaining&lt;/code&gt; is what is left. Once requests are already delayed or blocked, remaining reads 0. &lt;code&gt;X-RateLimit-Reset&lt;/code&gt; is the Unix epoch time when tracked usage returns to zero if all consumption stops immediately. &lt;code&gt;X-RateLimit-Delay&lt;/code&gt; carries the delay on the request itself, in seconds with millisecond precision, and it is the one header that is only sent once delays have started. &lt;code&gt;X-RateLimit-Cost&lt;/code&gt; reports the TSTUs this specific request consumed, rounded to five decimal places, which is how you find out which call in your review flow is the expensive one. &lt;code&gt;X-RateLimit-Resource&lt;/code&gt; names the service and threshold type that was hit, and the docs advise showing that string to a human rather than computing on it, because the values can change without notice.&lt;/p&gt;

&lt;p&gt;TSTUs are deliberately abstract and currently dominated by Azure SQL Database DTUs, so the expensive operations are the query-shaped ones. A full-repository search costs more than reading a diff, and the same page recommends benchmarking periodically, since operations like work item queries change cost as the organization grows. When a bot's requests are delayed and it has no email address, as the build service account does not, the warning email goes to the Project Collection Administrators group instead, which is where the first signal of a throttled review bot tends to show up.&lt;/p&gt;

&lt;p&gt;Azure Repos also enforces size limits documented separately in &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/limits?view=azure-devops" rel="noopener noreferrer"&gt;Git limits&lt;/a&gt;: repositories should stay under 250 GB, a single push is capped at 5 GB, files at 100 MB, and path length at 32,766 characters with a 4,096 character component limit enforced by a push policy that cannot be overridden. Those caps matter to a reviewer mostly as a signal about repository shape. A monorepo near the recommended ceiling of 10 GB is also a repository where any full-context review is going to be expensive, which is the same conclusion &lt;a href="https://mergerequests.dev/blog/what-gitlab-azure-devops-and-bitbucket-hide-in-large-prs/" rel="noopener noreferrer"&gt;the large pull request behavior per forge&lt;/a&gt; points at from the other direction.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bitbucket Data Center: one token bucket per user, per node
&lt;/h2&gt;

&lt;p&gt;Bitbucket DC's &lt;a href="https://confluence.atlassian.com/spaces/BitbucketServer/pages/976171954/Improving+instance+stability+with+rate+limiting" rel="noopener noreferrer"&gt;rate limiting&lt;/a&gt; is a token bucket that targets HTTP requests using basic or bearer authentication, which covers the REST API and Git over HTTP. Git SSH is a separate mechanism. It is off until a System Admin turns it on, and when it is enabled the defaults are a bucket size of 60 and a refill rate of 5 tokens per second. A client that sends 60 requests in a burst succeeds and then waits while the bucket refills. Over the limit, the client gets HTTP 429, and every such event is recorded in the access log with the label rate-limited.&lt;/p&gt;

&lt;p&gt;Two details change how you plan for a bot. Individual users can be given an exemption, either custom bucket settings or unlimited requests, and those exemptions are managed in the UI or through the REST API. In a cluster, each user gets a separate bucket on each node. Three nodes means three buckets at 60 tokens each, so the aggregate headroom is larger than a single-node instance while the effective limit depends on which node a request lands on. System Admins can also disable rate limiting instance-wide through the properties file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rate limits per forge at a glance
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Forge and edition&lt;/th&gt;
&lt;th&gt;How the budget is measured&lt;/th&gt;
&lt;th&gt;Default state&lt;/th&gt;
&lt;th&gt;Threshold that matters&lt;/th&gt;
&lt;th&gt;What the client sees&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;GitLab Self-Managed&lt;/td&gt;
&lt;td&gt;Configurable counters per endpoint and per identity&lt;/td&gt;
&lt;td&gt;User and IP limits disabled until an admin enables them; search and the blob limits are always on&lt;/td&gt;
&lt;td&gt;30 authenticated search requests per minute; 5 blob calls per minute per object over 10 MB; 6 expanded diffs per minute&lt;/td&gt;
&lt;td&gt;429 with a plain-text body that defaults to Retry later; a failed-authentication ban returns 403 for an hour&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Azure DevOps Services&lt;/td&gt;
&lt;td&gt;Consumption in TSTU, per user and per pipeline&lt;/td&gt;
&lt;td&gt;On; 200 TSTU per sliding five-minute window&lt;/td&gt;
&lt;td&gt;Personal usage above 200 times a typical user's&lt;/td&gt;
&lt;td&gt;HTTP 200 with Retry-After and X-RateLimit-Delay; 429 only when requests are blocked&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitbucket Data Center&lt;/td&gt;
&lt;td&gt;Token bucket per user, and per node in a cluster&lt;/td&gt;
&lt;td&gt;Off until a System Admin enables it&lt;/td&gt;
&lt;td&gt;Bucket of 60 tokens, refill of 5 per second&lt;/td&gt;
&lt;td&gt;429, recorded as rate-limited in the access log&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What to check first when a review goes quiet
&lt;/h2&gt;

&lt;p&gt;The checks are short, and they are different per forge. On Azure Repos, start with the access level on the identity the bot uses, then read X-RateLimit-Cost on the calls that build context, because a delay reported inside a 200 is invisible to a client that only logs errors. On GitLab Self-Managed, check whether anyone enabled the user and IP limits, then look at the search budget, which is on regardless and shared with every person on the instance. On Bitbucket DC, check whether rate limiting is enabled at all, whether the bot user has an exemption, and on a cluster remember that the bucket belongs to a node.&lt;/p&gt;

&lt;p&gt;One thing to keep separate while debugging: the review tool's own plan limits are a different budget from the forge's. A tool that documents a cap on changed files per pull request is not describing the same constraint as a 30-request search budget, and hitting one tells you nothing about the other. If the bot's comments never arrive but the API calls all look successful, the forge's request budget is a better suspect than the tool's review logic.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>azuredevops</category>
      <category>bitbucket</category>
      <category>ai</category>
    </item>
    <item>
      <title>An AI reviewer is a CI job: review compute on GitLab, Azure Repos and Bitbucket DC</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Mon, 16 Nov 2026 02:30:01 +0000</pubDate>
      <link>https://dev.to/emilreiter/an-ai-reviewer-is-a-ci-job-review-compute-on-gitlab-azure-repos-and-bitbucket-dc-2ej9</link>
      <guid>https://dev.to/emilreiter/an-ai-reviewer-is-a-ci-job-review-compute-on-gitlab-azure-repos-and-bitbucket-dc-2ej9</guid>
      <description>&lt;p&gt;An AI code reviewer is a CI job on two of the three forges, and the third has no job runner at all. On GitLab the review runs on a runner you tag yourself, on Azure Repos it competes for organization-level parallel jobs, and on Bitbucket Data Center it runs inside whatever build server you already operate. What limits the review in each case is the queue for compute, not the model behind it.&lt;/p&gt;

&lt;p&gt;That distinction gets lost because almost every comparison of AI review tools talks about models, prompts, and findings. The compute side decides whether a review appears at all, and each forge hands you a different amount of control over it.&lt;/p&gt;

&lt;h2&gt;
  
  
  On GitLab the reviewer runs on a tagged runner
&lt;/h2&gt;

&lt;p&gt;GitLab's Code Review Flow is explicit about this. Its prerequisites include &lt;a href="https://gitlab.com/api/v4/projects/278964/repository/files/doc%2Fuser%2Fduo_agent_platform%2Fflows%2Ffoundational_flows%2Fcode_review%2F_index.md/raw?ref=master" rel="noopener noreferrer"&gt;configuring your own runners&lt;/a&gt; with the &lt;code&gt;gitlab--duo&lt;/code&gt; tag and an executor that supports Docker images, or turning on GitLab hosted runners for the project. The flow runs as a CI/CD job and needs a runner to execute. Hosted runners are available for GitLab.com and GitLab Dedicated, so a &lt;a href="https://gitlab.com/api/v4/projects/278964/repository/files/doc%2Fci%2Frunners%2F_index.md/raw?ref=master" rel="noopener noreferrer"&gt;self-managed instance supplies its own runner&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The failure mode is quiet. If no runner matches the tag, the job does not run, nothing posts on the merge request, and no error shows up anywhere a reviewer would look. A merge request with zero comments from a reviewer that never started looks identical to a merge request the reviewer read and had nothing to say about. This is the first thing to check when a self-managed instance produces no Duo reviews, before license seats, model selection, or group settings.&lt;/p&gt;

&lt;p&gt;There is a version and licensing side to this that trips up self-managed rollouts. Code Review Flow went generally available in GitLab 18.8, the agentic flow is available on the Free tier on GitLab.com through GitLab Credits from 18.10, and the approval and change-request behavior sits behind a feature flag in the 19.5 line. &lt;a href="https://mergerequests.dev/blog/gitlab-self-managed-ai-review-that-follows-your-own-rules/" rel="noopener noreferrer"&gt;Which reviewer runs on your instance and how your own rules reach it&lt;/a&gt; is a separate problem from the compute one, and it is worth settling both before a rollout.&lt;/p&gt;

&lt;p&gt;Azure Repos splits differently, because Microsoft's own reviewer does not exist on the server edition. Copilot code review is documented for Azure DevOps Services, and a Server team runs &lt;a href="https://mergerequests.dev/blog/pr-agent-on-azure-devops-pipelines-branch-policies-webhooks/" rel="noopener noreferrer"&gt;PR-Agent as a pipeline job&lt;/a&gt; or wires a webhook into Service Hooks. Either way the review consumes the same pipeline capacity as your builds, which brings in the Azure-specific constraint below.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitLab concurrency is a number you set on the runner
&lt;/h2&gt;

&lt;p&gt;GitLab's global &lt;code&gt;concurrent&lt;/code&gt; setting in &lt;code&gt;config.toml&lt;/code&gt; limits how many jobs run at once across all registered runners, and the per-runner &lt;code&gt;limit&lt;/code&gt; values can only lower that ceiling. The &lt;a href="https://docs.gitlab.com/runner/configuration/advanced-configuration/" rel="noopener noreferrer"&gt;GitLab Runner advanced configuration&lt;/a&gt; is blunt about one value: &lt;code&gt;0&lt;/code&gt; is forbidden, and the runner process exits with a critical error if you set it.&lt;/p&gt;

&lt;p&gt;Two other settings matter for a reviewer that fires on every merge request. &lt;code&gt;check_interval&lt;/code&gt; defaults to 3 seconds, and &lt;code&gt;request_concurrency&lt;/code&gt; defaults to 1, which is the number of concurrent job-request connections the runner opens. The docs list a specific warning to watch for in runner logs, &lt;code&gt;CONFIGURATION: Long polling issues detected&lt;/code&gt;, along with the scenarios that produce it: a &lt;code&gt;concurrent&lt;/code&gt; value lower than the number of registered runners, or runners sitting at &lt;code&gt;request_concurrency=1&lt;/code&gt; while GitLab Workhorse holds long polls open (its &lt;code&gt;apiCiLongPollingDuration&lt;/code&gt; defaults to 50 seconds). The adaptive concurrency flag that is on by default clamps to the configured &lt;code&gt;request_concurrency&lt;/code&gt; value, so at 1 it changes nothing. The symptom is jobs from some projects starting immediately while others wait out the long-poll window, which on a shared runner pool looks like random review latency.&lt;/p&gt;

&lt;p&gt;Adding capacity on GitLab is a hardware decision. You register more runners, raise &lt;code&gt;concurrent&lt;/code&gt;, and raise &lt;code&gt;request_concurrency&lt;/code&gt; on the high-volume ones. Nothing is metered and nothing is billed per concurrent job.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure Pipelines parallel jobs are an organization budget
&lt;/h2&gt;

&lt;p&gt;Azure Pipelines charges for concurrency rather than for agents, and the budget lives at the organization level, shared by every pipeline in every project. The &lt;a href="https://learn.microsoft.com/en-us/azure/devops/pipelines/licensing/concurrent-jobs?view=azure-devops" rel="noopener noreferrer"&gt;parallel jobs page&lt;/a&gt; lays out the numbers: the Microsoft-hosted free tier for private projects gives one job running up to 60 minutes each time with a monthly ceiling of 1,800 minutes, the paid tier raises the per-job limit to 360 minutes with no monthly cap, and new organizations are capped at 25 Microsoft-hosted parallel jobs unless support raises it. For self-hosted agents you can register as many as you like, but billing counts concurrent jobs rather than registered agents, and there are no job time limits.&lt;/p&gt;

&lt;p&gt;One detail on that page catches people during a rollout. Buying your first parallel job does not give you two lanes; it only removes the time limits on the one you already had. Concurrency stays at one until a second job is purchased. Microsoft's own rule of thumb is one parallel job for every four to five users, which is a starting point, not a plan.&lt;/p&gt;

&lt;p&gt;The consequence for an AI reviewer on Azure Repos is that review jobs sit in the same organization-wide queue as builds and deployments. When the queue is saturated the review does not fail, it waits, and a reviewer that arrives forty minutes after the last commit is not much use to the person who opened the pull request. The diagnostic tool is the &lt;a href="https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/pool-consumption-report?view=azure-devops" rel="noopener noreferrer"&gt;pool consumption report&lt;/a&gt;, which graphs running jobs, queued jobs, and online agents over 30 days at 10-minute granularity. Its page carries the Azure DevOps Services banner, so it is not available on the server edition, and it requires Project Collection Administrators membership to view. Because of the 10-minute aggregation, running jobs can plot above your concurrency line during bursts of short jobs, so read the queued line rather than the running line when you are looking for a real backlog.&lt;/p&gt;

&lt;p&gt;If you gate merges on the reviewer's result, the queue becomes a merge blocker rather than a delay. &lt;a href="https://mergerequests.dev/blog/azure-repos-merge-gating-for-ai-reviewers-the-status-check-policy/" rel="noopener noreferrer"&gt;The status check policy setup&lt;/a&gt; is where that trade-off shows up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bitbucket Data Center ships no runner
&lt;/h2&gt;

&lt;p&gt;Bitbucket DC has no build agent and no concurrency model of its own. It integrates with the build server you already run, which in practice means &lt;a href="https://confluence.atlassian.com/spaces/BITBUCKETSERVER104/pages/1822591568/Bamboo+integration" rel="noopener noreferrer"&gt;Bamboo or Jenkins&lt;/a&gt;, and build status can also be published from any tool through the REST API. The compute question on a Bitbucket DC instance is therefore a question about your build server's agents, plus how much polling and cloning load the instance can absorb.&lt;/p&gt;

&lt;p&gt;The merge gate is where the forge does have an opinion. The &lt;a href="https://confluence.atlassian.com/spaces/BITBUCKETSERVER104/pages/1822591164/Checks+for+merging+pull+requests" rel="noopener noreferrer"&gt;merge checks page&lt;/a&gt; documents a required builds check that needs Bamboo 7.1 or later, or the Bitbucket Integration Plugin 2.0.0 or later, and it takes build keys rather than tool names: &lt;code&gt;PROJ-COREBUILDS&lt;/code&gt; for a Bamboo plan, &lt;code&gt;PROJ/COREBUILDS&lt;/code&gt; for a Jenkins folder path. Before a build key can be selected in the Add builds field, something has to store that status through the build status endpoint with the &lt;code&gt;Parent&lt;/code&gt; field present in the request body. A reviewer integration that posts comments but never publishes a parented build status will simply not appear in the list of builds you can require.&lt;/p&gt;

&lt;p&gt;Code Insights offers the other gate. A Code Insights merge check can require a named report and fail the merge based on annotations, with the limitation that annotations only block a merge when they sit on the diff. An annotation on an unchanged file, or elsewhere in a changed file, does not block anything. An AI reviewer that files findings as insights rather than pull request comments needs to place them on the diff to have any gate effect.&lt;/p&gt;

&lt;p&gt;Load is the second half of the Bitbucket DC picture. Atlassian's own &lt;a href="https://confluence.atlassian.com/spaces/BITBUCKETSERVER104/pages/1822592031/Scaling+Bitbucket+Data+Centre+for+Continuous+Integration+performance" rel="noopener noreferrer"&gt;scaling page for CI performance&lt;/a&gt; describes what repetitive CI traffic does to the instance: polling for changes returns the same answer most of the time, and each triggered build can fan out into several identical clones. The SCM Cache Plugin exists for that, configurable through its REST endpoints or &lt;code&gt;bitbucket.properties&lt;/code&gt;, and it disables itself when free disk drops below a configured minimum. One caveat in the same page is easy to overlook with a mixed client fleet: Git wire protocol v1 and v2 caches are not interchangeable, so a mix of clients lowers cache efficiency and raises disk usage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the reviewer's own compute sits
&lt;/h2&gt;

&lt;p&gt;A self-hosted reviewer that is not a forge pipeline job replaces the runner question with an operational one. PR-Agent runs either as a pipeline job or behind a webhook, so on a Bitbucket DC instance it still borrows your build server. Kodus runs as its own container stack against your LLM provider or your own API key, which removes the dependency on a forge runner entirely and adds its own failure modes: the worker needs &lt;code&gt;WORKER_ROLE&lt;/code&gt; set or it crashes on boot, and because that worker creates the job queues on first connect, an unset role leaves the API and webhook services failing every event with a &lt;code&gt;QueueBind 404&lt;/code&gt;. RabbitMQ is required for the 2.0 stack, and webhooks are served by a separate process on its own port, so the webhook URL has to route there rather than to the API. The &lt;a href="https://docs.kodus.io/en/how_to_deploy/deploy_kodus/generic_vm.md" rel="noopener noreferrer"&gt;deployment page&lt;/a&gt; documents all of it, and the &lt;a href="https://docs.kodus.io/en/how_to_deploy/kodus_architecture.md" rel="noopener noreferrer"&gt;architecture page&lt;/a&gt; notes that the analytics worker runs locally on a licensed self-hosted Enterprise install.&lt;/p&gt;

&lt;p&gt;That trade is worth stating plainly: you trade a runner tag and a licensing path for a container stack you own, with a queue and a worker role to keep healthy.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Route&lt;/th&gt;
&lt;th&gt;What executes the review&lt;/th&gt;
&lt;th&gt;Capacity control&lt;/th&gt;
&lt;th&gt;Symptom when capacity runs out&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;GitLab Code Review Flow (Self-Managed)&lt;/td&gt;
&lt;td&gt;CI/CD job on a runner tagged &lt;code&gt;gitlab--duo&lt;/code&gt; with a Docker-capable executor&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;concurrent&lt;/code&gt;, per-runner &lt;code&gt;limit&lt;/code&gt;, &lt;code&gt;request_concurrency&lt;/code&gt; on your own runners&lt;/td&gt;
&lt;td&gt;No job runs, no comment, no error on the merge request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitLab hosted runners&lt;/td&gt;
&lt;td&gt;GitLab-managed runners, GitLab.com and Dedicated only&lt;/td&gt;
&lt;td&gt;Not configurable by you&lt;/td&gt;
&lt;td&gt;Not applicable on Self-Managed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Azure Repos, Copilot code review or PR-Agent in a pipeline&lt;/td&gt;
&lt;td&gt;Pipeline job on Microsoft-hosted or self-hosted agents&lt;/td&gt;
&lt;td&gt;Organization-level parallel jobs, shared with all builds&lt;/td&gt;
&lt;td&gt;Review waits in the same queue as builds and deployments&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitbucket DC, reviewer behind a build&lt;/td&gt;
&lt;td&gt;Bamboo, Jenkins, or another build server posting status&lt;/td&gt;
&lt;td&gt;Your build server's agent pool&lt;/td&gt;
&lt;td&gt;No build status stored under the required key, so no merge check to attach&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kodus self-hosted&lt;/td&gt;
&lt;td&gt;Its own containers, worker role, RabbitMQ, your LLM key&lt;/td&gt;
&lt;td&gt;Worker concurrency and your LLM provider's limits&lt;/td&gt;
&lt;td&gt;Worker crash or &lt;code&gt;QueueBind 404&lt;/code&gt; if &lt;code&gt;WORKER_ROLE&lt;/code&gt; is unset&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What to measure before you buy capacity
&lt;/h2&gt;

&lt;p&gt;The practical ordering is to measure queue time and drop time separately. A review that starts 30 seconds after the last push and finishes in two minutes is healthy. A review that starts 20 minutes after the push has a capacity problem, and no amount of prompt tuning will fix it. On GitLab that means runner log lines and the long-poll warning; on Azure Repos it means the queued line in the pool consumption report; on Bitbucket DC it means build queue depth on the Bamboo or Jenkins side, which the forge never sees.&lt;/p&gt;

&lt;p&gt;There is a second reason to watch this closely now. Review jobs scale with the number of merge requests and commits, and agent-authored changes tend to arrive in more commits per pull request than human ones. If you have already tuned review volume per forge, the &lt;a href="https://mergerequests.dev/blog/reviewing-ai-generated-code-at-volume-the-ceilings-per-forge/" rel="noopener noreferrer"&gt;per-forge volume ceilings&lt;/a&gt; cover the quota side, and the &lt;a href="https://mergerequests.dev/blog/gitlab-azure-repos-and-bitbucket-rate-limits-for-ai-review/" rel="noopener noreferrer"&gt;rate limits page&lt;/a&gt; covers the API side. Compute is the third budget, and on GitLab and Bitbucket DC it is the one you pay for in hardware rather than in license terms.&lt;/p&gt;

&lt;p&gt;The judgment I would attach to all of this: on GitLab, capacity is a self-managed advantage, because you can add runners and raise &lt;code&gt;concurrent&lt;/code&gt; without asking anyone. On Azure Repos it is the opposite, since parallel jobs are an organization purchase shared with every build in the org, and a reviewer that gates merges turns a queue into a blocked pull request. On Bitbucket DC the forge gives you no concurrency concept at all, so the reviewer's real budget is whatever your Bamboo or Jenkins agents have left after the builds. Teams that plan the compute side before the review side spend less time explaining why the reviewer did not comment.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Does GitLab Code Review Flow need a runner on a self-managed instance?
&lt;/h3&gt;

&lt;p&gt;Yes. It runs as a CI/CD job, so the instance needs a runner tagged &lt;code&gt;gitlab--duo&lt;/code&gt; with an executor that supports Docker images, or GitLab hosted runners enabled. Hosted runners are available for GitLab.com and GitLab Dedicated, not for a self-managed instance, and a missing runner produces no comment and no error on the merge request.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why do AI review jobs wait in Azure Pipelines?
&lt;/h3&gt;

&lt;p&gt;Parallel jobs are configured at the Azure DevOps organization level and shared by every pipeline in every project, so a review job competes with builds and deployments for the same concurrency. The pool consumption report graphs queued and running jobs against your concurrency over 30 days, and it is available on Azure DevOps Services rather than the server edition.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can Bitbucket Data Center run an AI reviewer on its own?
&lt;/h3&gt;

&lt;p&gt;No. Bitbucket DC has no build agent or concurrency model. It integrates with Bamboo or Jenkins, or accepts build status published through the REST API, so the reviewer runs on that build server's agents. The forge side is the merge check: required builds need a stored, parented build status, and Code Insights annotations only block a merge when they are on the diff.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>cicd</category>
      <category>devops</category>
    </item>
    <item>
      <title>Measuring review time on GitLab, Azure Repos and Bitbucket DC</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Wed, 11 Nov 2026 14:45:01 +0000</pubDate>
      <link>https://dev.to/emilreiter/measuring-review-time-on-gitlab-azure-repos-and-bitbucket-dc-n45</link>
      <guid>https://dev.to/emilreiter/measuring-review-time-on-gitlab-azure-repos-and-bitbucket-dc-n45</guid>
      <description>&lt;p&gt;GitLab, Azure Repos and Bitbucket Data Center each answer the question of how long code review takes, and only one of them computes the number for you. GitLab ships two analytics pages that define review time differently from each other. Azure Repos has no Repos data in Analytics at all. Bitbucket Data Center gives you a channel for the number and leaves the arithmetic to your CI. If the reason you turned on an AI reviewer was to show that review got faster, the definition you pick decides the answer, and one of those definitions moves the moment the bot posts its first comment.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitLab: two analytics pages, two definitions
&lt;/h2&gt;

&lt;p&gt;GitLab is the only one of the three with a review-time number you can open in a browser.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.gitlab.com/user/analytics/code_review_analytics/" rel="noopener noreferrer"&gt;Code review analytics&lt;/a&gt; shows a table of open merge requests that have at least one non-author comment, and defines review time as the time since the first comment by a non-author. The table holds up to 20 merge requests per page with review time, author, approvers, comments, commits and line changes, and you can filter by milestone and label. It is Premium and Ultimate, on GitLab.com, Self-Managed and Dedicated.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.gitlab.com/user/analytics/merge_request_analytics/" rel="noopener noreferrer"&gt;Merge request analytics&lt;/a&gt; answers a different question. It reports throughput per month and mean time to merge, defined as the average time between merge request creation and the merge event, excluding closed and not-yet-merged merge requests. Same tiers, same offerings.&lt;/p&gt;

&lt;p&gt;Those two numbers will not agree. One is a live counter over open work that starts when someone other than the author comments. The other is an average over completed work measured from creation. Neither one is how long a human waited for a first look, which is usually the thing people mean by review time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure Repos: Analytics has no Repos data
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://learn.microsoft.com/en-us/azure/devops/report/powerbi/data-available-in-analytics" rel="noopener noreferrer"&gt;Data available from Analytics&lt;/a&gt; lists Repos as None for Azure DevOps Services, Server 2020 and Server 2022, with future availability marked "Under investigation". The OData versions, from v2.0 through v4.0-preview, cover Boards, Test Plans and Pipelines. The &lt;a href="https://learn.microsoft.com/en-us/azure/devops/report/dashboards/widget-catalog" rel="noopener noreferrer"&gt;dashboard widget catalog&lt;/a&gt; lists exactly two Repos widgets, Code Tile and Pull Request, and the Pull Request widget shows pull requests for a team rather than computing any duration.&lt;/p&gt;

&lt;p&gt;That page also carries its own caveat that the platform table was last updated in August 2022, so "Under investigation" is a long-standing state rather than a roadmap item.&lt;/p&gt;

&lt;p&gt;If you want a review-time number on Azure Repos, you build it. The pull request REST object carries creation and closed timestamps and a vote per reviewer, which is enough for time to first vote, time to first approval and time to completion. There is no historical series waiting for you, so you either snapshot on a schedule or reconstruct from the API later. And because that API is versioned per collection, the field you read today is the field you have to keep reading if you want the series to stay comparable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bitbucket Data Center: Code Insights is the channel, not the metric
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://confluence.atlassian.com/spaces/BITBUCKETSERVER104/pages/1822591226/Code+Insights" rel="noopener noreferrer"&gt;Code Insights&lt;/a&gt; is how data reaches a pull request on Bitbucket Data Center. An integration posts a report with a description, a link back to the reporter's URL and up to 6 fields, plus annotations attached to that report. Annotations render on changed lines and only in the unified diff view, not on side-by-side, commit or iterative diffs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://confluence.atlassian.com/spaces/BITBUCKETSERVER104/pages/1822591164/Checks+for+merging+pull+requests" rel="noopener noreferrer"&gt;Checks for merging pull requests&lt;/a&gt; can then require a report to be present, to pass or fail, or to carry annotations of a given severity, and an annotation only blocks a merge when it sits on a changed line in the diff. Nothing in the product computes review time. Whatever number you want on the pull request, your CI has to calculate and post it as a report field, and the history lives wherever your CI keeps it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the GitLab number moves when you add an AI reviewer
&lt;/h2&gt;

&lt;p&gt;GitLab defines review time as the time since the first comment by a non-author, and includes merge requests that have at least one non-author comment. A review bot posting a summary comment is a non-author, and the docs do not carve bot or service-account comments out of either the inclusion rule or the definition.&lt;/p&gt;

&lt;p&gt;The consequence is that enabling an AI reviewer tends to push that number up. Before the bot, the counter started when the first human reviewer commented. With the bot, it starts seconds after the merge request opens, so review time drifts toward the age of the merge request itself. Human latency did not change; the dashboard now reports something worse, because the clock starts earlier.&lt;/p&gt;

&lt;p&gt;Mean time to merge is not affected, since it only looks at creation and the merge event. That makes it the more stable headline if your reporting has to survive a change in tooling, at the cost of hiding the difference between waiting for a first look and waiting for a final approval.&lt;/p&gt;

&lt;p&gt;The docs do not state whether service accounts are excluded from code review analytics, so check on your own instance before quoting the number anywhere. On a self-managed instance you can inspect the data directly, which is the only way to know whether your reviewer's comments are in the sample.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to compute if you need a number that holds up
&lt;/h2&gt;

&lt;p&gt;Fix the definition before you turn anything on, and keep it fixed. Pick either time to first human comment or time to merge, and be explicit that they measure different things.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Exclude bot accounts from the first-comment calculation yourself. On GitLab that means filtering by author, because the analytics page will not do it for you.&lt;/li&gt;
&lt;li&gt;Use a percentile rather than a mean when a handful of long-running merge requests skew the distribution. &lt;a href="https://docs.kodus.io/en/how_to_use/cockpit/metrics/lead_time_breakdown" rel="noopener noreferrer"&gt;Kodus&lt;/a&gt; computes its review phase with P75 for that reason, and defines review time as PR opened to PR closed with abandoned pull requests excluded, which sits closer to cycle time than to first-response time.&lt;/li&gt;
&lt;li&gt;Snapshot the raw data. Azure Repos Analytics will not keep a review-time series and Bitbucket Data Center will not either, so a query you run in three months will not be able to look back.&lt;/li&gt;
&lt;li&gt;Annotate your own chart when the tooling changes. If the number moved because the clock definition changed, that is worth knowing before someone presents it as an improvement.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Review-time metric&lt;/th&gt;
&lt;th&gt;Definition&lt;/th&gt;
&lt;th&gt;Where it lives&lt;/th&gt;
&lt;th&gt;What you still build&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;GitLab&lt;/td&gt;
&lt;td&gt;Review time per open merge request, plus mean time to merge&lt;/td&gt;
&lt;td&gt;Time since first non-author comment; creation to merge&lt;/td&gt;
&lt;td&gt;Code review analytics and merge request analytics, Premium and Ultimate, cloud and self-managed&lt;/td&gt;
&lt;td&gt;Bot filtering for the first-comment metric&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Azure Repos&lt;/td&gt;
&lt;td&gt;None for Repos&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Analytics covers Boards, Test Plans and Pipelines only&lt;/td&gt;
&lt;td&gt;REST API snapshots of creation, closed and votes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitbucket Data Center&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Code Insights reports, up to 6 fields&lt;/td&gt;
&lt;td&gt;CI computes the duration and posts the report field&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kodus&lt;/td&gt;
&lt;td&gt;Lead Time Breakdown with coding, pickup and review phases&lt;/td&gt;
&lt;td&gt;PR opened to PR closed, P75, abandoned pull requests excluded&lt;/td&gt;
&lt;td&gt;Cockpit, paid tier; self-hosted Enterprise also needs the Analytics Worker&lt;/td&gt;
&lt;td&gt;Nothing for the metric itself&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The Kodus row is the only one of the four where the review phase is a first-class metric rather than something you assemble. The trade-off is scope: Cockpit needs a paid tier, and a licensed self-hosted Enterprise deployment needs the &lt;a href="https://docs.kodus.io/en/how_to_deploy/deploy_kodus/analytics_worker" rel="noopener noreferrer"&gt;Analytics Worker&lt;/a&gt; running alongside the code review worker, so an air-gapped instance that only runs the reviewer will not produce the chart. Data refreshes every 30 minutes by default, which is fine for a trend line and not fine if you want to watch a review land.&lt;/p&gt;

&lt;h2&gt;
  
  
  First-look versus completion: pick one before you measure
&lt;/h2&gt;

&lt;p&gt;The useful split is between a first-look metric and a completion metric. A first-look number tells you whether work is sitting in a queue, which is what most teams mean by review time. A completion number tells you whether work is leaving the system. AI review can plausibly move the second and mostly does not move the first, since a human still has to read the diff. Claiming a drop in review time without saying which of the two you measured is the quickest way to have the number ignored, or to have someone reconstruct it and find the opposite.&lt;/p&gt;

&lt;p&gt;There is also a version of this where the metric is the wrong target entirely. If review time is long because a 4,000-line pull request arrives on Friday, the AI reviewer posting faster comments changes nothing about the human read. Measure first, then decide whether the reviewer is the thing to change.&lt;/p&gt;

&lt;p&gt;For the settings that change those numbers rather than the measurement itself, the trigger, scope, draft behavior, blocking and re-review levers are in &lt;a href="https://mergerequests.dev/blog/cutting-pull-request-review-time-with-ai-gitlab-azure-repos-bitbucket/" rel="noopener noreferrer"&gt;cutting pull request review time with AI on GitLab, Azure Repos and Bitbucket&lt;/a&gt;. For the case where the number looks fine and reviewers still complain, the caps that hide parts of a large diff are in &lt;a href="https://mergerequests.dev/blog/what-gitlab-azure-devops-and-bitbucket-hide-in-large-prs/" rel="noopener noreferrer"&gt;what GitLab, Azure DevOps and Bitbucket hide in large PRs&lt;/a&gt;. On Azure DevOps Server rather than Services, the &lt;a href="https://mergerequests.dev/blog/ai-code-review-on-azure-devops-services-vs-server-per-tool/" rel="noopener noreferrer"&gt;per-tool edition split&lt;/a&gt; decides whether a given reviewer exists for you at all, which matters before you invest in building the metric around it.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>azuredevops</category>
      <category>bitbucket</category>
      <category>codereview</category>
    </item>
    <item>
      <title>Reviewing AI-generated code at volume: the ceilings per forge</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Mon, 09 Nov 2026 01:45:01 +0000</pubDate>
      <link>https://dev.to/emilreiter/reviewing-ai-generated-code-at-volume-the-ceilings-per-forge-25gl</link>
      <guid>https://dev.to/emilreiter/reviewing-ai-generated-code-at-volume-the-ceilings-per-forge-25gl</guid>
      <description>&lt;p&gt;AI code review usually gets evaluated on quality and then deployed into a volume problem. The reviewer that looked sharp on a five-file pull request meets a backlog where an agent opens twelve a day, each one large, each one pushed to three times before it is ready. What breaks first is not the model. It is one of three ceilings that nobody configured deliberately: the forge's API quota, the vendor's review quota, and the reviewer's own trigger cadence.&lt;/p&gt;

&lt;p&gt;Those three live in different products, are owned by different people, and fail in ways that look like something else. The forge ceiling looks like an outage. The vendor ceiling looks like the reviewer going quiet. The cadence ceiling looks like a reviewer that stopped noticing new commits. Each one has documented numbers, and for the two self-managed forges the numbers are yours to set.&lt;/p&gt;

&lt;h2&gt;
  
  
  The forge ceiling comes first, because everything shares it
&lt;/h2&gt;

&lt;p&gt;An AI reviewer is an API client. It reads diffs, posts comments, updates statuses, and every one of those calls draws from the same quota as your pipelines, your scripts, and your dashboards. Volume is what makes that quota visible.&lt;/p&gt;

&lt;p&gt;Azure DevOps publishes the clearest numbers, and the behavior is the part worth internalizing. Consumption is measured in Azure DevOps throughput units, an abstract blend of database, compute and storage load. One TSTU is the average load of a typical user over five minutes; &lt;a href="https://learn.microsoft.com/en-us/azure/devops/integrate/concepts/rate-limits?view=azure-devops" rel="noopener noreferrer"&gt;the rate limits page&lt;/a&gt; puts normal activity at spikes of 10 TSTU or less, larger but less frequent spikes up to 100, and the global limit at 200 TSTU within any sliding five-minute window. A user is delayed when their personal usage exceeds 200 times a typical user in that window, with delays from a few milliseconds up to 30 seconds.&lt;/p&gt;

&lt;p&gt;The trap is the response code. A delayed request still returns HTTP 200, with &lt;code&gt;Retry-After&lt;/code&gt; and the &lt;code&gt;X-RateLimit-Delay&lt;/code&gt; header carrying the delay. A client that treats any 2xx as success records requests that never ran, and a review that silently did not happen looks identical to a review that found nothing. Only sustained overuse produces the unambiguous HTTP 429 with &lt;code&gt;TF400733&lt;/code&gt;. If you are building or configuring a bot against Azure Repos, reading &lt;code&gt;X-RateLimit-Remaining&lt;/code&gt; and treating a non-zero delay as a failure is the difference between a working integration and a mystery. Note also that the documented remedy for a higher ceiling is an access level, not a setting: the identity your integration uses needs Basic + Test Plans.&lt;/p&gt;

&lt;p&gt;Bitbucket Data Center gives you a real lever here. &lt;a href="https://confluence.atlassian.com/spaces/BitbucketServer/pages/976171954/Improving+instance+stability+with+rate+limiting" rel="noopener noreferrer"&gt;Rate limiting&lt;/a&gt; is a token bucket per user, off by default, with defaults of 60 tokens and a refill rate of 5 per second. It applies to HTTP requests using basic or bearer authentication, so REST API calls and Git over HTTP, while Git SSH operations are a separate mechanism. Exhaustion returns 429, records a &lt;code&gt;rate-limited&lt;/code&gt; event in the access log, and surfaces in JMX metrics. Two details matter when a bot misbehaves. First, you can give a specific user an exemption, either custom bucket settings or unlimited requests, which is the clean way to stop your reviewer competing with your pipelines for the same bucket. Second, in a cluster every user gets a separate bucket on every node, so a three-node instance gives each user three buckets and the global settings apply to each.&lt;/p&gt;

&lt;p&gt;GitLab's forge-side limits are documented per endpoint rather than as a single quota page, and the relevant ones for a review bot are the write endpoints it hammers: notes and comments. Those are the limits to check before blaming the reviewer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The vendor ceiling: reviews per hour, or credits per month
&lt;/h2&gt;

&lt;p&gt;The second ceiling belongs to whatever reviews your code, and the pricing models are not comparable at face value.&lt;/p&gt;

&lt;p&gt;CodeRabbit meters reviews. &lt;a href="https://docs.coderabbit.ai/management/plans" rel="noopener noreferrer"&gt;Its plans page&lt;/a&gt; lists per-developer, per-hour rolling allowances: 1 review per hour on Free and that is summarization only, 5 on Essentials, 8 on Team, 10 on Advanced, 12 on Enterprise. Files per review are a separate cap, 5 on Essentials up to 12 on Enterprise, counted after path filters are applied. A team that runs one pull request per developer per day never touches this. A team where an agent opens several pull requests per developer per hour hits it during a normal working morning, and the failure is a review that never starts. Essentials and above can enable usage-based reviews to keep processing past the allowance, with the caveat that pull requests above 300 files are not supported through usage pricing at all, and that the Fair Usage Limits Policy lets availability adjust under sustained high volume.&lt;/p&gt;

&lt;p&gt;GitLab meters credits instead. &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/subscriptions/gitlab_credits.md" rel="noopener noreferrer"&gt;GitLab Credits&lt;/a&gt; are the consumption currency, with included credits allocated per user per month and no rollover, a shared monthly commitment pool, and on-demand usage at $1 per credit once everything else is spent. The detail that decides how a volume spike lands: a flow that runs as a service account with composite identity is billed to the namespace, not to the user who started it. Code Review Flow is one of those. So a busy team draws from the namespace pool rather than from individual allowances, which is a simpler model to reason about and a worse one to attribute, since you cannot reserve part of the pool for a subset of users. Usage caps on the dashboard are the available control. On the Free tier, on-demand usage is capped at $25,000 per calendar month and switches off automatically when it is reached.&lt;/p&gt;

&lt;p&gt;The self-managed split is the one that catches teams mid-deployment. &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/subscriptions/subscription-add-ons.md" rel="noopener noreferrer"&gt;GitLab Duo Core&lt;/a&gt; arrives automatically with Premium or Ultimate on 18.0 and later, but it is not available on GitLab Duo Self-Hosted under an offline license, because Core needs a connection to the GitLab AI Gateway. If you want self-hosted models on an air-gapped instance, the Agent Platform Self-Hosted add-on is the path, and it is billed as a flat fee under an Enterprise License Agreement rather than by usage, which makes the cost predictable and the capacity commitment real.&lt;/p&gt;

&lt;p&gt;Azure Repos Copilot code review meters nothing in the same way. Billing runs through &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/copilot-code-reviews?view=azure-devops" rel="noopener noreferrer"&gt;Azure Cost Management&lt;/a&gt; on an Azure subscription linked to the organization, and the volume lever is the review effort level, set per project with optional per-repository override, where higher effort consumes more tokens and increases cost. Users can pick a different effort for a single review. That makes cost a per-review decision rather than a plan limit, which suits teams that want to spend effort where it matters and not on every agent-generated pull request.&lt;/p&gt;

&lt;p&gt;Kodus sits at the other end of that spectrum: reviews are unlimited on every plan because it runs on your own model key. The free Community tier is self-hosted or cloud with up to 10 Kody Rules and 3 plugins, Teams is $10 per active developer per month on cloud, and Enterprise is custom with self-hosting. The ceiling is technical rather than commercial, at 2,000 changed files, past which the pull request is not reviewed.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What is metered&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Where the volume bites&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Azure DevOps forge API&lt;/td&gt;
&lt;td&gt;TSTU, 200 per sliding 5-minute window, delays up to 30s&lt;/td&gt;
&lt;td&gt;Bot API calls share the quota with pipelines; delays return HTTP 200&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitbucket DC forge API&lt;/td&gt;
&lt;td&gt;Token bucket per user, 60 size / 5 per second, off by default&lt;/td&gt;
&lt;td&gt;Cluster gives each user a separate bucket per node; exemptions are per user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit&lt;/td&gt;
&lt;td&gt;5-12 reviews per developer per hour, 5-12 files per review&lt;/td&gt;
&lt;td&gt;Sustained bursts exhaust a rolling hourly allowance; no usage pricing above 300 files&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitLab&lt;/td&gt;
&lt;td&gt;Credits: included per user, then shared pool, then $1 per credit&lt;/td&gt;
&lt;td&gt;Code Review Flow bills the namespace, so a team spike drains a shared pool&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Azure Repos Copilot&lt;/td&gt;
&lt;td&gt;Azure subscription via Cost Management, effort level per review&lt;/td&gt;
&lt;td&gt;Cost scales with effort and frequency, not with a plan limit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kodus&lt;/td&gt;
&lt;td&gt;Nothing per review; BYOK token cost to your provider&lt;/td&gt;
&lt;td&gt;Hard stop at 2,000 changed files per pull request&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The cadence ceiling: how many times one pull request gets reviewed
&lt;/h2&gt;

&lt;p&gt;The third ceiling is internal to the reviewer, and it is the one teams most often discover by accident.&lt;/p&gt;

&lt;p&gt;Kodus documents its trigger model explicitly. &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/flow" rel="noopener noreferrer"&gt;The review flow&lt;/a&gt; runs on pull request open, on new commits, or on a &lt;code&gt;@kody start-review&lt;/code&gt; comment, and it skips when there are no new commits since the last run, when the changes are merge-only, when every changed file matches an ignore pattern, when the file limit is exceeded, or when the pull request is in draft mode and configured to skip drafts. The cadence setting is the volume control: automatic reviews every push, auto-pause during rapid consecutive pushes with a default of 3 pushes in 15 minutes, or manual only. A force re-run is available with &lt;code&gt;@kody review --force&lt;/code&gt;, which matters because a plain &lt;code&gt;start-review&lt;/code&gt; will skip again if there is nothing new.&lt;/p&gt;

&lt;p&gt;CodeRabbit has an equivalent default that behaves the same way without being set. &lt;code&gt;auto_pause_after_reviewed_commits&lt;/code&gt; defaults to 5, so incremental reviews pause after five reviewed commits. On a pull request that an agent pushes to eight times, the last three pushes get no review, and nothing on the pull request says so. Combined with the per-developer hourly allowance, that is two independent limits that both express themselves as silence.&lt;/p&gt;

&lt;p&gt;The consequence is that the useful question about a review setup is not how good the findings are. It is how many reviews per pull request you are actually buying, and whether the answer is the one you assumed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to set before volume arrives
&lt;/h2&gt;

&lt;p&gt;The ordering matters, because the ceilings interact.&lt;/p&gt;

&lt;p&gt;Raise the forge ceiling first, since it is the only one that takes down things other than your reviewer. On Bitbucket Data Center that means turning rate limiting on deliberately and giving the review bot an exemption, rather than leaving it off and discovering the problem when someone enables it. On Azure Repos it means reading the delay headers in whatever integrates, because the 200 response will not tell you.&lt;/p&gt;

&lt;p&gt;Then decide whether your reviewer is metered by reviews or by credits, because the failure looks different. A metered-by-review allowance runs out mid-morning and comes back on a rolling window; a credit pool drains and needs a purchase or an on-demand acceptance. Both are visible in advance if you look at the numbers rather than at the pull request.&lt;/p&gt;

&lt;p&gt;Then set the cadence to match how your team actually pushes. Auto-pause defaults exist because reviewers that comment on every push generate noise, and a reviewer nobody reads is the same as no reviewer. For teams running agents that push frequently, reviewing once on open and once when the pull request is marked ready is usually a better use of the same budget than reviewing every intermediate push, and it sidesteps the cadence pause entirely.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Why does AI code review stop working when pull request volume goes up?
&lt;/h3&gt;

&lt;p&gt;Because three separate ceilings exist, and each fails differently. The forge throttles API calls, the vendor caps how many reviews you get, and the reviewer's own trigger cadence decides how many times it runs on a single pull request. Adding a reviewer multiplies load against the forge ceiling it already shares with your pipelines.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who pays for a GitLab Code Review Flow run?
&lt;/h3&gt;

&lt;p&gt;The namespace, not the person who started it. Foundational flows like Code Review Flow run as a service account with composite identity, so the usage is billed to the namespace and draws from the monthly commitment pool and then on-demand credits, at $1 per credit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does Azure DevOps return an error when it delays a request?
&lt;/h3&gt;

&lt;p&gt;No. A delayed request still returns HTTP 200 with Retry-After and the X-RateLimit headers set. A client that logs success on any 2xx records requests that never ran, and the delay ranges from a few milliseconds up to 30 seconds.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is a TSTU on Azure DevOps?
&lt;/h3&gt;

&lt;p&gt;An Azure DevOps throughput unit, an abstract measure of load blending database, compute and storage consumption. One TSTU is the average load of a typical user over five minutes, normal activity produces spikes of 10 TSTU or less, and the global limit is 200 TSTU in any sliding five-minute window.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is Bitbucket Data Center's rate limiting per instance or per user?
&lt;/h3&gt;

&lt;p&gt;Per user, using a token bucket. Defaults are a bucket size of 60 requests and a refill rate of 5 per second, applied to HTTP requests with basic or bearer authentication such as REST API calls. In a cluster, each user gets a separate bucket on each node.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>azuredevops</category>
      <category>bitbucket</category>
      <category>codereview</category>
    </item>
    <item>
      <title>AI code review on Azure DevOps: Services vs Server, per tool</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Wed, 04 Nov 2026 14:45:01 +0000</pubDate>
      <link>https://dev.to/emilreiter/ai-code-review-on-azure-devops-services-vs-server-per-tool-91a</link>
      <guid>https://dev.to/emilreiter/ai-code-review-on-azure-devops-services-vs-server-per-tool-91a</guid>
      <description>&lt;p&gt;Azure Repos ships in two editions, and the AI review options are not the same in both. Microsoft's Copilot code review is documented for Azure DevOps Services and carries a limited preview label. Azure DevOps Server has no Microsoft-native reviewer at all, so a Server team runs PR-Agent from a pipeline, points a vendor webhook at Service Hooks, or self-hosts something. Which edition you are on decides the setup work, the permissions you need, and where the reviewer reads your coding standards from.&lt;/p&gt;

&lt;p&gt;That last part is where most rollouts go sideways, so it is worth walking through the routes one at a time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Copilot code review is Azure DevOps Services only
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/copilot-code-reviews" rel="noopener noreferrer"&gt;get started page&lt;/a&gt; is headed Azure DevOps Services, and the feature is in limited preview: no service level agreement, and functionality can change or be removed. Prerequisites are an Azure DevOps organization, a Git repository in Azure Repos (TFVC is not supported), and an Azure subscription linked to the organization, because usage bills through Azure Cost Management instead of through seats.&lt;/p&gt;

&lt;p&gt;Enablement cascades across scopes. A Project Collection Administrator turns the feature on at the organization level and can enable it for every project at once. A Project Administrator scopes it to specific projects, and a repository owner enables it per repository when project settings allow overrides. Individual users opt in through Preview features unless an administrator has already enabled the preview for everyone.&lt;/p&gt;

&lt;p&gt;Automatic reviews are a separate switch from enablement. Copilot reviews pull requests on its own only where you add a branch policy on the target branch. Without that policy, someone has to add Copilot as a reviewer by hand on each pull request, which is fine for a pilot and not fine for a team. The default review effort is set at project or repository level, and higher effort consumes more tokens, so the effort setting is also a cost setting.&lt;/p&gt;

&lt;p&gt;For a Server install, none of this exists.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Copilot reads your team's rules, and the target-branch catch
&lt;/h2&gt;

&lt;p&gt;Copilot takes instructions at the organization and project level through Azure DevOps settings, and at the repository level through a file. The &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/configure-copilot-code-review-instructions" rel="noopener noreferrer"&gt;instructions page&lt;/a&gt; accepts two paths for that file: &lt;code&gt;.github/copilot-instructions.md&lt;/code&gt; or &lt;code&gt;.azuredevops/copilot-instructions.md&lt;/code&gt;, both at the repository root. Path-scoped files go in &lt;code&gt;.github/instructions/&lt;/code&gt; or &lt;code&gt;.azuredevops/instructions/&lt;/code&gt; as &lt;code&gt;*.instructions.md&lt;/code&gt;, with YAML front matter carrying an &lt;code&gt;applyTo&lt;/code&gt; value.&lt;/p&gt;

&lt;p&gt;A path-scoped file without &lt;code&gt;applyTo&lt;/code&gt; is skipped. Nothing errors, the file is committed, and reviews keep running without it. If you have a rules file that seems to have no effect, that front matter value is the first thing to check.&lt;/p&gt;

&lt;p&gt;The catch that changes how you roll standards out is which branch the instructions come from. Repository-level and path-scoped files are read from the pull request's target branch only. A pull request that adds or edits the instructions file is not reviewed against the new text. Those rules apply after the change merges into the target branch. If you are introducing a standard, land the file on the default branch first, then let the later pull requests pick it up.&lt;/p&gt;

&lt;p&gt;When instructions exist at several scopes, Copilot uses all applicable ones during a review. The docs do not promise a precedence order for an organization rule that contradicts a repository rule, so that is a conflict to avoid rather than resolve.&lt;/p&gt;

&lt;h2&gt;
  
  
  What runs on Azure DevOps Server instead
&lt;/h2&gt;

&lt;p&gt;On the server edition the choice is between self-hosted tools and hosted vendors that reach into your instance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.pr-agent.ai/overview/supported_platforms/" rel="noopener noreferrer"&gt;PR-Agent&lt;/a&gt; lists Azure DevOps as a supported git provider, and the support matrix lists an Azure DevOps pipeline as supported usage. A Server team can run it as a pipeline job or behind a webhook. It is community-owned and MIT licensed, review categories and prompts live in configuration files you own, and the matrix lists repo context files such as &lt;code&gt;AGENTS.md&lt;/code&gt;. One caveat to note before you plan around its help tooling: &lt;code&gt;/help_docs&lt;/code&gt; has been disabled since v0.36.1 pending a fix for a credential-exposure issue.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/alibaba/open-code-review" rel="noopener noreferrer"&gt;Open Code Review&lt;/a&gt; from Alibaba is a different shape. It installs from npm as &lt;code&gt;ocr&lt;/code&gt;, works on a git diff, a commit range, or a whole-file scan, and needs an LLM endpoint rather than a forge integration. On a firewalled Server install that is convenient, and it also means the tool does not post comments to a pull request by itself unless you wire that up. Its published benchmark is the project's own, built from 50 repositories and 200 pull requests with engineer-annotated issues, and it reports higher precision than a general-purpose agent on the same model at roughly a ninth of the tokens, with lower recall as a stated trade-off. Treat it as the project's number, not a third-party measurement.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.kodus.io/en/how_to_use/code_review/general_config/azure_devops_pat" rel="noopener noreferrer"&gt;Kodus&lt;/a&gt; connects to Azure DevOps with a Personal Access Token and documents no OAuth path for that provider, unlike GitHub and GitLab. The PAT scopes the docs list are Analytics Read, Code Read &amp;amp; Write, Graph Read, Identities and Groups Read, Project and Team Read, and User Profile Read, with Code write access being the one that lets it post comments. If the connection succeeds but nothing appears on new pull requests, the PAT scopes are the first thing the troubleshooting page points at.&lt;/p&gt;

&lt;p&gt;One Azure-specific detail matters if you self-host it: the Azure Repos webhook URL has to carry an encrypted &lt;code&gt;token&lt;/code&gt; query parameter, derived by encrypting &lt;code&gt;CODE_MANAGEMENT_WEBHOOK_TOKEN&lt;/code&gt; with &lt;code&gt;CODE_MANAGEMENT_SECRET&lt;/code&gt; using AES-256-CBC. Requests without it get a 403. The &lt;a href="https://docs.kodus.io/en/how_to_deploy/platforms/azure_devops/azdevops_webhook" rel="noopener noreferrer"&gt;webhook page&lt;/a&gt; also notes the URL has to reach the webhooks service on port 3332, or your reverse proxy has to route the webhook path there. And on rules, Kody reads coding-agent instruction files including &lt;code&gt;.github/copilot-instructions.md&lt;/code&gt; and &lt;code&gt;.github/instructions/**/*.instructions.md&lt;/code&gt;; the &lt;code&gt;.azuredevops/&lt;/code&gt; paths are not in that list, so a team standardizing on the Azure-native path should know which tools will read it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do the hosted vendors document Azure DevOps Server?
&lt;/h2&gt;

&lt;p&gt;Less clearly than you would want, and the difference matters.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.coderabbit.ai/platforms/azure-devops" rel="noopener noreferrer"&gt;CodeRabbit's Azure DevOps page&lt;/a&gt; covers a PAT or a Microsoft Entra service principal, Project Administrator or Project Collection Administrator rights, and the Edit Subscriptions permission on Service Hooks so the webhook can be installed. It notes that permission cannot currently be granted through the UI and that it is granted per project, which becomes real work across a large organization. The page does not split Azure DevOps Services from Azure DevOps Server, so it does not establish Server support on its own.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.qodo.ai/on-prem/git-integration/install/azure-devops" rel="noopener noreferrer"&gt;Qodo's on-premises Azure DevOps guide&lt;/a&gt; walks through a Microsoft Entra app registration, a service account added to the organization with Basic access and Project Administrators, and a Service Hooks webhook subscribed to PR Created, PR Updated, PR Commented and PR Merged. Those steps assume &lt;code&gt;dev.azure.com&lt;/code&gt; and Entra ID, which are Azure DevOps Services constructs. The &lt;a href="https://docs.qodo.ai/install-qodo/deployment-model-support" rel="noopener noreferrer"&gt;deployment matrix&lt;/a&gt; separately marks on-prem as unsupported for Azure DevOps Cloud. Read together, the guide covers running Qodo on-premises against Azure DevOps Services. It does not document an Azure DevOps Server install.&lt;/p&gt;

&lt;h2&gt;
  
  
  Comparison table
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Route&lt;/th&gt;
&lt;th&gt;Azure DevOps Services&lt;/th&gt;
&lt;th&gt;Azure DevOps Server&lt;/th&gt;
&lt;th&gt;Where rules come from&lt;/th&gt;
&lt;th&gt;Where the review runs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Copilot code review&lt;/td&gt;
&lt;td&gt;Yes, limited preview&lt;/td&gt;
&lt;td&gt;Not documented&lt;/td&gt;
&lt;td&gt;Org and project settings, &lt;code&gt;.github/&lt;/code&gt; or &lt;code&gt;.azuredevops/&lt;/code&gt; instruction files&lt;/td&gt;
&lt;td&gt;Azure Pipelines agent pool&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit&lt;/td&gt;
&lt;td&gt;Documented (Entra service principal or PAT)&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Web UI and repository config files&lt;/td&gt;
&lt;td&gt;CodeRabbit cloud, via Service Hooks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qodo on-premises&lt;/td&gt;
&lt;td&gt;Documented through Entra ID and Service Hooks&lt;/td&gt;
&lt;td&gt;Not documented&lt;/td&gt;
&lt;td&gt;Repository config and PR commands&lt;/td&gt;
&lt;td&gt;Your Qodo environment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PR-Agent&lt;/td&gt;
&lt;td&gt;Supported provider, pipeline or webhook&lt;/td&gt;
&lt;td&gt;Supported provider, pipeline or webhook&lt;/td&gt;
&lt;td&gt;JSON config, prompt files, &lt;code&gt;AGENTS.md&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Your pipeline, CLI, or webhook server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Open Code Review&lt;/td&gt;
&lt;td&gt;CLI on a git checkout&lt;/td&gt;
&lt;td&gt;CLI on a git checkout&lt;/td&gt;
&lt;td&gt;Path-scoped review rules&lt;/td&gt;
&lt;td&gt;Wherever you run the CLI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kodus&lt;/td&gt;
&lt;td&gt;Documented, token auth&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Kody Rules plus detected repository rule files&lt;/td&gt;
&lt;td&gt;Kodus self-hosted or cloud&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Every cell reflects the vendor or project page linked above. Where a cell says not documented or not stated, the page I read does not cover that edition, and that gap is the thing to verify before you commit. The wider &lt;a href="https://mergerequests.dev/blog/ai-code-review-tools-on-self-managed-gitlab-azure-repos-and-bitbucket/" rel="noopener noreferrer"&gt;edition coverage comparison across all three forges&lt;/a&gt; covers the same question for GitLab Self-Managed and Bitbucket Data Center.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which route fits which team
&lt;/h2&gt;

&lt;p&gt;On Azure DevOps Services, Copilot code review is the shortest path to a first automated review. An administrator turns it on at the organization level, billing runs through a subscription you already have, and reviewers appear on pull requests without a webhook to maintain. What you accept in return is the preview status, the missing precedence order when instructions conflict, and the target-branch rule for instruction files. If your standard is that a reviewer must apply a rules file changed inside the same pull request, Copilot will not do that, and you want a tool that reads the rule at review time.&lt;/p&gt;

&lt;p&gt;On Azure DevOps Server the choice is between PR-Agent and a self-hosted product. PR-Agent is the lower-commitment option: MIT, no vendor account, configuration stored in files in your repository, and a documented pipeline trigger. What you pay for it is operational work, since you own the pipeline, the model key and the webhook endpoint. A UI for managing rules, or metrics on what the reviewer found over time, is where a product like Kodus starts to make sense, and the price of that is running the service yourself, including the webhook token and the port exposure above.&lt;/p&gt;

&lt;p&gt;The cheapest test before committing to any of them is one pull request. Put a single rule in the file that route reads, open a pull request that breaks the rule, and see which reviewers flag it. On Azure Repos, the file that reaches the most reviewers is &lt;code&gt;.github/copilot-instructions.md&lt;/code&gt;, because Copilot reads it and Kody detects it among its supported patterns. If your repository already speaks &lt;code&gt;.azuredevops/&lt;/code&gt;, keep both paths in sync or the tools will end up reviewing against different standards.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is Copilot code review available on Azure DevOps Server?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No. Microsoft documents it for Azure DevOps Services, and the documentation is headed for that edition. Server teams run a self-hosted reviewer such as PR-Agent, or wire a vendor integration into Service Hooks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where does Copilot code review read custom instructions from?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Organization and project settings, repository files at &lt;code&gt;.github/copilot-instructions.md&lt;/code&gt; or &lt;code&gt;.azuredevops/copilot-instructions.md&lt;/code&gt;, and path-scoped &lt;code&gt;*.instructions.md&lt;/code&gt; files carrying an &lt;code&gt;applyTo&lt;/code&gt; value. Repository-level and path-scoped files are read from the pull request's target branch, so a change to them applies after it merges.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can CodeRabbit or Qodo review Azure DevOps Server pull requests?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Neither vendor page establishes Server support. CodeRabbit documents an Azure DevOps integration through a PAT or an Entra service principal, and Qodo's on-premises guide uses &lt;code&gt;dev.azure.com&lt;/code&gt; and Entra ID, which are Azure DevOps Services constructs.&lt;/p&gt;

</description>
      <category>azuredevops</category>
      <category>codereview</category>
      <category>ai</category>
      <category>devtools</category>
    </item>
    <item>
      <title>Open source AI code review on GitLab, Azure Repos, Bitbucket DC</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Mon, 02 Nov 2026 01:30:04 +0000</pubDate>
      <link>https://dev.to/emilreiter/open-source-ai-code-review-on-gitlab-azure-repos-bitbucket-dc-2ch4</link>
      <guid>https://dev.to/emilreiter/open-source-ai-code-review-on-gitlab-azure-repos-bitbucket-dc-2ch4</guid>
      <description>&lt;p&gt;If your forge is GitLab Self-Managed, Azure Repos, or Bitbucket Data Center, there are two open source AI code review projects that will run inside infrastructure you control: PR-Agent and Kodus. Everything else with a self-hosted option is a commercial product attached to a contract and a seat floor, which is a different kind of purchase.&lt;/p&gt;

&lt;p&gt;Both of them review pull requests on all three forges, both let you point the model layer at a provider you already pay, and both can run with no outbound internet if you host the model too. What separates them is the license and which features survive on each provider.&lt;/p&gt;

&lt;h2&gt;
  
  
  License and provider coverage are separate questions
&lt;/h2&gt;

&lt;p&gt;A tool can be free to self-host without being open source. CodeRabbit's self-hosted deployment ships as a container image you run in your own environment, and it is scoped to the Enterprise plan, with the docs putting the entry point at 500 or more user seats. That is a reasonable product to sell, and it is a procurement conversation rather than a git clone. The reverse also happens, where a permissively licensed project cannot do a specific thing on your forge because the provider API does not expose the hook that feature needs.&lt;/p&gt;

&lt;p&gt;So the questions that matter for a self-managed team are what the license permits and what the tool can actually do on your forge.&lt;/p&gt;

&lt;h2&gt;
  
  
  PR-Agent is MIT, and the license is held by the project
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://github.com/The-PR-Agent/pr-agent" rel="noopener noreferrer"&gt;PR-Agent repository&lt;/a&gt; carries an MIT license held by the project itself, not by a vendor, and the README states plainly that this is a community-owned project Qodo donated and that it is separate from Qodo's commercial product. That distinction matters when you are choosing something to run for the next three years: the license cannot be re-scoped by a company that later changes direction.&lt;/p&gt;

&lt;p&gt;The most useful document in this whole space is the &lt;a href="https://docs.pr-agent.ai/overview/supported_platforms/" rel="noopener noreferrer"&gt;supported platforms matrix&lt;/a&gt;, because it lists where features differ per provider instead of claiming uniform support. Describe, Review, Improve, Ask, Add Docs, and Help work on GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea. Ask on code lines works on GitHub, GitLab, and Bitbucket only. Similar Issues is GitHub only. Update CHANGELOG runs everywhere but posts as a pull request comment on Bitbucket, Azure DevOps, and Gitea, because those providers cannot push files through the API path the tool uses. Generate Labels on Gitea is marked as not yet verified.&lt;/p&gt;

&lt;p&gt;That matrix is the reason to check before you assume. A team on Azure Repos that wants comment-anchored questions is asking for something the project does not list as supported there. The deployment paths for the non-GitHub forges are covered in &lt;a href="https://mergerequests.dev/blog/pr-agent-on-gitlab-azure-devops-bitbucket-the-self-hosted-code-review-option/" rel="noopener noreferrer"&gt;PR-Agent on GitLab, Azure DevOps and Bitbucket&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;One upgrade detail catches people out: Docker images from 0.34.2 onward are published under the &lt;code&gt;pragent/pr-agent&lt;/code&gt; namespace, and the older &lt;code&gt;codiumai/pr-agent&lt;/code&gt; namespace is a frozen archive with no new pushes. Any pinned image reference needs updating before you move versions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Kodus splits its license between AGPL-3.0 and an enterprise file license
&lt;/h2&gt;

&lt;p&gt;Kodus is open source in a way that needs one clarification, because the license is split by file rather than applied to the whole repository. Filenames containing &lt;code&gt;.ee.&lt;/code&gt; and everything under an &lt;code&gt;ee/&lt;/code&gt; directory fall under the &lt;a href="https://github.com/kodustech/kodus-ai/blob/main/license_ee.md" rel="noopener noreferrer"&gt;Kodus Enterprise Code License&lt;/a&gt;; the rest of the source is AGPL-3.0.&lt;/p&gt;

&lt;p&gt;That enterprise license grants Community users the right to run the unmodified enterprise code as needed to operate Community features, including code review and BYOK model providers, in a self-hosted deployment for internal purposes, production included, within the limits the software enforces. It does not grant the right to modify that code, to bypass the Community limits, or to use Enterprise-only features. Offering Kodus as a hosted or managed service to third parties is not internal use, so a team planning to resell it is outside the grant.&lt;/p&gt;

&lt;p&gt;The Community limits are specific rather than vague. The &lt;a href="https://docs.kodus.io/en/how_to_use/pricing.md" rel="noopener noreferrer"&gt;pricing documentation&lt;/a&gt; puts Community at up to 10 Kody Rules and up to 3 active plugins, with reviews unlimited on every plan because the model calls run on your own key and Kodus does not mark up tokens. Teams is 10 dollars per active developer per month, cloud only, and Enterprise is contract-priced. The published hard cap is that pull requests with more than 2,000 changed files are not reviewed, which is the kind of limit that only shows up on generated-code branches.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/kodustech/kodus-ai" rel="noopener noreferrer"&gt;repository README&lt;/a&gt; gives the self-hosting floor as Docker on a VM you control, with at least 2 CPU cores, 8 GB of RAM, and 60 GB of free disk. It names self-managed GitLab and Forgejo as the on-premises forges it connects to, and lists GitHub, GitLab, Bitbucket, Azure DevOps, and Forgejo for pull request reviews. Self-hosted instances send one anonymous heartbeat per day carrying aggregated counters with no code, names, or identifiers, and &lt;code&gt;KODUS_TELEMETRY_DISABLED=true&lt;/code&gt; turns it off.&lt;/p&gt;

&lt;h2&gt;
  
  
  The commercial self-hosted tier, and where the seat floor bites
&lt;/h2&gt;

&lt;p&gt;CodeRabbit's &lt;a href="https://docs.coderabbit.ai/self-hosted/overview.md" rel="noopener noreferrer"&gt;self-hosted option&lt;/a&gt; runs the review agent in your infrastructure, with the platform integration connecting through a service account or app, and a reverse tunnel for platforms that cannot accept inbound connections. The supported platform list covers GitHub Enterprise Server, GitLab self-managed, Azure DevOps, and Bitbucket Data Center. The docs scope the whole thing to Enterprise customers with 500 or more user seats, which is the number to bring to a budget conversation before you evaluate the product at all.&lt;/p&gt;

&lt;p&gt;Qodo's &lt;a href="https://docs.qodo.ai/install-qodo/deployment-model-support" rel="noopener noreferrer"&gt;deployment model table&lt;/a&gt; is the page to read if air-gapping is on your requirements list. On-premises and air-gapped deployments are documented for GitHub Enterprise, GitLab Self-Managed, Bitbucket Data Center, and Gerrit. Bitbucket Cloud and Azure DevOps Cloud are listed as multi-tenant and single-tenant only, with on-premises marked unavailable, and Azure DevOps has no on-premises entry in that table at all.&lt;/p&gt;

&lt;p&gt;For a team on Azure DevOps Server that is the deciding line, since there is no documented Qodo on-premises path for Azure DevOps. The wider per-tool picture across Services and Server is worth reading in full, and it is laid out in &lt;a href="https://mergerequests.dev/blog/ai-code-review-on-azure-devops-services-vs-server-per-tool/" rel="noopener noreferrer"&gt;AI code review on Azure DevOps Services vs Server, per tool&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Feature coverage across the options
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;PR-Agent&lt;/th&gt;
&lt;th&gt;Kodus&lt;/th&gt;
&lt;th&gt;CodeRabbit self-hosted&lt;/th&gt;
&lt;th&gt;Qodo on-prem&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;License&lt;/td&gt;
&lt;td&gt;MIT, held by the project&lt;/td&gt;
&lt;td&gt;AGPL-3.0 core, enterprise-licensed &lt;code&gt;.ee.&lt;/code&gt; files&lt;/td&gt;
&lt;td&gt;Proprietary&lt;/td&gt;
&lt;td&gt;Proprietary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted path&lt;/td&gt;
&lt;td&gt;CLI, Docker, webhook, CI pipeline&lt;/td&gt;
&lt;td&gt;Docker on a VM you control&lt;/td&gt;
&lt;td&gt;Container image, Enterprise plan only&lt;/td&gt;
&lt;td&gt;Contract, per provider&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitLab Self-Managed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes, air-gapped documented&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Azure Repos&lt;/td&gt;
&lt;td&gt;Yes per the provider matrix (Services and Server not split)&lt;/td&gt;
&lt;td&gt;Yes, provider list does not split editions&lt;/td&gt;
&lt;td&gt;Listed as Azure DevOps, edition not qualified&lt;/td&gt;
&lt;td&gt;Cloud only, no on-premises entry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitbucket Data Center&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes, air-gapped documented&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Air-gapped&lt;/td&gt;
&lt;td&gt;Yes, with a self-hosted model&lt;/td&gt;
&lt;td&gt;Yes, with a self-hosted model&lt;/td&gt;
&lt;td&gt;Private-network option via reverse tunnel&lt;/td&gt;
&lt;td&gt;Documented for GitHub Enterprise, GitLab SM, Bitbucket DC, Gerrit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;Community free, Teams 10 dollars per active dev per month&lt;/td&gt;
&lt;td&gt;Enterprise contract&lt;/td&gt;
&lt;td&gt;Contract&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Documented limits&lt;/td&gt;
&lt;td&gt;Per-provider feature gaps in the matrix&lt;/td&gt;
&lt;td&gt;10 Kody Rules and 3 plugins on Community, 2,000 changed files&lt;/td&gt;
&lt;td&gt;500+ user seats&lt;/td&gt;
&lt;td&gt;Not stated in the deployment table&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Neither PR-Agent nor Kodus splits Azure DevOps Services from Azure DevOps Server in its provider list, so if you run Server, treat the Azure DevOps row as needing a direct test rather than a documentation check.&lt;/p&gt;

&lt;h2&gt;
  
  
  What GitLab ships itself, and what running it offline takes
&lt;/h2&gt;

&lt;p&gt;GitLab's own AI review is Duo, and which feature runs depends on the seat. A user holding a GitLab Duo Enterprise seat gets GitLab Duo Code Review, which is single-pass and scoped to the merge request and its file diffs. Everyone else gets Code Review Flow, which needs no add-on but consumes GitLab Credits, and a group Owner can configure all reviews to use Code Review Flow regardless of seat type. The routing table is in the &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/user/project/merge_requests/duo_in_merge_requests.md" rel="noopener noreferrer"&gt;GitLab Duo in merge requests documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Running that offline is a separate project with its own prerequisites. Offline flow execution needs GitLab 18.9 or later, and the setup requires an opt-out exemption of cloud licensing arranged before purchase, which means it is a sales conversation and not a config flag. You then move the AI Gateway image, the Agent Platform Flows executor image, the vLLM inference server image, and the model weights to the internal registry and filesystem by hand, roughly 0.6 GiB, 0.5 GiB, and 9 GiB compressed before the weights, per the &lt;a href="https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/administration/gitlab_duo_self_hosted/offline_deployment.md" rel="noopener noreferrer"&gt;offline deployment documentation&lt;/a&gt;. The self-managed angle where review policy comes from your team instead of a vendor default is covered in &lt;a href="https://mergerequests.dev/blog/gitlab-self-managed-ai-review-that-follows-your-own-rules/" rel="noopener noreferrer"&gt;GitLab Self-Managed AI review that follows your own rules&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which of these fits your team
&lt;/h2&gt;

&lt;p&gt;If forking and modifying the reviewer matters to you, PR-Agent is the only option in this set that grants it, and you accept the per-provider gaps its matrix documents instead of discovering them during rollout. The cost is operational: you run it, you own the model routing, and you own the upgrades.&lt;/p&gt;

&lt;p&gt;If the part you care about is review policy your team writes in plain language, plus delivery metrics and a dashboard, Kodus covers the same forges with a self-hosting floor you can size from the README, and the trade-off moves from licensing to the Community limits on rules and plugins. A team that wants more than 10 rules is looking at a per-developer fee rather than a fork.&lt;/p&gt;

&lt;p&gt;If the constraint is that nothing leaves the network, the open source pair is the practical field for Bitbucket Data Center and GitLab Self-Managed, and it is the only field for Azure DevOps Server. Commercial self-hosting starts with an Enterprise contract and a seat threshold, and Qodo's own table does not list Azure DevOps on-premises. That is a narrow field, but it is a real one, and the difference between the two options comes down to whether you want to operate a CLI-and-webhook tool you can modify or a self-hosted service with a rule layer and a UI.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Are there open source AI code review tools that work on GitLab Self-Managed and Azure Repos?
&lt;/h3&gt;

&lt;p&gt;Yes. PR-Agent (MIT) and Kodus (AGPL-3.0 core) both review pull requests on GitLab, Bitbucket, and Azure DevOps, and both can be self-hosted. PR-Agent documents which features differ per provider in its supported platforms matrix; Kodus publishes its Community limits and self-hosting requirements in its docs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is Kodus fully open source?
&lt;/h3&gt;

&lt;p&gt;The license is split by file. Files containing .ee. in the name and everything under an ee/ directory fall under the Kodus Enterprise Code License; the rest of the source is AGPL-3.0. Community users may run the unmodified enterprise code for internal use, including production, within the limits the software enforces, but may not modify it or use Enterprise-only features.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can CodeRabbit be self-hosted without an Enterprise contract?
&lt;/h3&gt;

&lt;p&gt;No. CodeRabbit's self-hosted deployment is documented as an Enterprise plan feature, and the docs state it is available to customers with 500 or more user seats.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is there an on-premises Qodo deployment for Azure DevOps?
&lt;/h3&gt;

&lt;p&gt;Qodo's deployment model table lists on-premises and air-gapped support for GitHub Enterprise, GitLab Self-Managed, Bitbucket Data Center, and Gerrit. Bitbucket Cloud and Azure DevOps Cloud are listed as multi-tenant and single-tenant only, and the table has no on-premises entry for Azure DevOps.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>azuredevops</category>
      <category>bitbucket</category>
      <category>codereview</category>
    </item>
    <item>
      <title>Cutting pull request review time with AI: GitLab, Azure Repos, Bitbucket</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Wed, 28 Oct 2026 11:15:01 +0000</pubDate>
      <link>https://dev.to/emilreiter/cutting-pull-request-review-time-with-ai-gitlab-azure-repos-bitbucket-5b0b</link>
      <guid>https://dev.to/emilreiter/cutting-pull-request-review-time-with-ai-gitlab-azure-repos-bitbucket-5b0b</guid>
      <description>&lt;p&gt;Reducing review time with an AI reviewer is mostly not about the model. It is about six configuration decisions, and each of the three forges on this beat implements them differently. On GitLab both code review features run on GitLab.com, Self-Managed and Dedicated, but they are gated by different add-ons. On Azure Repos Copilot code review runs on Services only, in limited preview, and requires Azure Pipelines. Bitbucket Data Center has no native AI reviewer at all, so review time is set by merge checks and whatever bot you wire in through the REST API.&lt;/p&gt;

&lt;p&gt;The levers are the same everywhere. When the review starts, which files it reads, whether it runs on a draft, whether a finding actually blocks the merge, whether a new push triggers a new review, and how much effort each review is allowed to spend. Below is what each forge documents for those six, and where the defaults work against you.&lt;/p&gt;

&lt;h2&gt;
  
  
  The six levers that set review latency
&lt;/h2&gt;

&lt;p&gt;An AI reviewer adds a step to a workflow that already has a human bottleneck, so the useful question is whether it removes more waiting than it adds. That depends on these:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trigger&lt;/strong&gt;: on every push, on PR creation, or only when someone asks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope&lt;/strong&gt;: which files get reviewed and which are skipped, including how large diffs are handled.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Draft behavior&lt;/strong&gt;: whether a review runs, or a gate silently disappears, before the PR is marked ready.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blocking&lt;/strong&gt;: whether a finding stops the merge or is only a comment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Re-review&lt;/strong&gt;: whether new commits get a fresh review and whether the bot remembers what it already said.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Effort and cost&lt;/strong&gt;: how much the reviewer is allowed to think, and who pays for it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those six are also where most "we turned on AI review and nothing got faster" reports come from. A review that runs but does not block anything is a comment feed. A gate that disappears on drafts is not a gate. A reviewer with no scoping reviews lock files and generated code forever.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitLab: two review features, two add-on paths
&lt;/h2&gt;

&lt;p&gt;GitLab runs one of two code review features depending on your add-on and group settings. The non-agentic one is &lt;a href="https://docs.gitlab.com/user/gitlab_duo/code_review/" rel="noopener noreferrer"&gt;GitLab Duo Code Review&lt;/a&gt;, which requires the GitLab Duo Enterprise add-on and is Premium/Ultimate. The agentic one is &lt;a href="https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/code_review/" rel="noopener noreferrer"&gt;Code Review Flow&lt;/a&gt;, part of the GitLab Duo Agent Platform, available on Free, Premium and Ultimate and paid for with GitLab Credits.&lt;/p&gt;

&lt;p&gt;Which one runs is decided by the seat of the user who initiates the review. If that user holds a Duo Enterprise seat, GitLab runs the non-agentic feature by default, because it does not consume GitLab Credits. A group Owner can override that and route all reviews through Code Review Flow. Both features can run in the same project, which is worth knowing before you assume everyone on the team gets the same reviewer.&lt;/p&gt;

&lt;p&gt;The self-managed detail that decides whether any of this is usable: Code Review Flow runs as a CI/CD job and needs a runner with the &lt;code&gt;gitlab--duo&lt;/code&gt; tag and an executor that supports Docker images, or GitLab hosted runners enabled for the project. On an air-gapped instance with no such runner, the flow has nowhere to execute. The non-agentic feature does not have that requirement, but it does depend on the AI Gateway request timeout, and reviews that do not finish in that window surface as a generic error.&lt;/p&gt;

&lt;p&gt;For triggering, automatic reviews are a project setting since 18.0. Group and instance level automatic reviews arrived in 18.4 behind the &lt;code&gt;cascading_auto_duo_code_review_settings&lt;/code&gt; flag, which was removed in 18.7. GitLab skips draft merge requests, merge requests with no changes, and anything matching your exclusion rules. Code Review Flow also has a &lt;strong&gt;Start a new review on push&lt;/strong&gt; option, and its follow-up reviews use earlier Duo threads and replies to judge the new changes.&lt;/p&gt;

&lt;p&gt;The blocking lever on GitLab is the weakest of the three. A user's request for changes blocks a merge on Premium and Ultimate, and a bot can bypass it. GitLab Duo approving or requesting changes is beta in 19.5 behind &lt;code&gt;duo_code_review_decisions&lt;/code&gt;, disabled by default, and a Duo approval does not count toward required approvals. If you want an AI reviewer to hold a merge, the reliable path is a required external status check with &lt;strong&gt;Status checks must succeed&lt;/strong&gt; turned on, which is a separate setting from the check itself.&lt;/p&gt;

&lt;p&gt;For teams on self-managed GitLab with their own rules, that combination is the one worth testing: a required status check for the gate, plus review instructions scoped to the project so the reviewer follows your standards instead of generic advice. I wrote about the add-on paths and rule scoping separately in &lt;a href="https://mergerequests.dev/blog/gitlab-self-managed-ai-review-that-follows-your-own-rules/" rel="noopener noreferrer"&gt;AI review on self-managed GitLab that follows your own rules&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;On large merge requests, GitLab Duo Code Review sends the diffs plus the original contents of changed files, and if that request fails it retries without the file contents. The retry shrinks the prompt and also shrinks the context, so comments can be less specific. If the retry fails too, you get a generic error message. Splitting large merge requests and excluding irrelevant files is the documented mitigation. I covered the general problem in &lt;a href="https://mergerequests.dev/blog/what-gitlab-azure-devops-and-bitbucket-hide-in-large-prs/" rel="noopener noreferrer"&gt;what GitLab, Azure DevOps and Bitbucket hide in large PRs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure Repos: Copilot code review is Services-only and preview-gated
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/copilot-code-reviews" rel="noopener noreferrer"&gt;GitHub Copilot code review for Azure Repos&lt;/a&gt; is in limited preview and applies to Azure DevOps Services. A Project Collection Administrator enables it for the organization, a Project Administrator manages project defaults, and a repository owner turns it on per repository. Individual users also opt in through Preview features unless an administrator enables it for everyone.&lt;/p&gt;

&lt;p&gt;Two constraints change the plan more than anything else in that page. Copilot code review requires Azure Pipelines, and self-hosted agent pools and Managed DevOps Pools are not supported. For a team whose pipelines run entirely on self-hosted agents, the feature is not a smaller version of itself, it is unavailable. The second is that automatic review is not part of enablement. It is a separate branch policy, &lt;strong&gt;Automatically request Copilot code review&lt;/strong&gt;, that you set per target branch. Enabling the feature makes it available; the policy is what makes it run without a manual request.&lt;/p&gt;

&lt;p&gt;Effort is a per-project default that repository admins can override when the project allows it, and higher effort consumes more tokens and costs more. That is a reasonable place to start a review-time experiment: leave the default low on most repositories, raise it where the diffs are riskier, and compare against what the pipeline costs you in wall-clock time.&lt;/p&gt;

&lt;p&gt;The draft-PR behavior on Azure Repos deserves its own look because it affects every gate, not just the AI one. A draft pull request suppresses build validation policies so they do not run automatically, disables voting, and does not auto-add required reviewers. Publishing the PR assigns reviewers and evaluates policies. Marking a published PR as a draft removes all existing votes. So a PR that sits in draft while someone iterates looks unblocked, and any gate you wired to build validation or a required reviewer is simply absent until the PR is published.&lt;/p&gt;

&lt;p&gt;Once a PR is published, Azure Repos gives you a policy model with a real blocking lever: a status check policy that a bot can post to, plus the minimum reviewer and build validation policies. If you are wiring an AI reviewer into that model, &lt;a href="https://mergerequests.dev/blog/azure-repos-merge-gating-for-ai-reviewers-the-status-check-policy/" rel="noopener noreferrer"&gt;the status check policy is the piece that actually gates the merge&lt;/a&gt;, and the build expiration setting (Immediately, After n hours, or Never) decides how stale a passing build is allowed to get before it stops counting.&lt;/p&gt;

&lt;p&gt;For Azure DevOps Server, none of the above applies. Copilot code review is a Services feature, so a Server team looking to cut review time is choosing between third-party tools and their own pipeline job.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bitbucket Data Center: the gate and the finding are the same object
&lt;/h2&gt;

&lt;p&gt;Bitbucket Data Center has no native AI reviewer, so the review-time question becomes which merge checks you enforce and what you post into Code Insights. &lt;a href="https://confluence.atlassian.com/bitbucketserver096/checks-for-merging-pull-requests-1627097061.html" rel="noopener noreferrer"&gt;Merge checks&lt;/a&gt; are set at Project settings &amp;gt; Merge checks and inherited by repositories, with repository admins able to override unless a project admin has restricted repository-level customization (available from Bitbucket 8.10, and restricting it deletes any saved repository-level settings for that check). Minimum approvals and default reviewers are separate checks and both must be met.&lt;/p&gt;

&lt;p&gt;The Code Insights merge check is where an AI reviewer gets to block a merge, and its scope is narrow in a way that matters. Annotations only block merging if they are on the diff. An annotation placed on a changed file outside the changed lines, or on a file that did not change, will not block anything. So the same finding can gate the merge or be invisible to the gate depending on where the line anchor lands. This is the opposite of Azure Repos and GitLab, where the finding surface and the gate are two different objects that you connect.&lt;/p&gt;

&lt;p&gt;The other Code Insights constraints are operational. Annotations display only on lines changed in the unified diff, so they are absent in side-by-side, commit, and iterative diff views. A rerun must delete the previous annotations first, because there is no de-duplication, and posting more than 1,000 annotations rejects the whole request. A reviewer that re-posts the same findings on every push will eventually hit one of those limits rather than a merge check.&lt;/p&gt;

&lt;p&gt;Bitbucket Data Center is also the one forge of the three that lets you ask for the delta. Its changes resource accepts &lt;code&gt;changeScope=UNREVIEWED&lt;/code&gt;, which uses a per-user last reviewed commit, so a reviewer can fetch only what changed since that user last looked. Azure Repos tracks something similar through &lt;code&gt;changeTrackingId&lt;/code&gt; and &lt;code&gt;firstComparingIteration&lt;/code&gt;, and GitLab does not have a cross-version diff API, so the delta there comes from the repository compare endpoint.&lt;/p&gt;

&lt;h2&gt;
  
  
  What third-party reviewers document for these forges
&lt;/h2&gt;

&lt;p&gt;If you want a native reviewer on Bitbucket Data Center, or a self-hosted one on Azure DevOps Server, the options are third-party tools, and their docs are the only honest source for what they support.&lt;/p&gt;

&lt;p&gt;CodeRabbit documents &lt;a href="https://docs.coderabbit.ai/self-hosted/overview" rel="noopener noreferrer"&gt;self-hosted deployment&lt;/a&gt; as Enterprise-only, for customers with 500 or more user seats, running the review agent as a container inside your infrastructure with a bring-your-own-model setup. The supported platforms listed are GitHub Enterprise Server, GitLab self-managed, Azure DevOps and Bitbucket Data Center. Deployment and configuration instructions are provided during onboarding rather than published. For scope, it uses &lt;a href="https://docs.coderabbit.ai/guides/review-instructions" rel="noopener noreferrer"&gt;path filters and path instructions&lt;/a&gt;, where exclusions win over includes regardless of order, and there is an Azure DevOps-specific caveat: repository inventory and diff hydration apply the default ignored paths directly rather than through your configured filters, so an override does not take effect on those two paths.&lt;/p&gt;

&lt;p&gt;Qodo documents an &lt;a href="https://docs.qodo.ai/on-prem" rel="noopener noreferrer"&gt;on-premises deployment&lt;/a&gt; on Kubernetes, with integrations for GitLab Server, Bitbucket Data Center, Azure DevOps and Gerrit. Cloud-hosted Git instances use a separate install path.&lt;/p&gt;

&lt;p&gt;Kodus is open source and &lt;a href="https://github.com/kodustech/kodus-ai" rel="noopener noreferrer"&gt;self-hostable&lt;/a&gt; with your own model keys, running on Docker on a VM you control (2 CPU cores, 8 GB RAM, 60 GB disk minimum) or as a hosted service. It reviews pull requests on GitLab, Bitbucket, Azure DevOps and GitHub, including self-managed GitLab, and its Kody Rules are written in plain language and scoped to an organization, repository, path or review scope, which is the lever that maps to the scope row in the table below. The CLI can review a working tree, staged diff, branch or commit, so a pre-push review does not need a pull request to exist. The trade-off sits in the plan split: the Community tier caps Kody Rules at 10 and active plugins at 3, so teams that want many scoped rule sets or integrations are choosing between paying and trimming the ruleset.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;GitLab&lt;/th&gt;
&lt;th&gt;Azure Repos&lt;/th&gt;
&lt;th&gt;Bitbucket Data Center&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Native AI reviewer&lt;/td&gt;
&lt;td&gt;Duo Code Review (Duo Enterprise add-on) or Code Review Flow (GitLab Credits)&lt;/td&gt;
&lt;td&gt;Copilot code review, limited preview&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Edition scope&lt;/td&gt;
&lt;td&gt;GitLab.com, Self-Managed, Dedicated&lt;/td&gt;
&lt;td&gt;Services only&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Automatic review&lt;/td&gt;
&lt;td&gt;Project setting since 18.0; group/instance 18.4+&lt;/td&gt;
&lt;td&gt;Separate branch policy per target branch&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-hosted execution&lt;/td&gt;
&lt;td&gt;Code Review Flow needs a runner with the &lt;code&gt;gitlab--duo&lt;/code&gt; tag&lt;/td&gt;
&lt;td&gt;Requires Azure Pipelines; self-hosted agent pools not supported&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Draft PR behavior&lt;/td&gt;
&lt;td&gt;Skipped by automatic reviews&lt;/td&gt;
&lt;td&gt;Suppresses build validation, disables voting, no auto reviewers&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Blocking a merge&lt;/td&gt;
&lt;td&gt;Request changes (Premium/Ultimate, bypassable); Duo decisions beta in 19.5&lt;/td&gt;
&lt;td&gt;Status check policy, build validation, minimum reviewers&lt;/td&gt;
&lt;td&gt;Merge checks; Code Insights blocks only on-diff annotations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Re-review on push&lt;/td&gt;
&lt;td&gt;"Start a new review on push"; follow-up reviews reuse earlier threads&lt;/td&gt;
&lt;td&gt;New policy evaluation per push&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;changeScope=UNREVIEWED&lt;/code&gt; via last reviewed commit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Effort or cost control&lt;/td&gt;
&lt;td&gt;Model selection per feature; GitLab Credits&lt;/td&gt;
&lt;td&gt;Default effort level per project/repo&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What this means when you are picking levers
&lt;/h2&gt;

&lt;p&gt;Two of these three forges let you build a real gate for an AI reviewer, and one makes it awkward. On Azure Repos the status check policy is a first-class blocking object and the draft-PR behavior is the thing most likely to surprise you, because a gate you configured can be absent without any error. On GitLab the gate exists but the AI reviewer's own approval does not count toward required approvals, so the check that holds the merge is the status check, not the bot's verdict. On Bitbucket Data Center the finding and the gate are the same object, which is simpler to reason about and much more sensitive to where a line anchor lands.&lt;/p&gt;

&lt;p&gt;If you are on Bitbucket Data Center or Azure DevOps Server, no native option is on the table, and the honest comparison is between CodeRabbit's Enterprise-only self-hosted path, Qodo's Kubernetes deployment, and Kodus's open-source self-hosting with your own keys. Those are different shapes of commitment: a seat threshold, a Kubernetes platform, or a VM and a ruleset budget. Which one fits depends less on review quality than on what your team already runs and how much of the configuration you are willing to own.&lt;/p&gt;

&lt;p&gt;For the effort lever, the default should be the cheap end. Raise review effort on the repositories where diffs are riskier, and measure the change in review latency and cost rather than assuming a heavier review is a better one. A reviewer that runs on every push at the highest effort level and posts findings nobody can merge-block with is just a slower comment feed.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>azuredevops</category>
      <category>bitbucket</category>
      <category>codereview</category>
    </item>
    <item>
      <title>Azure Repos merge gating for AI reviewers: the status check policy</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Wed, 21 Oct 2026 00:30:05 +0000</pubDate>
      <link>https://dev.to/emilreiter/azure-repos-merge-gating-for-ai-reviewers-the-status-check-policy-1adj</link>
      <guid>https://dev.to/emilreiter/azure-repos-merge-gating-for-ai-reviewers-the-status-check-policy-1adj</guid>
      <description>&lt;p&gt;On Azure Repos, an AI reviewer can only stop a merge if a branch policy requires a status check whose genre and name match a status that reviewer posts. Review comments and votes leave the Complete button where it was. The mechanism is the PR Status API plus a required status check policy, and it lives on the branch rather than in the reviewer's own settings. That distinction decides whether a tool is a merge gate or an advisory commenter on your pull requests.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually blocks completion in Azure Repos
&lt;/h2&gt;

&lt;p&gt;Azure Repos gates merges through branch policies, and for an external service the relevant one is the status check policy. The &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/available-pr-status-checks" rel="noopener noreferrer"&gt;reference of available status checks&lt;/a&gt; spells out how a posted status maps to merge behavior:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;th&gt;With a required policy&lt;/th&gt;
&lt;th&gt;With an optional policy&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;succeeded&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Unblocks the policy&lt;/td&gt;
&lt;td&gt;Informational&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;failed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Blocks merge&lt;/td&gt;
&lt;td&gt;Informational&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;error&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Blocks merge&lt;/td&gt;
&lt;td&gt;Informational&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;pending&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Blocks merge, awaiting result&lt;/td&gt;
&lt;td&gt;Informational&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;notApplicable&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Bypasses the policy requirement&lt;/td&gt;
&lt;td&gt;Informational&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;notSet&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Treated as pending&lt;/td&gt;
&lt;td&gt;Informational&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two entries matter when you wire up a reviewer. &lt;code&gt;notApplicable&lt;/code&gt; is the documented way to exempt a specific pull request from a required policy without editing the policy, which is useful when a check genuinely doesn't apply to a change such as a docs-only edit. &lt;code&gt;notSet&lt;/code&gt; behaving as pending means a service that creates the policy but never posts a status leaves the pull request permanently blocked. That's the failure mode to watch for during a first rollout, and it's a quiet one because nothing errors.&lt;/p&gt;

&lt;p&gt;The same page lists what Azure DevOps posts on its own: &lt;code&gt;AdvancedSecurity/AllHighAndCritical&lt;/code&gt; and &lt;code&gt;AdvancedSecurity/NewHighAndCritical&lt;/code&gt; from GitHub Advanced Security, plus &lt;code&gt;{pipeline-name}/codecoverage&lt;/code&gt; from Azure Pipelines. Both Advanced Security checks need Advanced Security enabled on the repository and a build validation policy with the scanning tasks configured to wait for processing, otherwise the statuses don't reflect the latest scan. Everything else arrives through the &lt;a href="https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-request-statuses" rel="noopener noreferrer"&gt;PR Status API&lt;/a&gt;, and the calling identity needs Contribute to pull requests on the repository before it can post anything.&lt;/p&gt;

&lt;p&gt;Edition scope is worth pinning down here. The branch policies page covers Azure DevOps Services and Azure DevOps Server, so the policy mechanism is available on both. The reference of native first-party status checks is headed Azure DevOps Services, which is the list Microsoft maintains. A Server team configures status check policies the same way; the checks that exist out of the box are the Services-side ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  Configuring the status check policy for a third-party reviewer
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/pr-status-policy" rel="noopener noreferrer"&gt;how-to for an external service&lt;/a&gt; walks through adding the policy under Branch policies, then Status checks. The fields are where the behavior gets decided.&lt;/p&gt;

&lt;p&gt;Policy requirement sets optional or required, and only required blocks completion. An optional policy still shows the status on the pull request, which is a reasonable way to run a reviewer in observe mode before it can hold up merges.&lt;/p&gt;

&lt;p&gt;Authorized identity restricts which identity's status counts toward the policy. Leaving it open means any account that can post a status to the repository can satisfy the check, which is a real gap in a large organization where integrations accumulate. Pinning it to the reviewer's service account or service principal is the tighter setup, and it turns credential rotation into a merge-gating concern rather than just an integration concern. The &lt;a href="https://mergerequests.dev/blog/ai-code-review-credentials-by-forge-what-expires-in-2026/" rel="noopener noreferrer"&gt;expiry paths for these integrations&lt;/a&gt; are worth checking against whatever you configure here.&lt;/p&gt;

&lt;p&gt;Reset conditions decide whether a posted status stays valid when the source branch changes. For a check tied to a specific commit, the documented guidance is to reset the status whenever there are new changes. Skip that and a reviewer's approval of an earlier revision keeps the gate open for code it never read.&lt;/p&gt;

&lt;p&gt;Policy applicability has two settings. Apply by default enforces the policy from pull request creation, and the PR can be exempted by posting &lt;code&gt;notApplicable&lt;/code&gt;. Conditional means the policy doesn't apply until the first status is posted, which supports an orchestration pattern where one policy evaluates which others should apply and then posts statuses to activate them.&lt;/p&gt;

&lt;p&gt;There's a practical detail that trips people up on the first setup. The status dropdown only lists genre and name values for services that have already posted at least one status to a pull request. A new integration that hasn't run yet won't appear in the list, so you type &lt;code&gt;genre/name&lt;/code&gt; directly into the field. Until the service posts, the policy shows as not set on the pull request, and per the table above that reads as pending.&lt;/p&gt;

&lt;h2&gt;
  
  
  Iteration status and when a re-review is required
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/pull-request-status" rel="noopener noreferrer"&gt;pull request extensibility page&lt;/a&gt; covers the difference between posting a status against a pull request as a whole and posting it against a specific iteration. Iteration status is what makes a check revision-specific: it lets the policy require that the latest iteration has a status of &lt;code&gt;succeeded&lt;/code&gt;, so a push invalidates the previous approval. That only works when reset conditions are set to reset on new changes, which the docs call out directly.&lt;/p&gt;

&lt;p&gt;There's a documented ceiling attached to it. A pull request with more than 100,000 modified files doesn't support iterations, so further commits land without creating a new iteration, and posting a status against a non-existent iteration returns an error. For a review integration that means the gate falls back to pull request level on very large changes. That's an edge case until an agent opens a branch-wide refactor, and then it isn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Copilot branch policy that requests a review and nothing more
&lt;/h2&gt;

&lt;p&gt;Azure Repos has a Copilot code review feature, and its branch policy is easy to misread. The &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/copilot-code-reviews" rel="noopener noreferrer"&gt;get started page&lt;/a&gt; states that feature enablement and automatic review are separate settings, and the "Automatically request Copilot code review" policy does what its name says: it adds Copilot as a reviewer on pull requests targeting the configured branch. Microsoft documents no route for Copilot to post a status check on Azure Repos, and none of the native checks in the status check reference belong to the feature. So this policy changes who reviews the pull request, and the merge gate stays where it was.&lt;/p&gt;

&lt;p&gt;Enablement runs across three scopes, which is worth planning for. A Project Collection Administrator turns the feature on for the organization, a Project Administrator can scope it per project, and a repository owner enables it per repository when project settings allow overrides. Effort level is set at the project level with an option to let repositories override, and higher effort consumes more tokens. Billing runs through an Azure subscription linked to the organization and Azure Cost Management, which is a different procurement path from a per-seat plan.&lt;/p&gt;

&lt;p&gt;The preview note attached to the feature states limited preview, no SLA, and that functionality may change or be removed. The documentation is scoped to Azure DevOps Services. Teams on &lt;a href="https://mergerequests.dev/blog/ai-code-review-on-azure-devops-services-vs-server-per-tool/" rel="noopener noreferrer"&gt;Azure DevOps Server&lt;/a&gt; get none of it and need a self-hosted reviewer instead.&lt;/p&gt;

&lt;h2&gt;
  
  
  What each AI reviewer's docs establish about gating
&lt;/h2&gt;

&lt;p&gt;I read what the vendors document for Azure Repos rather than assuming a general claim about blocking carries over to this forge.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Azure Repos route&lt;/th&gt;
&lt;th&gt;Documented blocking mechanism&lt;/th&gt;
&lt;th&gt;What it means for the gate&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit&lt;/td&gt;
&lt;td&gt;PAT or Microsoft Entra service principal, plus a Service Hooks webhook&lt;/td&gt;
&lt;td&gt;Pre-Merge Checks run in off, warning or error mode; error blocks only when paired with the Request Changes workflow. Its Azure DevOps permission table lists posting statuses among the capabilities it needs.&lt;/td&gt;
&lt;td&gt;Blocking is configured inside CodeRabbit, and a status route is present in the documented permissions. Pairing it with a required status check policy is what makes the block affect Azure Repos completion.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qodo&lt;/td&gt;
&lt;td&gt;Portal connection to Azure DevOps; the deployment matrix marks on-prem unsupported and air-gapped N/A for Azure DevOps Cloud&lt;/td&gt;
&lt;td&gt;The severity threshold filters which findings appear as inline comments, and a below-threshold finding still appears in the summary&lt;/td&gt;
&lt;td&gt;Findings are advisory on Azure Repos. Self-hosted Azure Repos is not a documented deployment option, so the gate has to come from whatever posts a status.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kodus&lt;/td&gt;
&lt;td&gt;Azure Repos webhook through Service Hooks, with a signed token and one subscription per event type&lt;/td&gt;
&lt;td&gt;Suggestions post non-blocking by default; Request Changes is optional, and the compliance cookbook says to enable it so violations block merge. Status shows as a comment on Azure DevOps because there is no reaction API.&lt;/td&gt;
&lt;td&gt;Request Changes is a review state. Whether it gates completion depends on the branch policies on the target branch, so the status check policy is still the lever.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Copilot code review&lt;/td&gt;
&lt;td&gt;Native, Services only, limited preview&lt;/td&gt;
&lt;td&gt;None documented; the branch policy requests a review&lt;/td&gt;
&lt;td&gt;Advisory. The gate remains a status check policy or the minimum reviewers policy.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two rows deserve a second look.&lt;/p&gt;

&lt;p&gt;Kodus's Azure Repos webhook is the one that requires an encrypted &lt;code&gt;token&lt;/code&gt; query parameter, produced by encrypting &lt;code&gt;CODE_MANAGEMENT_WEBHOOK_TOKEN&lt;/code&gt; with &lt;code&gt;CODE_MANAGEMENT_SECRET&lt;/code&gt; using AES-256-CBC, and Kodus returns 403 Unauthorized when it's missing. Each event type needs its own service hook subscription, so pull request created, updated, merge attempted and comment events mean four subscriptions. Create only the first one and updates and comments won't trigger a review, with nothing in the UI indicating the gap.&lt;/p&gt;

&lt;p&gt;Qodo's &lt;a href="https://docs.qodo.ai/install-qodo/deployment-model-support" rel="noopener noreferrer"&gt;deployment matrix&lt;/a&gt; is the most explicit vendor statement I've found on where each tool can run, and it marks Azure DevOps Cloud as on-prem unsupported with air-gapped N/A. The &lt;a href="https://docs.qodo.ai/on-prem/git-integration/install/azure-devops" rel="noopener noreferrer"&gt;on-prem Azure DevOps guide&lt;/a&gt; walks through Entra app registration and Service Hooks against &lt;code&gt;dev.azure.com&lt;/code&gt;, which are Azure DevOps Services constructs. Read together, Qodo on-premises targets Azure DevOps Services, and self-hosted Azure Repos isn't covered.&lt;/p&gt;

&lt;p&gt;CodeRabbit's &lt;a href="https://docs.coderabbit.ai/platforms/azure-devops" rel="noopener noreferrer"&gt;Azure DevOps page&lt;/a&gt; is detailed on setup, including the note that the Edit Subscriptions permission on Service Hooks cannot currently be granted through the UI and is granted per project, which is real work across a large organization. The &lt;a href="https://docs.coderabbit.ai/pr-reviews/pre-merge-checks" rel="noopener noreferrer"&gt;Pre-Merge Checks page&lt;/a&gt; is explicit that warning is the default enforcement mode and that error only blocks when paired with the Request Changes workflow, so a team that enables checks and assumes merges are gated has an open gate.&lt;/p&gt;

&lt;p&gt;If you want a self-hosted reviewer that posts statuses directly, &lt;a href="https://mergerequests.dev/blog/pr-agent-on-azure-devops-pipelines-branch-policies-webhooks/" rel="noopener noreferrer"&gt;PR-Agent wired into Azure Repos branch policies and Service Hooks&lt;/a&gt; is the configuration to study, because it runs in a pipeline you control and can call the PR Status API with a genre and name you choose.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to check before you rely on a reviewer
&lt;/h2&gt;

&lt;p&gt;The gate is a branch policy, so the setup work happens in Azure Repos no matter which reviewer you pick. Before treating any AI reviewer as a merge gate, confirm that the service posts a status through the PR Status API, note the exact genre and name it uses, create a required status check policy with those values, and pin the authorized identity to the reviewer's service account. Then push a commit after a passing review and confirm the policy resets. A gate that stays green after a new commit is approving code nobody read.&lt;/p&gt;

&lt;p&gt;For teams that want the reviewer to stay advisory, the optional policy gives you the check on the pull request without blocking completion, and the status values still render in the Policies section. That's a sensible place to start, since it keeps the first rollout from freezing merges while you learn what the reviewer actually catches.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Can an AI code reviewer block a merge in Azure Repos?
&lt;/h3&gt;

&lt;p&gt;Only if it posts a pull request status and a required status check branch policy matches that status's genre and name. Review comments and votes don't change whether a pull request can complete, because completion is governed by branch policies.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does the Automatically request Copilot code review policy block merges?
&lt;/h3&gt;

&lt;p&gt;No. That branch policy requests a Copilot review on pull requests targeting the configured branch. Microsoft documents no route for Copilot to post a status check on Azure Repos, and none of the native status checks in its reference belong to the feature.&lt;/p&gt;

&lt;h3&gt;
  
  
  What happens if a status check policy exists but the service never posts a status?
&lt;/h3&gt;

&lt;p&gt;The policy shows as not set on the pull request, and a notSet value is treated as pending, so a required policy blocks completion until the service posts a status.&lt;/p&gt;

</description>
      <category>azuredevops</category>
      <category>ai</category>
      <category>codereview</category>
      <category>devops</category>
    </item>
    <item>
      <title>What GitLab, Azure DevOps and Bitbucket hide in large PRs</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Mon, 19 Oct 2026 01:45:02 +0000</pubDate>
      <link>https://dev.to/emilreiter/what-gitlab-azure-devops-and-bitbucket-hide-in-large-prs-15o3</link>
      <guid>https://dev.to/emilreiter/what-gitlab-azure-devops-and-bitbucket-hide-in-large-prs-15o3</guid>
      <description>&lt;p&gt;A large pull request runs into two different limits, and they fail in different ways. The forge decides how much of the diff it will render, and past that point you get a partial view with a warning on screen. The reviewer decides how many files it will analyze, and past that point you get no review at all. Raise the first number and leave the second alone, and you still end up with a pull request that nobody, human or automated, actually looked at.&lt;/p&gt;

&lt;p&gt;That split matters more now that agent-authored changes arrive in bigger chunks. The two numbers also live in different places, are owned by different people, and get quoted as if they were one limit.&lt;/p&gt;

&lt;h2&gt;
  
  
  The forge cap: how much of the diff renders
&lt;/h2&gt;

&lt;p&gt;GitLab is the only one of the three that publishes a full set of diff limits with both defaults and maximums, and it is the only one where the ceiling depends on the offering you are on. On &lt;a href="https://docs.gitlab.com/administration/diff_limits/" rel="noopener noreferrer"&gt;GitLab Self-Managed and GitLab Dedicated&lt;/a&gt;, the defaults are a 200 KB maximum diff patch size, 1,000 changed files, and 50,000 changed lines, raisable to 500 KB, 3,000 files, and 100,000 lines. When a diff reaches 10 percent of any of those three values, GitLab collapses the files behind an expand link. Past any of them, the diff is shown as Too large and cannot be expanded in the UI at all. The line that catches people out is that these limits apply to the UI and to the API endpoints that return diff information, so a bot reading the merge request through the API sees the same truncation a human does. On GitLab.com, the same page states that diff limits cannot be configured, which makes it the one GitLab offering where you have no lever.&lt;/p&gt;

&lt;p&gt;Bitbucket splits by edition, and the two editions behave nothing alike. &lt;a href="https://support.atlassian.com/bitbucket-cloud/docs/limits-for-viewing-content-and-diffs/" rel="noopener noreferrer"&gt;Bitbucket Cloud&lt;/a&gt; caps a single file's diff at 2,000 changed lines or 102,400 bytes of raw diff data, the entire diff at 8,000 changed lines, and the whole diff at 200 files. None of those are configurable; when you hit them the pull request stops rendering as one page and loads files individually instead. &lt;a href="https://support.atlassian.com/bitbucket-data-center/kb/the-diff-for-this-file-is-too-large-to-render/" rel="noopener noreferrer"&gt;Bitbucket Data Center&lt;/a&gt; works off &lt;code&gt;page.max.diff.lines&lt;/code&gt; (10,000 by default) and &lt;code&gt;page.max.changes&lt;/code&gt; (1,000 by default) in &lt;code&gt;bitbucket.properties&lt;/code&gt;. A Data Center admin can move those numbers, and a Cloud admin cannot.&lt;/p&gt;

&lt;p&gt;Azure Repos publishes its caps as notes inside the review flow rather than as a limits page. &lt;a href="https://learn.microsoft.com/en-us/azure/devops/repos/git/review-pull-requests?view=azure-devops" rel="noopener noreferrer"&gt;Review and comment on pull requests&lt;/a&gt; states that the summary view does not show changes for a file larger than 0.5 MB, and that for a single file larger than 5 MB the diff view shows truncated content, with the docs pointing you at a local diff tool for the full thing. Those two pages carry the Services and Server monikers, so unlike Copilot code review, the rendering behavior is the same on both editions.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Forge and edition&lt;/th&gt;
&lt;th&gt;Per-file cap&lt;/th&gt;
&lt;th&gt;Whole-diff cap&lt;/th&gt;
&lt;th&gt;Configurable&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;GitLab Self-Managed / Dedicated&lt;/td&gt;
&lt;td&gt;part of a 200 KB patch size, 1,000 files, 50,000 lines set&lt;/td&gt;
&lt;td&gt;same set&lt;/td&gt;
&lt;td&gt;Yes, up to 500 KB, 3,000 files, 100,000 lines&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitLab.com&lt;/td&gt;
&lt;td&gt;same defaults, fixed&lt;/td&gt;
&lt;td&gt;same&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitbucket Cloud&lt;/td&gt;
&lt;td&gt;2,000 changed lines or 100 KB&lt;/td&gt;
&lt;td&gt;8,000 changed lines, 200 files&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitbucket Data Center&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;page.max.changes&lt;/code&gt; 1,000&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;page.max.diff.lines&lt;/code&gt; 10,000&lt;/td&gt;
&lt;td&gt;Yes, in &lt;code&gt;bitbucket.properties&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Azure Repos (Services and Server)&lt;/td&gt;
&lt;td&gt;summary view hides files over 0.5 MB; single file over 5 MB truncated in diff view&lt;/td&gt;
&lt;td&gt;not stated&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The second gate: the reviewer's own file cap
&lt;/h2&gt;

&lt;p&gt;The forge cap degrades a view. A reviewer's file cap does something harsher: it skips the pull request. That is a different failure mode, and it is the one that produces a merge request with zero automated comments and no obvious reason why.&lt;/p&gt;

&lt;p&gt;Kodus documents both numbers. The &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/flow" rel="noopener noreferrer"&gt;review flow page&lt;/a&gt; lists "PR exceeds the configured file limit" as a skip condition, and the &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/troubleshooting" rel="noopener noreferrer"&gt;troubleshooting page&lt;/a&gt; puts the working figure at 2,000 reviewable files after the ignored-file patterns are applied. A pull request with 2,500 files where 600 are lock files still gets reviewed, because the cap counts what is left after filtering. When it does skip, the status shows as skipped rather than a review, and on Azure DevOps and Bitbucket there is no reaction API, so that status arrives as a comment instead of a reaction. A team watching for a reaction on those two forges will see nothing.&lt;/p&gt;

&lt;p&gt;CodeRabbit does not publish a maximum diff size, so I am not going to invent one. What its &lt;a href="https://docs.coderabbit.ai/configuration/auto-review" rel="noopener noreferrer"&gt;automatic review controls&lt;/a&gt; document is volume management by commit and path rather than by size: &lt;code&gt;auto_pause_after_reviewed_commits&lt;/code&gt; defaults to 5 and pauses incremental reviews after that many reviewed commits, &lt;code&gt;drafts&lt;/code&gt; defaults to false so draft pull requests are skipped, &lt;code&gt;base_branches&lt;/code&gt; defaults to the default branch only, and &lt;code&gt;ignore_usernames&lt;/code&gt; skips whole authors. &lt;code&gt;path_filters&lt;/code&gt; is the lever for excluding lock files and generated code from a review. The practical consequence is that a 60-commit pull request can stop getting incremental reviews at commit five without anyone having configured anything, which reads as a broken integration unless you know the default is there.&lt;/p&gt;

&lt;p&gt;Qodo's constraint is about display rather than skipping. Its severity threshold applies to inline comments only, so a finding below the threshold still shows up in the summary, and the resolved-findings overflow section collapses on GitHub, GitLab and Azure DevOps but not on Bitbucket or Gerrit, where findings past the breakpoint do not display in the pull request. That is worth knowing before you conclude a reviewer found nothing on Bitbucket.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why raising the GitLab limit does not fix the skip
&lt;/h2&gt;

&lt;p&gt;The tempting move on self-managed GitLab is to raise the diff limits to their maximums and call the problem solved. That does address the truncation, including the API truncation, and it is genuinely the right call for a large monorepo. It does not touch the reviewer's own cap, which is a separate number in a separate product, and it does not help a team on GitLab.com where the value cannot be changed. If your chain includes a tool that skips at 2,000 files, a 3,000-file ceiling on the GitLab side just means GitLab will render a diff the reviewer will refuse to read.&lt;/p&gt;

&lt;p&gt;The same logic runs the other way. A team that tunes its reviewer's ignored-file patterns down to something aggressive will get reviews on pull requests whose diffs the forge still truncates. In that case the reviewer is commenting on a partial view, and a finding about a file that was never rendered is a finding about code it did not see.&lt;/p&gt;

&lt;p&gt;The judgment I would make from these numbers: for most teams the reviewer cap deserves attention before the forge cap does. Truncation is visible, the UI tells you a file was too large, and a human reviewer can still open the file locally. A skip is silent. It looks exactly like a reviewer that had nothing to say, and the pull request merges on that basis.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to check before you tune anything
&lt;/h2&gt;

&lt;p&gt;Start by identifying the offering, because it decides whether you have a lever at all. GitLab Self-Managed and Bitbucket Data Center are tunable; GitLab.com and Bitbucket Cloud are not. Then write down the smallest cap anywhere in your chain, forge and reviewer, and treat that as your real limit rather than the largest one.&lt;/p&gt;

&lt;p&gt;If your pull requests are produced by coding agents, the file count grows faster than the line count, which is the axis these caps are usually set on. Filtering generated files and lock files out of review is the cheapest lever on both sides, since it reduces the number a reviewer counts. Where that is not enough, splitting by concern beats raising limits, because every number in the table above is enforced somewhere you may not control.&lt;/p&gt;

&lt;p&gt;Two related pieces go deeper on the self-managed side: &lt;a href="https://mergerequests.dev/blog/gitlab-self-managed-ai-review-that-follows-your-own-rules/" rel="noopener noreferrer"&gt;which AI review routes actually run on GitLab Self-Managed&lt;/a&gt; and &lt;a href="https://mergerequests.dev/blog/ai-code-review-on-bitbucket-data-center-whats-native-what-isnt/" rel="noopener noreferrer"&gt;what is native on Bitbucket Data Center and what is not&lt;/a&gt;. For the Azure Repos edition split, &lt;a href="https://mergerequests.dev/blog/ai-code-review-on-azure-devops-services-vs-server-per-tool/" rel="noopener noreferrer"&gt;Services versus Server per tool&lt;/a&gt; covers what changes when you are not on the hosted service.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Does a forge's diff limit apply to the API as well as the UI?
&lt;/h3&gt;

&lt;p&gt;On GitLab it does. The documented diff limits apply to the UI and to the API endpoints that return diff information, so a review bot reading the merge request through the API sees the same truncation a human does. That is the detail that makes the limit a review problem rather than only a rendering problem.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I raise the diff limits on GitLab.com?
&lt;/h3&gt;

&lt;p&gt;No. GitLab documents diff limits as configurable on Self-Managed and Dedicated, and not configurable on GitLab.com.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is Bitbucket Cloud's diff limit configurable?
&lt;/h3&gt;

&lt;p&gt;No. Cloud caps a single file at 2,000 changed lines or 102,400 bytes, the whole diff at 8,000 changed lines and 200 files, and none of those values can be changed. Bitbucket Data Center is the edition where an admin can raise the equivalent properties in &lt;code&gt;bitbucket.properties&lt;/code&gt;.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>azuredevops</category>
      <category>bitbucket</category>
      <category>codereview</category>
    </item>
    <item>
      <title>Free AI code review for GitLab, Azure DevOps and Bitbucket</title>
      <dc:creator>Emil Reiter</dc:creator>
      <pubDate>Wed, 14 Oct 2026 00:45:01 +0000</pubDate>
      <link>https://dev.to/emilreiter/free-ai-code-review-for-gitlab-azure-devops-and-bitbucket-5goe</link>
      <guid>https://dev.to/emilreiter/free-ai-code-review-for-gitlab-azure-devops-and-bitbucket-5goe</guid>
      <description>&lt;p&gt;Most free AI code review options assume the code lives on GitHub. On GitLab Self-Managed, Azure DevOps Server or Bitbucket Data Center, the realistic choices are an open-source reviewer you host yourself and pay only for the model calls, or a hosted tool's trial. The free-for-open-source programs that dominate "free code review tools" lists are gated on GitHub and on the repository being public there, which describes very few of the teams still running a self-managed forge.&lt;/p&gt;

&lt;h2&gt;
  
  
  What free means for a self-managed forge
&lt;/h2&gt;

&lt;p&gt;Self-hosted open source is the dependable category. You run the tool, it reads a git diff, and the only external dependency is a model endpoint you already control. That works behind a firewall because nothing outside has to reach into your forge.&lt;/p&gt;

&lt;p&gt;A hosted tool's free tier sits at the other end, and its shape moves. CodeRabbit's &lt;a href="https://www.coderabbit.ai/pricing" rel="noopener noreferrer"&gt;current pricing page&lt;/a&gt; lists Essentials at $24 per developer per month billed annually, Team at $48, Advanced at $72, and a custom Enterprise tier, with a 14-day trial on all of them. No free plan appears on that page, and self-hosting is listed as an Enterprise feature. A recommendation that starts with "it's free" ends, for a GitLab Self-Managed team, on a trial and then on a sales call.&lt;/p&gt;

&lt;p&gt;Forge-native features are the last corner. GitLab's &lt;a href="https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/code_review/" rel="noopener noreferrer"&gt;Code Review Flow page&lt;/a&gt; lists the tier as Free, Premium and Ultimate across GitLab.com, Self-Managed and Dedicated, and notes it can run with self-hosted models; what that costs depends on the Duo entitlement your instance carries, and the &lt;a href="https://mergerequests.dev/blog/gitlab-self-managed-ai-review-that-follows-your-own-rules/" rel="noopener noreferrer"&gt;edition split for AI review on self-managed GitLab&lt;/a&gt; is where the decision actually lands. Azure Repos has no comparable native reviewer on Server, because Copilot code review is documented for Services. Bitbucket's native AI review is Cloud-only, which the &lt;a href="https://mergerequests.dev/blog/ai-code-review-on-bitbucket-data-center-whats-native-what-isnt/" rel="noopener noreferrer"&gt;Bitbucket Data Center breakdown&lt;/a&gt; covers end to end.&lt;/p&gt;

&lt;h2&gt;
  
  
  Self-hosted routes that cover all three forges
&lt;/h2&gt;

&lt;p&gt;Three options are worth putting on the shortlist for a self-managed GitLab, an Azure DevOps Server behind a firewall, or a Bitbucket Data Center: PR-Agent, Alibaba's Open Code Review, and Kodus Community. They differ in how they attach to the forge, which matters more than the feature list when the forge is internal.&lt;/p&gt;

&lt;h2&gt;
  
  
  PR-Agent after the Qodo donation
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/The-PR-Agent/pr-agent" rel="noopener noreferrer"&gt;PR-Agent&lt;/a&gt; is a community-owned project that Qodo donated, and the repo now sits in the PR-Agent org under an MIT license. It is explicitly not Qodo's product for open-source projects, which lives elsewhere, and the README notes the project is in the process of being donated to an open-source foundation.&lt;/p&gt;

&lt;p&gt;The supported-platform matrix on &lt;a href="https://docs.pr-agent.ai/overview/supported_platforms/" rel="noopener noreferrer"&gt;the current PR-Agent docs&lt;/a&gt; lists Describe, Review, Improve, Ask, Add Docs and Help as supported on GitHub, GitLab, Bitbucket, Azure DevOps and Gitea, with CLI and app/webhook deployment available on all five. Gerrit and CodeCommit are registered providers kept out of that main table, and they do not support GitHub-flavored markdown, so &lt;code&gt;/describe&lt;/code&gt; drops the semantic file-type sections there.&lt;/p&gt;

&lt;p&gt;A few rows in that matrix are provider-specific, and they are the ones that decide whether the tool feels native on your forge. The tagging bot is GitHub-only. Several tools run but post their output as a comment instead of applying it where the provider cannot write files. &lt;code&gt;/help_docs&lt;/code&gt; has been disabled since v0.36.1 while a credential-exposure issue is fixed.&lt;/p&gt;

&lt;p&gt;Where a deployment lives is worth reading before you upgrade anything, because the Docker namespace moved. Releases from 0.34.2 are published under &lt;code&gt;pragent/pr-agent&lt;/code&gt;; anything up to and including v0.31 stays at the frozen &lt;code&gt;codiumai/pr-agent&lt;/code&gt; namespace with no new pushes. If a pipeline pins an old image reference, that is the first thing to fix.&lt;/p&gt;

&lt;p&gt;The newer part of PR-Agent is the instructions layer. &lt;a href="https://docs.pr-agent.ai/core-abilities/agent_skills/" rel="noopener noreferrer"&gt;Agent Skills&lt;/a&gt; let you keep a curated set of &lt;code&gt;SKILL.md&lt;/code&gt; files on the host and have their name, description and body injected into &lt;code&gt;/review&lt;/code&gt;, &lt;code&gt;/improve&lt;/code&gt;, &lt;code&gt;/describe&lt;/code&gt; and &lt;code&gt;/ask&lt;/code&gt;. Two constraints are worth knowing before you plan around it. Skills are disabled by default, and &lt;code&gt;skills.paths&lt;/code&gt; can only be set at host level, never from a repository's own &lt;code&gt;.pr_agent.toml&lt;/code&gt;, because a repo that could redirect the filesystem scan could point the tool at files like &lt;code&gt;~/.ssh/*&lt;/code&gt; and pull them into a model prompt. A repo can only opt in or size the token budget. The other constraint is architectural: PR-Agent makes single-shot model calls, so the standard's progressive-disclosure model does not apply, and every enabled skill's text goes into every pull request prompt up to the token cap. Files in &lt;code&gt;scripts/&lt;/code&gt; and &lt;code&gt;assets/&lt;/code&gt; are skipped, so a skill that depends on running a script will not work.&lt;/p&gt;

&lt;p&gt;Deployment detail per forge is where the interesting bits are, and I have separate notes on &lt;a href="https://mergerequests.dev/blog/pr-agent-on-self-managed-gitlab-pipeline-or-webhook/" rel="noopener noreferrer"&gt;running PR-Agent on self-managed GitLab&lt;/a&gt; and on &lt;a href="https://mergerequests.dev/blog/pr-agent-on-azure-devops-pipelines-branch-policies-webhooks/" rel="noopener noreferrer"&gt;PR-Agent on Azure DevOps&lt;/a&gt;, since Azure Repos needs Branch Policies rather than a YAML trigger.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open Code Review
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/alibaba/open-code-review" rel="noopener noreferrer"&gt;Open Code Review&lt;/a&gt; is Alibaba's internal review assistant, released as an Apache-2.0 CLI. Because it operates on a git diff instead of on a forge API, it does not care where the repository is hosted, and it needs Git 2.41 or newer. Install is &lt;code&gt;npm install -g @alibaba-group/open-code-review&lt;/code&gt;, then &lt;code&gt;ocr config provider&lt;/code&gt; and &lt;code&gt;ocr config model&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The command set is broader than a single review pass. &lt;code&gt;ocr review&lt;/code&gt; covers staged, unstaged and untracked changes in the workspace, &lt;code&gt;ocr review --from main --to feature-branch&lt;/code&gt; covers a branch range, &lt;code&gt;ocr scan&lt;/code&gt; reviews whole files with no git history, and &lt;code&gt;ocr delegate&lt;/code&gt; lets a host coding agent perform the review itself, in which case no separate model key is needed.&lt;/p&gt;

&lt;p&gt;The project's headline claim is a precision argument, and the numbers are its own. Its benchmark is built from 50 popular repositories, 200 real pull requests, 10 languages and 1,505 annotated issues cross-validated by more than 80 senior engineers, and the README states that it beats a general-purpose agent on the same underlying model on precision and F1 while using roughly a ninth of the tokens. Recall is deliberately lower. Treat that as a design claim from the project rather than an independent result, and note that the trade-off it describes is real for review tooling: fewer comments that are more often correct reads better in a busy pull request than broad coverage with a long tail of noise.&lt;/p&gt;

&lt;h2&gt;
  
  
  Kodus Community
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.kodus.io/en/how_to_use/pricing.md" rel="noopener noreferrer"&gt;Kodus&lt;/a&gt; publishes a free Community tier that runs self-hosted or on their cloud, with reviews unlimited on every plan because the model calls run on your own provider key. That combination is what makes it relevant here: free, self-hostable, and not gated on the repository being public on GitHub.&lt;/p&gt;

&lt;p&gt;Two limits shape whether it fits. Community allows up to 10 Kody Rules and 3 plugins, and a self-hosted instance running without a valid license evaluates at most 10 rules per review, oldest first, so an instance with a larger rule library will silently stop firing rules past that point. The &lt;a href="https://docs.kodus.io/en/how_to_use/code_review/configs/rules_file_detection.md" rel="noopener noreferrer"&gt;rules file detection&lt;/a&gt; list is long for a tool at this stage: &lt;code&gt;AGENTS.md&lt;/code&gt; and its dotfile variants, &lt;code&gt;.cursorrules&lt;/code&gt; and &lt;code&gt;.cursor/rules/**/*.mdc&lt;/code&gt;, &lt;code&gt;.github/copilot-instructions.md&lt;/code&gt; and &lt;code&gt;.github/instructions/**/*.instructions.md&lt;/code&gt;, &lt;code&gt;CLAUDE.md&lt;/code&gt;, &lt;code&gt;.windsurfrules&lt;/code&gt;, &lt;code&gt;.aider.conf.yml&lt;/code&gt;, &lt;code&gt;.sourcegraph/**/*.rule.md&lt;/code&gt;, plus a generic &lt;code&gt;docs/coding-standards/**&lt;/code&gt; pattern. Matching is case-insensitive, nested files are discovered and scoped to their directory, and &lt;code&gt;@file&lt;/code&gt; references inside a rule file are followed one level deep. Files that match the repository-rules template are imported verbatim without an LLM rewriting them, which is the difference between your standards surviving import and being paraphrased.&lt;/p&gt;

&lt;p&gt;Connecting it to a self-managed forge is where the free tier gets plainer. The quickstart documents OAuth (recommended) or token for GitHub and GitLab, and token only for Bitbucket and Azure DevOps, with no OAuth path for either. Internal GitLab, Bitbucket Data Center and Azure DevOps Server instances connect by allowlisting a fixed IP. On the licensing point, the repository is public and tagged open source, but GitHub's API reports the license as "Other" rather than an OSI identifier, so if an approved license matters to procurement, read the license file rather than the tag.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hosted free tiers, measured against self-managed editions
&lt;/h2&gt;

&lt;p&gt;CodeRabbit and Qodo are the two hosted tools most often recommended to teams asking this question, and neither free path is shaped for a self-managed forge. CodeRabbit's pricing page carries no free plan, only the 14-day trial, and separately lists per-developer hourly review limits that rise by tier, with usage-based reviews at $0.25 per reviewed file past the included allowance. Qodo's free offering for open-source projects is described on the PR-Agent README as a distinct product from the open-source agent, and it is aimed at public projects.&lt;/p&gt;

&lt;p&gt;For the on-prem side of both vendors, what they document differs by forge and edition, and the &lt;a href="https://mergerequests.dev/blog/self-hosted-ai-code-review-coderabbit-and-qodo-per-their-docs/" rel="noopener noreferrer"&gt;per-docs comparison of CodeRabbit and Qodo for self-hosted deployments&lt;/a&gt; is where that belongs. The short version for this page is that self-managed coverage is an enterprise arrangement in both cases, which is exactly why the free routes above exist.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free AI code review routes compared
&lt;/h2&gt;

&lt;p&gt;Self-hosted and free routes:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Route&lt;/th&gt;
&lt;th&gt;Cost model&lt;/th&gt;
&lt;th&gt;How it attaches to the forge&lt;/th&gt;
&lt;th&gt;Own model endpoint&lt;/th&gt;
&lt;th&gt;Limit that changes a rollout&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;PR-Agent&lt;/td&gt;
&lt;td&gt;MIT, community-owned&lt;/td&gt;
&lt;td&gt;CLI, Docker, webhook/app; GitHub, GitLab, Bitbucket, Azure DevOps, Gitea&lt;/td&gt;
&lt;td&gt;Yes, via LiteLLM (Azure OpenAI, Bedrock, Ollama)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;/help_docs&lt;/code&gt; disabled since v0.36.1; skills are text-only and loaded into every prompt&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Open Code Review&lt;/td&gt;
&lt;td&gt;Apache-2.0&lt;/td&gt;
&lt;td&gt;CLI on a git diff, no forge integration&lt;/td&gt;
&lt;td&gt;Yes, or delegate to a host agent&lt;/td&gt;
&lt;td&gt;Requires Git 2.41; benchmark is the project's own&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kodus Community&lt;/td&gt;
&lt;td&gt;Free tier, self-hosted or cloud&lt;/td&gt;
&lt;td&gt;PR bot; token-only connect for Bitbucket and Azure DevOps&lt;/td&gt;
&lt;td&gt;Yes, BYOK&lt;/td&gt;
&lt;td&gt;10 Kody Rules and 3 plugins; unlicensed self-hosted evaluates 10 rules per review&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Hosted tiers with a free entry point:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Free option as documented&lt;/th&gt;
&lt;th&gt;Self-managed editions&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit&lt;/td&gt;
&lt;td&gt;14-day trial; no free plan listed on the pricing page&lt;/td&gt;
&lt;td&gt;Self-hosting listed as an Enterprise feature&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qodo&lt;/td&gt;
&lt;td&gt;Free version for open-source projects&lt;/td&gt;
&lt;td&gt;Documented separately per forge and target; not stated on the pricing page&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Picking one for a self-managed forge
&lt;/h2&gt;

&lt;p&gt;If the constraint is that no third party reaches into the forge, the decision is between two shapes of tool rather than three products. PR-Agent and Open Code Review both run as a CLI or webhook with a model endpoint you already have, and the difference is in the review model. PR-Agent reviews through the forge, which is why it has per-provider docs, comment commands and, on some providers, tools that can only post a comment rather than apply a change. Open Code Review reviews a diff, which is why it works anywhere and why it has no comment commands or PR descriptions at all. Choose PR-Agent if you want the reviewer to behave like a native bot in merge requests, and Open Code Review if you want a precision-biased pass over changes and whole files from a pipeline.&lt;/p&gt;

&lt;p&gt;Kodus Community is the option to look at when the reason you want a reviewer is your own written standards. Its rule import covers more of the instruction-file formats teams have already checked into repositories than the alternatives here, and per-directory scoping is built into detection, which matters in a monorepo. The trade-off is the ceiling on Community: 10 Kody Rules and 3 plugins, with the unlicensed self-hosted rule cap on top, so a team with a large standards library is choosing between paying for a licence and pruning rules.&lt;/p&gt;

&lt;p&gt;Whatever you pick, check the vendor or project page for your edition before you commit to it, because edition support and free-tier scope drift faster than the rest of the documentation. The Docker namespace change in PR-Agent and the absence of a free plan in CodeRabbit's current lineup are both recent examples of the same thing: a "free" answer that was true last year and is not true in your upgrade path.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>azuredevops</category>
      <category>bitbucket</category>
      <category>codereview</category>
    </item>
  </channel>
</rss>
