How adarsh-dev001/self-healing-demo works
This repository describes a self-healing CI/CD product: a failed GitHub Actions run initiates Kestra recovery, followed by root-cause analysis, code repair, PR creation, and validation. The flow files and the calculator implementation are represented; the sampled source contains only the calculator, so internal calls within the recovery flows cannot be verified. Workflow relationships below rely on the README’s architecture description, not inspected flow contents.
Main entry points: 01-failure-intake-rca.yaml Failure Intake and RCA · 02-cline-code-fixer.yaml Code Fixer · 03-automated-pr-creator.yaml PR Creator · 04-auto-merge-validator.yaml Auto-Merge Validator
Components 8
Failure Detection
- GitHub Actions
.github/workflows/ci.yml
Recovery Orchestration
- Failure Intake and RCA
kestra/flows/01-failure-intake-rca.yaml
Automated Repair
- Code Fixer
kestra/flows/02-cline-code-fixer.yaml - PR Creator
kestra/flows/03-automated-pr-creator.yaml
Fix Validation
- Auto-Merge Validator
kestra/flows/04-auto-merge-validator.yaml
Other components
- Gemini Analysis
- CodeRabbit
- Calculator
src/calc.py
Connections 6
- GitHub Actions → Failure Intake and RCA: triggers recovery
README.md - Failure Intake and RCA → Gemini Analysis: analyzes failures
README.md - Failure Intake and RCA → Code Fixer: passes RCA
README.md - Code Fixer → PR Creator: creates fix
README.md - PR Creator → Auto-Merge Validator: submits fix
README.md - Auto-Merge Validator → CodeRabbit: reviews fix
README.md