arXiv:2611.06099cs.SENov 2026

Manuscript Offprint

arXiv:2611.06099

SWEOps-Bench: Evaluating Agents for End-to-End Resolution of Software-Induced Cloud Incidents

Danwen Chen, Guangba Yu, Pengfei Chen

DANWEN CHEN, Sun Yat-sen University, China

GUANGBA YU, The Chinese University of Hong Kong, China

PENGFEI CHEN, Sun Yat-sen University, China

As autonomous agents advance, the traditional boundary between software development and cloud operations gradually blurs, increasing the need for integrated incident detection, localization, and remediation. Existing benchmarks evaluate isolated diagnostic queries or repository-level program repair, failing to test continuous incident resolution across operational clusters and source repositories. We introduce SWEOps-Bench, an interactive benchmark comprising 55 reproducible incident tasks derived from confirmed historical defects across 16 Kubernetes operator projects. Each task preserves the original software repository and initializes in a healthy cluster before a controlled workload triggers the historical fault. Agents investigate runtime evidence and submit source or configuration repairs through a terminal interface, while the harness builds and deploys the changes within a shared time budget.

Evaluation covers stage-wise accuracy, verified recovery, penalized lifecycle latency, and token consumption. Across six agent-model configurations, faulty-state detection ranges from 72.7% to 90.9%, whereas overall recovery ranges from only 14.5% to 52.7%, exposing a substantial gap between recognizing incidents and resolving them end to end. Trajectory analysis further shows that reported diagnosis and final recovery only partially coincide: some tasks achieve verified recovery despite an incorrect reported RCA, while runtime symptom clearance can still fail fix-specific functional verification. SWEOps-Bench establishes a rigorous foundation for evaluating autonomous agents in integrated development and operational environments.

CCS Concepts: • Software and its engineering → Software testing and debugging; Cloud computing; • Computing methodologies → Intelligent agents.

Additional Key Words and Phrases: Cloud incident resolution, LLM-based agents, root cause analysis, automated remediation, agent benchmarking

1 Introduction

Modern cloud systems underpin critical digital services, and incidents can disrupt service availability and impose substantial operational costs [5, 9, 43]. When incidents originate from software defects, resolving them requires both operational investigation and changes to the underlying implementation. LLM-based agents that inspect running systems and modify source code create an opportunity to integrate development and operations within a continuous incident-resolution workflow. Kubernetes operators provide a representative setting for this integration, where software defects directly impair managed cloud workloads [10, 11]. This resolution lifecycle couples runtime anomaly detection, root cause analysis (RCA), and remediation. A central question is whether autonomous agents can resolve software-induced cloud incidents end to end within practical time.

To illustrate this integrated resolution process, Figure 1 depicts a Redis operator incident caused by missing TLS client certificate arguments [27]. When Redis requires client certificates, the operator repeatedly fails cluster health checks, preventing the RedisCluster resource from reaching the Ready state despite healthy server Pods. During detection, the agent inspects runtime cluster observations to identify this operational stall. During root-cause analysis, it combines operator logs with client probes to trace the TLS authentication failure to missing --cert and --key arguments in redis-cli invocations. During remediation, the agent modifies the controller implementation, while the harness builds and deploys the repair and returns runtime feedback. Recovery is then

Authors' Contact Information: Danwen Chen, Sun Yat-sen University, Guangzhou, China, chendw9@mail2.sysu.edu.cn; Guangba Yu, The Chinese University of Hong Kong, Hong Kong, China, guangbayu@cuhk.edu.hk; Pengfei Chen, Sun Yat-sen University, Guangzhou, China, chenpf7@mail.sysu.edu.cn.

Figure

Fig. 1. An example incident resolution lifecycle, spanning Time to Detect (TTD), Time to Identify (TTI), and Time to Remediate (TTRem) toward the overall Time to Resolve (TTR).

verified through fault clearance and functional checks. This case underscores that resolving realistic cloud incidents requires traversing the complete lifecycle rather than inspecting code or telemetry in isolation.

Existing benchmarks evaluate isolated segments of the incident resolution lifecycle, as summarized in Table 1. Cloud operations benchmarks evaluate anomaly detection and operational mitigation, predominantly relying on synthetic fault injection in microservices [6, 14, 29, 32, 37]. However, they do not require agents to repair historical software defects in their original repositories or validate deployed recovery. Conversely, software engineering benchmarks evaluate program repair from static issue descriptions against offline test suites [15, 16, 39]. These protocols omit runtime incident discovery in live clusters and operational recovery verification. Consequently, existing benchmarks leave open whether autonomous agents can navigate the complete incident resolution lifecycle to achieve verified recovery.

Addressing these limitations requires an evaluation setting grounded in confirmed historical defects and live operational execution. Reproducing incidents within their original repositories preserves authentic failure modes, triggering conditions, and native build workflows. In real-world cloud environments, resolution efficiency is paramount: delayed anomaly detection and failed repair attempts directly prolong service disruptions [9, 18]. Evaluation must therefore treat time not merely as an operational timeout, but as an intrinsic performance objective across the lifecycle [3, 24]. This requires assessing verified recovery alongside the operational latency (e.g., Time to Identify (TTI) and Time to Resolve (TTR)) and resource expenditures necessary to achieve it.

To realize these requirements, we introduce SWEOps-Bench, an interactive benchmark for evaluating agents on end-to-end resolution of software-induced cloud incidents. SWEOps-Bench contains 55 incident tasks reproduced from confirmed historical defects in 16 open-source Kubernetes operator projects managing databases, stream processors, and infrastructure services. Each task initializes in a healthy cluster environment to evaluate false-positive resistance before an automated trigger induces the target incident. Agents interact with the live cluster and source repository through a bash terminal, while the benchmark harness builds and deploys candidate repairs to return runtime execution feedback. Across this lifecycle, SWEOps-Bench evaluates both the effectiveness and efficiency of autonomous agents in achieving verified recovery.

We evaluate terminal-based agent harnesses, including Codex and Claude Code, across four recent proprietary and open-weight models spanning GPT-5.6 Luna, Claude-Sonnet-5, DeepSeek-V4.1-Flash, and GLM-5.3-Flash. Our evaluation characterizes incident resolution effectiveness alongside lifecycle latency and token consumption, revealing three central empirical findings. First, end-to-end resolution remains substantially harder than incident recognition: faulty-state detection ranges from 72.7% to 90.9%, while overall recovery ranges from 14.5% to 52.7% across the evaluated configurations. Second, relative advantages shift across lifecycle stages and agent-model configurations, and substantially greater token consumption does not consistently translate into higher recovery. Third, diagnosis and remediation are only partially aligned: for the two representative configurations examined at the trajectory level, 14.5%-21.8% of tasks achieve verified recovery despite an incorrect reported joint RCA, while runtime symptom clearance can still violate fix-specific functional requirements.

Our principal contributions are summarized as follows:

  • Realistic Benchmark. We construct SWEOps-Bench with 55 incident tasks derived from confirmed historical defects in 16 open-source projects. Each task preserves the original repository context and reproduces the failure in an isolated cluster environment.
  • Evaluation Framework. We formulate end-to-end incident resolution as an interactive task spanning runtime detection, source code-level diagnosis, and deployed source repair. The framework combines curated ground truth with executable recovery checks to evaluate resolution effectiveness and efficiency.
  • Empirical study. We evaluate frontier terminal-based agent harnesses and models on SWEOps-Bench, characterizing resolution capabilities, stage bottlenecks, and resource expenditures.

References (17)