Skip to content

Frontend AI triage insights - #1608

Merged
prathmeshpatel merged 1 commit into
mainfrom
evals-ux-improves-3
Mar 16, 2026
Merged

Frontend AI triage insights#1608
prathmeshpatel merged 1 commit into
mainfrom
evals-ux-improves-3

Conversation

@prathmeshpatel

@prathmeshpatel prathmeshpatel commented Mar 14, 2026

Copy link
Copy Markdown
Collaborator

TL;DR

Added AI-powered failure analysis to CI evaluation runs with automatic classification of failures as regressions, flaky tests, or new failures, plus intelligent triage summaries.

What changed?

  • AI Triage System: New ai-insights.ts module that classifies test failures by analyzing historical run data across commits to identify regressions (previously passing, now failing), flaky tests (alternating pass/fail patterns), and new failures
  • Commit Detail View Enhancements: Added AI-generated triage summaries that automatically analyze failures when any test cases fail, with visual failure classification tags and regeneration controls
  • Overview Panel Intelligence: Integrated AI insights at the suite overview level to provide high-level analysis of all failing suites with their failure patterns
  • Failure Classification Tags: Visual badges showing "regression", "flaky", or "new" status for failed test runs based on historical analysis
  • Auto-generation: AI triage automatically triggers when failures are detected, with manual refresh capabilities
  • Comprehensive Test Coverage: Added 442 lines of tests covering failure classification logic, history analysis, and context building functions
  • UI Improvements: Changed default sidebar mode to "runs" and moved overview button to always be visible regardless of sidebar mode

@chelojimenez

chelojimenez commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@prathmeshpatel prathmeshpatel changed the title AI Insights Frontend AI triage insights Mar 14, 2026
@prathmeshpatel
prathmeshpatel force-pushed the evals-ux-improves-2 branch 2 times, most recently from 07b02d3 to a531920 Compare March 14, 2026 22:24
@prathmeshpatel
prathmeshpatel marked this pull request as ready for review March 16, 2026 08:47
@dosubot dosubot Bot added size:XXL This PR changes 1000+ lines, ignoring generated files. enhancement New feature or request labels Mar 16, 2026
@graphite-app
graphite-app Bot changed the base branch from evals-ux-improves-2 to graphite-base/1608 March 16, 2026 09:04
@prathmeshpatel
prathmeshpatel changed the base branch from graphite-base/1608 to main March 16, 2026 09:10
@graphite-app

graphite-app Bot commented Mar 16, 2026

Copy link
Copy Markdown

Merge activity

  • Mar 16, 9:11 AM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.

@prathmeshpatel
prathmeshpatel merged commit 1984a1f into main Mar 16, 2026
3 checks passed
@prathmeshpatel
prathmeshpatel deleted the evals-ux-improves-3 branch March 16, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants