When Should Dependency Updates Invoke Repair Agents? A Lightweight Routing Study
Abstract
Dependency-update pull requests are frequent and mostly routine, but a small subset requires non-trivial compatibility repair. Recent repository-level coding agents make such repair increasingly plausible, yet invoking them on every dependency update wastes model calls, CI time, repository context, and review attention. We frame this as a pre-agent routing problem: deciding which dependency-update pull requests should be escalated before downstream diagnosis or repair attempts. We introduce DepFixRouter, a lightweight router that ranks dependency updates by historical compatibility-repair likelihood using creation-time textual and metadata signals. On 497 labeled GitHub dependency-update candidates, only 72 require substantive repair. A creation-time-safe LinearSVC using only PR titles and bot/dependency flags reaches 0.488 repair F1 and captures 51.4% of repairs within the top 20% routed pull requests, improving calls per captured repair from 6.90 under route-all or random policies to 2.68. Retrospective full-history signals improve top-20% recall to 65.3%, revealing substantial hindsight leakage in pull-request histories rather than deployment-time routing utility. In a 60-case diagnosis-agent pilot, router-gated diagnosis reduces actual LLM calls by 66.7% and tokens by 66.1%, suggesting budgetaware escalation while measuring diagnosis rather than patch generation. DepFixRouter can serve as a lightweight escalation layer between routine dependency-update automation and expensive repository-level agents, enabling budget-aware maintenance without relying on retrospective repair evidence for deployment-time routing.
Create a lesson
Related papers
Context Clash: Prevalence and Limits of Lightweight Detectors for Cross-Tool Coding-Agent Instruction Conflicts
Shared title terminologycs.SEAditi Patodiya
Repairing Model Context Protocol Software: Fix Patterns, Benchmark, and Agent Evaluation
Shared title terminologycs.SEMina Taraghi, Mohammad Mehdi Morovati, Foutse Khomh
SCOPE-DT: Dependency-Aware Authority Containment and Recovery for Agentic Digital Twins
Shared title terminologycs.SEJoyjit Roy
From Approval to Execution: Reconstruction-Aware Repair Analysis for LLM-Agent Software
Shared title terminologycs.SEJunchi Zhu, Zhenguang Liu, Shaojing Fan et al.
Separate What from How: Repairing Static Analyzer Summaries with a Typed Repair IR
Shared title terminologycs.SEJinbao Chen, Zixiang Zhou, Yu Zhang
Horizontal Models, Vertical Systems: A Position on Where Domain Knowledge Belongs in Enterprise Agents
Shared title terminologycs.SELuciano Lucindo Chaves