Chiosa
Software & Code

A framework shows where AI infrastructure changes slow merges

Co-Modifying Application Code and Deployment Infrastructure: A Causal Study of AI Agent Pull Requests · arXiv:2610.12849

3 min
Updated

In plain words

The paper introduces a reusable way to study pull requests that change application code and deployment setup together. It labels files by what they do, then compares these “dual-scope” requests with similar requests that change application files only.

In one repository dataset, the combined changes took 16.60 hours to merge at the median, versus 3.47 hours for matched controls. A second dataset did not show a significant delay, so the result is not universal.

The research

When an AI agent changes both application code and deployment setup, a passing local test does not tell us whether the contribution will move smoothly through a shared repository.

It remains unclear whether the extra infrastructure change creates integration friction, and whether human maintainers inspect agent-authored work consistently.

The researchers classify file roles and match comparable pull requests to measure how co-changing application code and infrastructure affects merge time and human review.

Researchers classified every modified file with ordered rules, then matched dual-scope and application-only pull requests within the same agent architecture, repository type, test-file status, language ecosystem, and similar application-file volume.

This reduces measured differences caused by work size or context, though it cannot remove unobserved intent or prompting variation.

In AIDev v5, dual-scope requests had a 16.60-hour median merge latency versus 3.47 hours for controls, and the model estimated 3.237 times the control's total merge time. The MOSAIC-3M comparison showed no significant delay, linking the answer to the repository cohort and its integration process.

The comparison is observational and covers pull requests authored from June 1 through July 31, 2025, in mature repositories with more than 100 stars; evaluated requests had to have a terminal merge timestamp by August 31, 2025.

Abandoned requests are unseen, and matching excludes extreme file-volume cases, so the latency estimates are conservative lower bounds for typical matched work rather than a universal causal effect.

What the evidence shows

  • Question and contribution

    The paper contributes a reusable empirical framework for studying how AI agents modify application code and deployment infrastructure in live collaborative repositories. It asks whether evaluations that stop at local code generation miss the time and oversight consequences of integrating both kinds of change.

    The central comparison is between dual-scope pull requests and application-only pull requests under comparable repository conditions.

  • Classifying work by files

    Researchers classify modified files with ordered, deterministic rules instead of subjective task labels. They identify infrastructure manifests, tests, context-dependent infrastructure, application files, and maintenance files, then aggregate those labels to each pull request.

    Dual-scope work is uncommon: it accounts for 4.48% of AIDev v5 agent pull requests and 4.55% of agent-authored MOSAIC-3M pull requests, while pure maintenance is more common in both cohorts.

  • Measuring comparable integration

    To make the main comparison more informative, the researchers match dual-scope requests to application-only requests within the same agent architecture, repository archetype, test-file inclusion, and language ecosystem, while keeping application-file volume close.

    This design reduces differences caused by the size and context of the work. It still leaves observational uncertainty because developer intent and prompting variation are not fully visible in repository data.

  • A large-cohort delay

    In the AIDev v5 matched cohort, dual-scope requests took a median 16.60 hours to merge, compared with 3.47 hours for application-only controls. The researchers estimate that continuous-integration and deployment workflow changes and system-provisioning changes were the strongest modeled infrastructure bottlenecks.

    The same global comparison in MOSAIC-3M found no significant latency penalty, so the result depends on the cohort and integration process.

  • Oversight varies by setting

    Human oversight also varies by setting. AIDev v5 showed more formal review and fewer silent merges, meaning pull requests that merge with exactly zero external human comments and zero external review iterations, when infrastructure was included, while MOSAIC-3M showed less formal review and more silent merges.

    Even among external contributors without repository write access, agent-authored requests were reviewed less often than human-authored requests. These results support concern about inconsistent governance, not a single universal review effect.

Deep

Next paperSimilar coding skills can hide the behavior users installed