juri.dev / videos

Self-Healing CI - Here is how it works

Author profile pic
Juri Strumpflohner
Published
  • Mention previous integration (https://youtu.be/fPqPh4h8RJg?si=Jw81K9war3bkWgnN) where CI notification would kick in and locally apply a fix
    • but now levelled up to be fully agentic
  • show the full round-trip
    • make a code change, push a PR
    • get notification, show off all the stuff that pops up
    • apply the fix, see it committed on the GH PR
    • if you miss the notification you can also see the fix on Nx Cloud directly. Example
  • show what you need to do to set this up
  • mention
    • but..this is an early preview (like for example you don’t have to provision any Claude token etc), so there are caps right now how much you can do
      • so go create a hobby account and play around with it
      • if you’re an enterprise and interested in this, reach out (link in video description)
    • keep an eye out for more announcements once this goes fully public

YouTube Description

Nx Cloud’s Self-Healing CI automatically detects broken tasks in your CI pipeline, generates a fix, verifies it actually works, and proposes it directly on your PR. In this video I walk through a real-world example: upgrading Nx Labs to the latest Nx version, watching the e2e tests fail, and having the self-healing agent fix it, all without leaving the PR.

📖 Chapters: 00:00 Why CI throughput matters 00:44 The broken PR problem 01:12 How self-healing CI works 01:39 Real-world example: Nx Labs upgrade 02:06 Viewing the failure in Nx Cloud 02:33 The GitHub PR comment & proposed fix 03:01 Nx Cloud self-healing detail view 03:26 Classification: when NOT to fix 03:43 Fix generation & diff viewer 04:44 Verification: running the fix before committing 05:06 Applying the fix to the PR 05:22 Seeing the commit on GitHub 05:42 Viewing fixes in Nx Console (IDE) 06:05 Time to green & next steps

🔗 Links: Self-Healing CI Docs: https://nx.dev/docs/features/ci-features/self-healing-ci Introducing Self-Healing CI: https://nx.dev/blog/nx-self-healing-ci Nx Cloud Setup Course: https://nx.dev/courses/pnpm-nx-next/lessons-06-nx-cloud-setup Enable AI Features: https://nx.dev/docs/guides/nx-cloud/enable-ai-features

🎬 More Self-Healing CI Videos: Apply Fixes Locally: https://youtu.be/37q9O-PYPlY Self-Healing CI vs Claude: https://youtu.be/lXfcPmX4FbE Auto-Apply Suggestions: https://www.youtube.com/watch?v=30qh5W8zXTY Fixes Formatting Issues: https://www.youtube.com/watch?v=kCiOxw-mNWI Fixes Astro Docs Broken Links: https://www.youtube.com/watch?v=i73WMUieGQw