---
title: "How AI Slashed 600-Test-Failure Triage From Days to 90 Minutes"
description: "Salesforce’s retirement of its SOAP API login mechanism deliberately triggered more than 600 test failures, creating a blast radius where genuine regressions could hide among expected failures. The existing manual triage workflow could process only 50 failures at a time, often created duplicate work items, and sometimes misrouted failures, requiring two or three days of effort by multiple engineers. The team built AI-Assisted Test Failure Buddy as a Python and FastMCP process exposing eight tools to Claude Code or Cursor, connecting to Salesforce’s internal GUS workflow system. Deterministic code handles API operations and regex parsing, while AI interprets novel stack traces and resolves ambiguous ownership across teams. One engineer processed 600 failures in approximately 90 minutes using the tool, which has since been adopted by three or four teams."
---

# How AI Slashed 600-Test-Failure Triage From Days to 90 Minutes

[Salesforce](https://yomu.fyi/company/salesforce) · Shireen Nagdive · Nov 17, 2026

**Type:** Problem & solution

## Summary

Salesforce’s retirement of its SOAP API login mechanism deliberately triggered more than 600 test failures, creating a blast radius where genuine regressions could hide among expected failures. The existing manual triage workflow could process only 50 failures at a time, often created duplicate work items, and sometimes misrouted failures, requiring two or three days of effort by multiple engineers. The team built AI-Assisted Test Failure Buddy as a Python and FastMCP process exposing eight tools to Claude Code or Cursor, connecting to Salesforce’s internal GUS workflow system. Deterministic code handles API operations and regex parsing, while AI interprets novel stack traces and resolves ambiguous ownership across teams. One engineer processed 600 failures in approximately 90 minutes using the tool, which has since been adopted by three or four teams.

## Context

Salesforce’s retirement of its SOAP API login mechanism deliberately triggered more than 600 test failures across teams. Expected failures and genuine regressions could produce similar exceptions, span multiple scrum teams, and appear expected even when something else had broken. The existing manual workflow could process only 50 failures at a time, could create duplicate work items, and sometimes misrouted failures, requiring two or three days of triage by multiple engineers.

## Approach / What changed

The team built AI-Assisted Test Failure Buddy as a Python and FastMCP process exposing eight tools to Claude Code or Cursor. The system retrieves failures, obtains stack traces, analyzes patterns, and reassigns work through an interface layer of typed MCP tools, a core logic layer for API calls and pattern matching, and a support layer for authentication. Deterministic code handles API operations and regex parsing, while AI interprets novel stack traces and resolves ambiguous ownership.

## Takeaways

- The tool combines deterministic code for API operations and regex parsing with AI to interpret novel stack traces and resolve ambiguous ownership across teams.
- The MCP tool assigns related failures to one existing work item rather than creating new ones, using explicit failure IDs to avoid misrouting and duplicates.
- One engineer processed 600 test failures in approximately 90 minutes using the tool, compared to an estimated two or three days of manual triage by multiple engineers.

## FAQ

### How does the tool avoid creating duplicate work items?

The MCP tool assigns related failures to one specified existing work item rather than allowing each batch to create another. Explicit failure IDs replace the broader interface action that had sometimes misrouted results, and a shared message lets engineers communicate the reason and mitigation consistently across an entire group.

### What is the architecture of AI-Assisted Test Failure Buddy?

The tool is structured as a Python and FastMCP process exposing eight tools to Claude Code or Cursor. An interface layer defines typed, self-describing MCP tools; a core logic layer controls API calls, validation, batching, clustering, and reassignment; and a support layer manages authentication and token handling.

**Tags:** [AI](https://yomu.fyi/topic/ai), [MCP](https://yomu.fyi/topic/mcp), [Python](https://yomu.fyi/topic/python), [Salesforce](https://yomu.fyi/topic/salesforce)

- Source: [Salesforce](https://engineering.salesforce.com/how-ai-slashed-600-test-failure-triage-from-days-to-90-minutes)
- Source URL: https://engineering.salesforce.com/how-ai-slashed-600-test-failure-triage-from-days-to-90-minutes
- Ingested by Yomu: 2026-11-17T18:01:12.422Z

[Read original post](https://engineering.salesforce.com/how-ai-slashed-600-test-failure-triage-from-days-to-90-minutes)
