AI Engineer World's Fair 2026
AI Writes More PRs. Who Validates Them? — Ali-Reza Adl-Tabatabai, Sonar
Loading slides…
Read the talk
AI Writes More PRs. Who Validates Them?
Ali-Reza Adl-Tabatabai explains how Gitar automates the path from code review and CI failures to a green pull request—and why workflow orchestration, gradual trust and program analysis matter as much as the agent.
From a talk by Ali-Reza Adl-Tabatabai
At a glance
Ideas worth remembering
AI-generated PR volume moves work into CI and review, where failures can add hours or days of coordination and delay.
Agentic validation connects review and CI diagnosis to retries, repairs and a loop toward a green PR. Team-defined conditions govern automatic approval and merge.
The observed adoption path grants capability gradually: review first, then blocking, autofix and rule-controlled merging.
A validation-specific harness lets Gitar optimize token cost, precision and coverage, while orchestration and model routing remain separate responsibilities.
Combining agents with SonarQube program analysis is the proposed next step toward better precision and coverage; the talk presents the direction without a comparative evaluation.
Faster code generation leaves validation on the critical path
A pull request can be quick to write and slow to land. CI and code review sit between a proposed change and production, enforcing security, compliance and code-quality checks. Ali-Reza Adl-Tabatabai, a Gitar founder and former CEO, opens with this centralized validation phase. Gitar had recently become part of Sonar, and its focus was the work required to verify code before shipping it.
Validation gets harder as an engineering organization grows. Builds and tasks run longer; reviewers work asynchronously across sites and time zones; more tools need integration; infrastructure costs rise. The platform team inherits a system whose speed affects every developer’s ability to get changes into production.
A failure adds an “outer loop” measured in hours and days: the change needs another round of attention and validation before it can proceed. The cost includes developer time and the interruption of work already underway. Improving that loop is difficult because the underlying system consists of fragmented tools connected through bespoke configuration and scripts, often maintained by a constrained platform team. Automating it requires coordination across asynchronous workflows and integrations, beyond interpreting a single error message.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
More and bigger PRs move the cost downstream
AI increases both the number and size of pull requests, each of which can contain defects. That moves development costs downstream: more code requires review, and missed defects can become production failures. Careful manual review slows delivery; rubber-stamping preserves movement while increasing the risk of incidents. Either outcome can erode the productivity and developer satisfaction that faster code generation was supposed to improve.
“Of course, it’s more AI” is Adl-Tabatabai’s answer to this bottleneck. Gitar applies an agent to validation, with a concrete target: deliver a green PR ready to merge, or carry it through an automatic merge. That target makes workflow completion central to the product. Finding an issue is only the beginning of the work.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Review findings and CI failures feed a repair loop
The first step is familiar: creating a PR triggers review, and the agent posts issues and inline comments. Gitar’s design goal is to keep that experience quiet enough to be useful, through both its interface and its selection of findings that matter. Teams can supply their own review rules, custom checks and workflow automations. They can also make unresolved findings block merging, turning a comment into an enforced quality gate.
CI analysis adds another source of feedback. The agent summarizes the root causes of failures and identifies flaky tests. A team can configure automatic retries for those tests. This distinguishes two responses to a failed check: retry a task believed to be flaky, or repair an issue identified in the code or CI workflow. The usefulness of the distinction depends on correctly recognizing the failure.
Consider the flaky-test example as a walkthrough of the configured behavior. A PR has a failing CI check. The agent analyzes the failure and, if it identifies a flaky test covered by a retry rule, retries that test. If unresolved review findings or CI failures remain, the autofix capability can address them; the team can request a specific fix or enable a loop that continues until the PR is green. A green PR can then receive automatic approval and merge when the team’s conditions permit it. The observable change is from a PR waiting on failures to one eligible to land, with diagnosis, retry, repair and approval doing different jobs along the way.
Where does the loop continue, and where does it stop? The diagram separates validation feedback from the final merge decision. Remaining issues send the PR back through repair and validation; reaching green makes it a candidate for rule-controlled approval and merge. Passing checks is therefore one condition in the workflow, rather than an unconditional instruction to ship.
From validation feedback to a rule-controlled merge
Read the diagram as text
- Created PR. The proposed change enters validation.
- Review and CI analysis. Post review findings and summarize CI failure causes.
- Resolve failures. Retry identified flaky tests under rules or autofix outstanding issues.
- Green PR. The repair loop has resolved the issues required for readiness.
- Approve and merge. Automatic action depends on the team’s rules and conditions.
- Created PR → Review and CI analysis: Start review.
- Review and CI analysis → Resolve failures: Outstanding findings or failures.
- Resolve failures → Review and CI analysis: Continue the validation loop.
- Review and CI analysis → Green PR: Issues resolved.
- Green PR → Approve and merge: Configured conditions permit.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Trust grows from comments to permission to merge
Gitar’s users do not necessarily enable the whole workflow at once. Adl-Tabatabai describes a progression that starts with reading reviews and judging whether the findings are accurate and important. Once those reviews earn trust, teams let the agent block PRs. They then use autofix to resolve review findings and CI failures. The larger leap is allowing the agent to approve and merge under explicit rules.
Each step changes the agent’s effect on delivery. Comments advise; blocking prevents a change from landing; autofix changes the PR; approval and merge complete the workflow. This progression lets teams build confidence before granting the next capability. The additional value comes from removing more of the human coordination between those steps.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Processing every PR also reveals recurring work
The same system that works on individual PRs can categorize activity across them. Two audiences get different views:
- Platform teams: recurring CI failures. Failure categories distinguish flakiness, infrastructure problems and other causes. That helps teams decide whether to improve task reliability or address the infrastructure behind the checks.
- Engineering leaders: the mix of landed PRs. Categories such as feature development, issue fixes, chores and refactors describe what kinds of changes the team is shipping.
These views answer different questions. CI categories help locate recurring obstacles in validation; PR categories describe the composition of engineering activity. Their value comes from aggregating information that would otherwise remain scattered across individual reviews and failures.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
The runtime is built around validation economics
Gitar separates three responsibilities under the hood:
- Control plane. An orchestration layer handles PR workflows.
- Custom agent harness. The runtime handles multi-agent execution, context and memory management, tool calls and integrations.
- LLM proxy. A separate component routes requests across models and handles failover.
The custom harness is an explicit product decision. Owning the runtime lets Gitar optimize token cost, precision and coverage for validation. Those concerns pull in different directions: the system needs to find relevant issues without flooding reviews, while controlling the cost of the work needed to reach a result. Adl-Tabatabai connects these optimizations to offering outcomes at a fixed price per PR; the recording does not specify the price or the terms of the outcome guarantee.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Agents and program analysis contribute different capabilities
The technical ending turns to Gitar’s integration with SonarQube. The proposed combination brings the agentic validation workflow together with taint analysis, control-flow analysis, data-flow analysis and software composition analysis. These are algorithmic ways to examine code and its dependencies, alongside the agent’s ability to review, explain failures, make repairs and coordinate the PR workflow.
The integration aims to improve precision and coverage at an attractive cost. Adl-Tabatabai presents the combination as an opportunity and expects it to outperform either approach alone; he does not detail how analysis findings enter the agent or provide a comparative evaluation. The useful design direction is nevertheless clear: combine specialized code analysis with a system that can act on validation feedback through to merge.
The reported benefits span better code quality and security, faster delivery, less review work, improved developer sentiment and more useful tools for platform teams. These are qualitative product observations in the recording, rather than measured effect sizes. The causal ambition is to reduce waiting and grunt work while giving teams more confidence in the changes they ship.
The closing requirement is to keep validation moving at the rate AI can generate code. Gitar’s answer extends from the created PR through review, failure analysis, repair and controlled merge. Program analysis supplies another way to examine that code. Together, the workflow and the analyses aim to make verification scale with production of changes, rather than leave developers accumulating an ever-larger queue of code to inspect.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Resources
Related talks
- Beating RL With Reflection: GEPA and Optimize Anything
Explores how execution traces and evaluator feedback can improve agent programs and harnesses, complementing this talk’s focus on validation runtimes.
Full transcript
Loading transcript…