Speaker Notes

How VS Code Went from Monthly to Weekly Releases with AI — Harald Kirschner

By tracking agent code survival metrics, optimizing CI/CD pipelines, and automating UI testing and bug triage, VS Code successfully transitioned from a monthly to a weekly release cycle.

AI Engineer · 19:35 · YouTube ↗

Talk · Solo speaker  Advanced · AI agent workflows and tooling

Highlights

4 clips · 4 min of 20 min
    • Agent code survival rate jumped from 55% to 86% with better models and harnesses.
    • Tracking discarded versus committed code measures real developer trust and confidence.
    • Running dozens of agents simultaneously amplifies any slow part of your CI/CD pipeline.
    • Switching to TypeScript Go provided a 10x build speedup required for rapid agent feedback loops.
    • Agents frequently fail at precise UI alignment, requiring automated verification tools.
    • An automated pipeline takes screenshots of every component on changes to flag unexpected visual regressions.
    • Billion-scale telemetry error stacks are filtered, fingerprinted, and assigned to area owners automatically.
    • Multi-agent systems diagnose root causes and open fix PRs without manual intervention.

Questions this video answers

10 · every answer cites the moment it was said
01 How do you measure developer trust in agent-generated code? 2 sources · 1:20

Track code survival metrics to see the percentage of agent-written code that actually gets committed. GPT-4.1 started at 55%, while Claude Opus reached 86% over time. This increase clearly demonstrates growing developer trust and confidence in AI code generation.

02 How do you make a codebase agent-ready? 2 sources · 5:05

Create living documentation like agents.mmd files that give agents lightweight maps of the codebase. These documents should evolve as agents make mistakes and help guide them effectively.

03 How can expert knowledge be distributed to developers and agents? 2 sources · 5:48

Encode expert knowledge into skills that anyone or any agent can use, such as accessibility best practices. This unblocks teams by scaling insights that were previously locked with single experts.

04 What build system change is necessary when scaling up AI agents? 2 sources · 7:03

Switch to TypeScript Go to prevent CI/CD bottlenecks from compounding when running multiple agents concurrently. This upgrade provided a tenfold improvement in build speeds, which is crucial for fast feedback loops.

05 How do you automate UI validation for agent changes? 2 sources · 9:05

Use an automated component browser that takes screenshots of every component on every change to point out visual differences. This allows developers to quickly detect unexpected side effects and review pull requests efficiently.

06 How can agents self-correct UI changes? 2 sources · 10:17

Leverage Playwright through a launch skill to automatically open the application and click through specific test scenarios. This provides a self-correcting loop where agents can diagnose and validate fixes without manual intervention.

07 How do you handle the surge in bug reports caused by AI? 2 sources · 12:39

Implement automated AI filtering to remove spam, translate text, and assign issues to proper area owners to improve signal-to-noise ratios. A human-in-the-loop Chrome extension layer is also used to fix duplicate issues and feed data back into the system.

08 How are error stacks automatically addressed with pull requests? 2 sources · 13:48

Raw telemetry filters down error stacks, groups them via fingerprinting, and assigns them to area owners with an auto-created PR. An agent investigates the root cause, finds symbols, and opens a fix that can be merged quickly.

09 Why are staged rollouts important when increasing release velocity? 2 sources · 15:25

Instead of doing zero-day full releases to 100% of users, staged rollouts help derisk the release process. Teams monitor error logs and issues incrementally because rollbacks on installed desktop applications are very expensive.

10 How do you maintain evaluations for an agentic product? 2 sources · 16:14

Use an internal benchmark harness where new scenarios are easily bootstrapped via templates from GitHub issues. This allows teams to hill-climb against offline evals and conduct online experimentation for rapid product growth.

Section-by-section summary

4 parts

Moving from monthly releases to weekly AI workflows

VS Code shifted from a 10-year monthly release cadence to weekly releases driven by AI integration. Tracking agent code survival metrics showed an increase from 55% to 86%, boosting developer confidence and enabling significantly faster shipping.

Preparing codebases and toolchains for agents

Teams must establish agent-ready documentation like agents.md files and encode expert knowledge into reusable skills such as accessibility guidelines. Because multiple agents run concurrently, slow CI/CD pipelines become severe bottlenecks that require massive build speedups.

Automating UI validation and self-correcting loops

To counter common UI alignment errors, agents need direct application access via automated component browsers and Playwright-based testing scripts. These self-correcting feedback loops allow agents to launch the app, click through scenarios, and verify fixes independently.

Automated triage, error recovery, and staged rollouts

High volumes of GitHub issues and telemetry error stacks are automatically filtered, translated, and assigned to area owners. Multi-agent systems then generate fix PRs, while staged rollouts and internal evaluation benches ensure system stability before full deployment.

0:00 / 19:35
k play/pause · f fullscreen · m mute
n next · p previous clip · t highlights/full
< > slower/faster · / search what was said
  • Code survival metrics1× · first 1:17

    The percentage of agent-written code that actually gets committed instead of being discarded.

  • Agents.mmd1× · first 5:05

    A lightweight living document giving agents a map of the codebase.

  • TypeScript Go2× · first 7:05

    A build system optimization providing tenfold speed improvements for builds and tests.

  • Component browser2× · first 9:05

    An automated build tool that takes screenshots of every component to detect visual changes.

  • Playwright2× · first 10:17

    An automation tool used to click through web applications and validate UI behavior.

  • Xcode MCP1× · first 10:57

    A tool used within VS Code to create, open, and click through iOS apps.

  • VSC bench1× · first 16:12

    An internal evaluation harness used to test agentic product scenarios.