Self-Healing CI - Here is how it works

Author profile pic
Juri Strumpflohner
Published

Blog post: https://bit.ly/467P247

Nx Cloud just shipped self-healing CI, which is a game-changer for developer productivity. It detects failed CI runs, analyzes the errors, creates fixes, validates them, and even applies them directly to your PR once you approve it.

In this video, I walk through the complete workflow: from pushing a broken PR to having AI automatically fix it without leaving your editor. The integration works seamlessly with VS Code, Cursor, and IntelliJ through the Nx Console extension.

🔧 What you’ll learn:

  • How self-healing CI works end-to-end
  • Setting up Nx Cloud with AI features enabled
  • Configuring your CI pipeline for automatic fixes
  • Using Nx Console for real-time CI notifications

This is an early release, so your feedback is crucial as we continue improving the feature. Try it out and let me know what works (and what doesn’t) in the comments.

== Chapters ==

  • 0:00 Introduction - Self-Healing CI Overview
  • 0:42 Demo: Simulating a broken CI run
  • 1:29 Nx Console CI Integration View
  • 1:46 Automatic CI Failure Detection in Nx Console
  • 2:08 AI Agent Fixing Process Begins
  • 3:13 Fix Creation and Validation
  • 3:41 Fix Verification Process
  • 3:57 Applying the Fix to PR
  • 4:31 Enable Self-Healing CI
  • 7:02 Wrap Up and Call for Feedback