Reinforcement Learning for Dynamic Workflow Optimization in CI/CD Pipelines

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Soni, Aniket Abhishek, Parikh, Milan, Dhenia, Rashi Nimesh Kumar, Soni, Jubin Abhishek, Jha, Ayush Raj, Shah, Sneja Mitinbhai
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911381870084096
author Soni, Aniket Abhishek
Parikh, Milan
Dhenia, Rashi Nimesh Kumar
Soni, Jubin Abhishek
Jha, Ayush Raj
Shah, Sneja Mitinbhai
author_facet Soni, Aniket Abhishek
Parikh, Milan
Dhenia, Rashi Nimesh Kumar
Soni, Jubin Abhishek
Jha, Ayush Raj
Shah, Sneja Mitinbhai
contents Continuous Integration and Continuous Deployment (CI/CD) pipelines are central to modern software delivery, yet their static workflows often introduce inefficiencies as systems scale. This paper proposes a reinforcement learning (RL) based approach to dynamically optimize CI/CD pipeline workflows. The pipeline is modeled as a Markov Decision Process, and an RL agent is trained to make runtime decisions such as selecting full, partial, or no test execution in order to maximize throughput while minimizing testing overhead. A configurable CI/CD simulation environment is developed to evaluate the approach across build, test, and deploy stages. Experimental results show that the RL optimized pipeline achieves up to a 30 percent improvement in throughput and approximately a 25 percent reduction in test execution time compared to static baselines, while maintaining a defect miss rate below 5 percent. The agent learns to selectively skip or abbreviate tests for low risk commits, accelerating feedback cycles without significantly increasing failure risk. These results demonstrate the potential of reinforcement learning to enable adaptive and intelligent DevOps workflows, providing a practical pathway toward more efficient, resilient, and sustainable CI/CD automation.
format Preprint
id arxiv_https___arxiv_org_abs_2601_11647
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Reinforcement Learning for Dynamic Workflow Optimization in CI/CD Pipelines
Soni, Aniket Abhishek
Parikh, Milan
Dhenia, Rashi Nimesh Kumar
Soni, Jubin Abhishek
Jha, Ayush Raj
Shah, Sneja Mitinbhai
Software Engineering
Artificial Intelligence
Machine Learning
D.2.8; I.2.6; D.2.2
Continuous Integration and Continuous Deployment (CI/CD) pipelines are central to modern software delivery, yet their static workflows often introduce inefficiencies as systems scale. This paper proposes a reinforcement learning (RL) based approach to dynamically optimize CI/CD pipeline workflows. The pipeline is modeled as a Markov Decision Process, and an RL agent is trained to make runtime decisions such as selecting full, partial, or no test execution in order to maximize throughput while minimizing testing overhead. A configurable CI/CD simulation environment is developed to evaluate the approach across build, test, and deploy stages. Experimental results show that the RL optimized pipeline achieves up to a 30 percent improvement in throughput and approximately a 25 percent reduction in test execution time compared to static baselines, while maintaining a defect miss rate below 5 percent. The agent learns to selectively skip or abbreviate tests for low risk commits, accelerating feedback cycles without significantly increasing failure risk. These results demonstrate the potential of reinforcement learning to enable adaptive and intelligent DevOps workflows, providing a practical pathway toward more efficient, resilient, and sustainable CI/CD automation.
title Reinforcement Learning for Dynamic Workflow Optimization in CI/CD Pipelines
topic Software Engineering
Artificial Intelligence
Machine Learning
D.2.8; I.2.6; D.2.2
url https://arxiv.org/abs/2601.11647