AIToday
Zenn AI/MLPublished: Oct 30, 2026, 19:01 JST

COMPASS QA engineer triages AI test fails with Code / Limit / Defect

Send on LINE
COMPASS QA engineer triages AI test fails with Code / Limit / Defect

3 Key Points

  1. What happened

    The engineer classifies every failed E2E test as Code (test-side issue such as selectors or waits), Limit (environment or constraint, skip recommended), or Defect (suspected app bug), and only sends cases to auto-healing when they are Code with confidence above a threshold. Anything neither mechanical rules nor a higher-tier AI can settle goes to a human-review queue rather than being labeled a defect.

  2. Why it matters

    Because Defect is only asserted with confidence, the review queue shrinks to defect candidates, human-review holds, and data-competition Code items, and developers are less likely to ignore false-positive bug reports.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

A previous piece argued against treating AI-generated E2E tests as a simple Pass/Fail binary. Here the author focuses on what happens after a test fails: the sorting work that becomes the new bottleneck once tests can be generated in volume. The core design choice is to make Defect a high-bar label. A timeout message, for example, can mean a changed selector, an insufficient wait, or a genuinely broken feature, so the system declines to guess from the string alone. Mechanical rules handle signals like intercepts pointer events, and a higher-tier AI re-reads logs, screenshots, and test code for the rest; what remains unsettled is held for a person. Reproduction checks are not retries but a separate AI driving a real browser through MCP, with the original signal withheld to avoid bias. The body also notes that skip reasons are made machine-readable, with category and autoSolvable fields, and that the framework and project-specific rule data are kept apart so other services can reuse the classifier. The author lists six open items, including the waitForResponse confidence sitting exactly at the auto-healing threshold, the risk that an AI mislabels a missing element as Code and heals over a real bug, and the inability to distinguish data shortage from environment failure. The author says quantitative verification of effort reduction is still to come and that current confidence is based on operational feel.

FAQ
How does the system avoid false-positive bug reports?
It requires confidence before labeling a failure Defect; if neither mechanical rules nor a higher-tier AI can settle the cause, the case goes to human-review instead. Defect candidates are also re-checked by a separate AI operating a real browser via MCP before any issue is filed.
What happens to tests that are skipped?
Skip reasons are recorded in a structured format with fields such as category, autoSolvable, and permanent, so they can be aggregated mechanically. Skips marked autoSolvable: false are excluded from the denominator of pass-rate quality metrics.
Can this triage logic be reused on other services?
Yes, the classification framework is separated into a common library and project-specific rule data, so swapping the rule file lets the same classifier run on another service.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Next articleTrakkr: only 40% of AI-cited stats backed by research