Wayfair

Wayfair accelerates developer velocity and reduces CI fix time with AI on Google Cloud

Results on Google Cloud
  • 58% reduction in Mean Time To Recovery (MTTR), from 26 minutes to 11

  • 12,000+ build retries avoided monthly, enhancing resource efficiency

  • Developer NPS increased from 4.8 to 8.2, boosting satisfaction

  • CI fix time cut from 30 minutes to under 5, improving flow

  • Over 31,000 engineering hours are projected to be saved annually

Wayfair leveraged Google Cloud’s Gemini model and a custom RAG pipeline to create a GenAI-powered CI/CD intelligence system, drastically reducing build fix times and improving developer experience and productivity at scale.

Viewing Wayfair interface on mobile

Boosting developer velocity: Wayfair's journey to AI-powered CI/CD

Wayfair's digital transformation began with a critical pain point: post-commit CI build failures were slowing down developer velocity. The CI/CD pipeline often became a bottleneck, as developers were frequently blocked by issues that only emerged after a failed build. This necessitated manual log analysis and repetitive, often tribal, attempts at fixes. While AI tools were improving individual productivity, the CI/CD pipeline created a gap in automation and efficiency.

To address these challenges, Wayfair's engineering teams initiated an effort to embed AI-powered intelligence into the CI/CD workflow, a move supported by both practitioners and engineering leadership. The primary business drivers for this initiative included reducing developer toil, decreasing build fix time, and improving overall developer satisfaction. Key business objectives were to reduce Mean Time To Recovery (MTTR), increase developer Net Promoter Score (NPS), and improve team throughput, recognizing that any inefficiency at the scale of over 25,000 builds per day had significant cost implications. Wayfair aimed to modernize its CI/CD processes by integrating generative AI capabilities, transforming its existing Buildkite-based infrastructure to support a faster, more intelligent development loop by unifying metadata and logs and enabling IDE-native remediation.

Wayfair learned that the biggest gains came not just from detecting failures faster, but from reducing the effort required to fix them. Embedding AI into the CI/CD loop showed that developers respond best to targeted, explainable suggestions delivered directly in the tools they already use."

Pushkar Sharan

Senior Software Engineering Manager, Wayfair

Wayfair's decision to leverage Google Cloud was driven by Gemini’s multimodal capabilities, which enabled them to efficiently scale their product catalogs, as well as the essential partnership and critical assistance the Google Cloud team provided to ensure accurate Gemini Enterprise Agent Platform integration and prompt tuning.

Wayfair package on a conveyor belt

Empowering developers: Wayfair's GenAI-powered CI/CD intelligence system

Wayfair developed an end-to-end AI-powered CI/CD intelligence system using two core components. First, an AI-powered build failure remediation system utilizes a custom Retrieval-Augmented Generation (RAG) pipeline. This pipeline intelligently combines Buildkite logs with MCP metadata and historical failure data to provide Large Language Model (LLM)-generated explanations and suggested fixes directly to developers using Slack. A crucial built-in feedback loop continuously refines the accuracy of these recommendations based on developer input. Second, the MCP Server + Agentic IDE Integration allows developer tools like Cursor to securely access CI logs and RAG recommendations from within the IDE, significantly reducing context switching.

Here’s how it works. When a post-commit CI build fails, the custom RAG pipeline analyzes the Buildkite logs and historical data to provide LLM-generated explanations and suggested fixes directly to the developer using Slack. Simultaneously, through an MCP Server integration, developer tools like Cursor can securely access these logs and real-time fix suggestions from within the IDE. This drastically reduces context switching and empowers developers to cut their CI fix time to under 5 minutes.

This system is live in production and has been adopted by approximately 70 percent of Wayfair's developer base, supporting a high-volume environment with over 25,000 Buildkite builds per day.

Buildkite

The implementation required close coordination across infrastructure, developer tooling, ML, and security teams.

The integration of Google Cloud's Gemini model and Gemini Enterprise Agent Platform has been instrumental in powering this transformation, leading to dramatic improvements across all four DORA metrics:

  • Change lead time: Developers receive real-time analysis and fix suggestions within the IDE, drastically reducing the time from code commit to successful deployment
  • Deployment frequency: Faster issue resolution and a reduction in CI loop counts (from four to one or two iterations) have enabled more frequent and consistent deployments
  • Change failure rate: Contextual recommendations, drawing on a history of similar failures, help prevent repeated mistakes and improve overall build quality
  • Failed deployment recovery time: The mean time to recovery (MTTR) has decreased by 58%, from 26 minutes to 11 minutes, and the system has avoided over 12,000 build retries each month

Beyond DORA metrics, Wayfair has seen an 80% reduction in context switching for developers and projects to save over 31,000 engineering hours annually. The Google Cloud team provided essential partnership and critical assistance with Gemini Enterprise Agent Platform integration and prompt tuning, ensuring the solution delivered optimal accuracy and developer adoption.

Wayfair Atlanta exterior view

Wayfair is the destination for all things home, making it easy for customers to create a home that is just right for them.

Industry: Retail

Location: India

Products: Gemini, Gemini Enterprise Agent Platform


Buildkite is the world's fastest CI platform, providing the speed and flexibility for platform teams to deliver software at scale.

Google Cloud