惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
爱范儿
爱范儿
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
J
Java Code Geeks
宝玉的分享
宝玉的分享
Jina AI
Jina AI
B
Blog
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
aimingoo的专栏
aimingoo的专栏
腾讯CDC
C
Check Point Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
罗磊的独立博客
B
Blog RSS Feed
WordPress大学
WordPress大学
小众软件
小众软件
博客园 - 叶小钗
M
MIT News - Artificial intelligence
GbyAI
GbyAI

Nx Blog

Sharing Tailwind CSS Styles Across Apps in a Monorepo | Nx Blog How SiriusXM Stays Competitive by Iterating and Getting to Market Fast | Nx Blog Agentic Experience Is the New Developer Experience | Nx Blog Nx Joins the Linux Foundation and the Agentic AI Foundation | Nx Blog A Monorepo Is NOT a Monolith | Nx Blog Why we deleted (most of) our MCP tools | Nx Blog Teach Your AI Agent How to Work in a Monorepo | Nx Blog How Broadcom stays efficient and nimble with monorepos | Nx Blog Why Monorepos are King in the Age of AI | Nx Blog Nx 2026 Roadmap: Expanding Agent Autonomy, Improving Performance, Better Polyglot and More | Nx Blog End to End Autonomous AI Agent Workflows with Nx | Nx Blog Autonomous Agents at Scale | Nx Blog Scaling 700+ Projects: How Nx Became a 'No-Brainer' for Caseware | Nx Blog Configure Tailwind v4 with Angular in an Nx Monorepo | Nx Blog The Missing Multiplier for AI Agent Productivity | Nx Blog A Year of Nx Webinars | Nx Blog Wrapping Up 2025 | Nx Blog Nx 22.3 Release: Angular 21 Support, tsgo Compiler, and Prettier v3 | Nx Blog Nx Cloud Release: Agent Resource Usage | Nx Blog Nx Platform Outperforms DIY Cache by 5x | Nx Blog An Nx Carol: Past, Present, and Future of Your Monorepo | Nx Blog Nx 22.1 Release: Terminal UI on Windows, Storybook 10, Vitest 4, and more! | Nx Blog The Compounding Effect: How Nx Features Multiply Performance Gains | Nx Blog 10 Monorepo Myths Debunked: Separating Fact from Fiction | Nx Blog Nx Cloud Release: Enterprise Task Analytics | Nx Blog Watch and Rebuild Storybook Dependencies with Nx | Nx Blog Book - React for Enterprise: Timeless Architecture for Enterprise Apps | Nx Blog Beyond Remote Cache: Unlock 70% More CI Performance | Nx Blog Nx 22 Release: Expanding the build platform | Nx Blog What's New in Nx Self-Healing CI | Nx Blog
What's the Point of Generating All This Code If You Can't...
Victor Savkin · 2025-10-15 · via Nx Blog

Software engineering involves many activities, but developers spend most of their time on two: authoring code and validating code.

Typical software developer process

The AI revolution has focused almost entirely on code generation, on the authoring. LLMs excel at this. But these benefits evaporate if the validation phase can't keep up.

Now the focus has expanded to include the validation phase, and several AI tools have emerged to address this. Nx is one of them. Its agentic Self-Healing CI, among other capabilities, drastically reduces the time required to validate changes in CI.

Authoring and Validating

Development Lead Time is the time from idea to merged code. It breaks down simply:

Development Lead Time = Authoring Time + Validation Time

Validation Time consists of:

  • Time-to-Green: CI must pass
  • Time-to-Approval: A code reviewer must approve

Average validation time varies wildly between teams and projects, often exceeding multiple days or even weeks. Why so long? Complex projects have slow, unstable CI that requires multiple reruns. PRs contain mistakes that need investigation and fixes. Each iteration is costly.

Meanwhile, getting senior engineer feedback takes time. Addressing that feedback requires more iterations, triggering all those CI issues again.

Anyone working on serious projects knows: landing a PR often takes more effort than authoring it. Developers bundle unrelated changes to reduce iterations. They ask to "address feedback in a follow-up" because getting to green was painful.

For this post, let's assume: 16 hours to author, 8 hours to validate = 24 hour lead time.

Time distribution: slow authoring and validation

AI is Making Authoring Cheaper

Credible studies (e.g., here) show AI accelerates PR authoring by 15-20% in real organizations, with expectations this will increase. Let's assume our imaginary team will be able to reduce average authoring time from 16 hours to 8. Great, more PRs are being created in less time.

Does it mean our development lead time is now 16 hours (8 to author and 8 to validate)?

Time distribution: authoring and validation

No. It doesn't. It assumes validation is elastic - that the PR volume increase doesn't slow down validation. It does slow validation (see here).

Code reviews become bottlenecked by senior engineers with limited time and even more PRs to review. CI runs need VM pools. PRs queue for merges. If you do nothing, more PRs means slower validation.

Time distribution: slow authoring with validation

Fixed capacity creates an M/M/1 queue situation:

M/M/1 queue situation diagram

Even if you're faster to author your PRs, you're still being slowed down by the validation bottleneck. And the more PRs, the bigger the pressure, the more it'll slow down the pipeline. Everyone experiences this when an infra failure or broken main branch halts team progress.

Real systems have some elasticity (like compute), but the principle holds: as PR volume increases, validation slows. If you're near capacity, faster authoring just shifts the bottleneck to validation without improving overall throughput.

chart visualizing the overall development lead time

This is what Nx addresses.

How Nx Shortens the Validation Phase and Increases Capability

1. Nx Provides an AI Agent that Automatically Fixes Broken PRs

Nx's Self-Healing CI is an AI-powered system, which includes an Nx AI agent that automatically detects, analyzes, and proposes fixes for CI failures.

chart visualizing the overall development lead time

It samples the large amount of metadata Nx collects about your workspace to discern what is fixable from what is not. It can suggest and verify the fixes. In some cases, with the right configuration, will apply fixes automatically without developers having to do anything.

2. Nx Increases Compute Capacity

Task caching and task distribution save 68% of CI compute on average, essentially tripling PR capacity with the same compute budget.

3. Nx Reduces CI Time

Task caching, task distribution, and automatic task splitting drastically reduce the average CI clock time.

4. Nx Increases CI Reliability

Enterprise projects often need dozens of VMs per CI run. Allocating VMs takes time, setup can fail, and a single failure fails the entire run.

Nx works differently. Results are shared between VMs.

Nx also automatically splits large tasks into smaller ones and deflakes them automatically. With Nx, your CI fails for stable, actionable reasons.

Nx also collects extensive workspace metadata to enable these features.

Results: Reduced Time to Green

These features accomplish two things:

  1. Fewer iterations needed to make PRs green - deflaking and self-healing reduce CI failures by up to 40%
  2. Cheaper iterations - both in time and compute delivered by Nx's cache, distribution, and task splitting.

For large projects, time-to-green drops by 20-50%.

Summary

PRs will soon be easier to author than to merge. For many teams where validation isn't a bottleneck today, it will be next year.

The AI revolution will noticeably decrease PR authoring time, creating more PRs. But validation has received less attention. That's changing. The latest DORA report showed teams merge more PRs with AI, but it increases delivery instability. Maintaining quality makes the validation phase even more critical.

Nx addresses this directly. It uses its agentic Self-Healing CI, among other capabilities, to reduce time-to-green, which substantially cuts development lead time and increases validation capacity.


Learn more: