Self-Healing CI/CD Pipelines with Feedback-Loop Automation: Building Fault-Tolerant CI/CD Systems Using Anomaly Detection and Automated Rollback Logic
Keywords:
autonomous, CI/CD, MTTR, resilience, comprehensiveAbstract
Modern continuous integration and delivery (CI/CD) pipelines are crucial for rapid software releases, yet they risk introducing failures into production. This paper presents a comprehensive study of self-healing CI/CD pipelines that incorporate feedback-loop automation to achieve fault tolerance. We detail an architecture that integrates real-time anomaly detection (including machine learning-based techniques) and automated rollback mechanisms into popular CI/CD platforms (e.g. TeamCity, GitHub Actions, Jenkins). The goal is to minimize production downtime and human intervention by enabling the pipeline to detect issues and revert to stable states autonomously. Grounded in large-scale industry deployments, our approach leverages continuous monitoring and intelligent decision-making to reduce mean time to recovery (MTTR) and improve reliability. We implement the system in a prototype and evaluate it with experiments simulating deployment anomalies. Results show significantly faster failure detection and recovery. MTTR improved by over 50% as well as high anomaly detection accuracy and efficient rollbacks. We discuss design trade-offs, such as balancing false positives in detection versus safety, and highlight how feedback loops can continuously improve pipeline resilience. The findings demonstrate that self-healing CI/CD pipelines can substantially enhance scalability and reliability of software delivery while minimizing manual oversight, paving the way for more autonomous DevOps processes.
Downloads
References
Atzberger D (2023) Detecting Outliers in CI/CD Pipeline Logs using LDA, ENASE 2023 - NLP approach for log anomaly detection
Capizzi A (2020) Anomaly Detection in DevOps Toolchain, SEAA - Staging environment anomaly detection to prevent production issues
Fawzy AH (2023) Framework for automatic detection of anomalies in DevOps. King
Saud Univ 2023 - Achieved 96% detection accuracy with ML
Gerber D (2024) Unsupervised Anomaly Detection in Continuous Integration Pipelines, ENASE 2024 - ML-based detection of performance issues in CI
Hrusto A (2022) Optimization of anomaly detection in a microservice system through continuous feedback. IEEE/ACM Workshop
Harness, Io (2023) Continuous Delivery Platform, 2023 - Features AI/ML engine for continuous verification and automatic rollback
(2023) Boosting CI/CD Effectiveness with RedHat and Coralogix, On using Tekton pipelines with feedback loops and automatic rollbacks
(2023) New Relic, GitHub Actions Deployment Protection Rules with AIOps, Anomaly detection gates to prevent bad deployments
Tech BN (2018) Automated Canary Analysis at Netflix with Kayenta, 2018 Describes Netflix’s canary and rollback process
Emily D (2023). Transforming CI/CD deployment pipelines with emerging AI techniques
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All papers should be submitted electronically. All submitted manuscripts must be original work that is not under submission at another journal or under consideration for publication in another form, such as a monograph or chapter of a book. Authors of submitted papers are obligated not to submit their paper for publication elsewhere until an editorial decision is rendered on their submission. Further, authors of accepted papers are prohibited from publishing the results in other publications that appear before the paper is published in the Journal unless they receive approval for doing so from the Editor-In-Chief.
IJISAE open access articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. This license lets the audience to give appropriate credit, provide a link to the license, and indicate if changes were made and if they remix, transform, or build upon the material, they must distribute contributions under the same license as the original.