Skip to content

Flaky-case detection across recent runs #18

Description

@royalpinto007

Problem

Suites with nondeterministic agents show the same case flip-flopping run-to-run. Today each flip reads as a regression and trains users to ignore CI.

Pattern

Follow app/api/demo/route.ts (prev-run pass-map logic) and dashboard app/page.tsx (suite aggregates). Add per-suite flip counts over the last N runs (endpoint or dashboard badge, e.g. GET /api/suites/:name/flaky), marking cases with >=2 flips as flaky.

Acceptance

New flaky signal (API field or badge). Test seeds alternating pass/fail histories and asserts the flip count and flaky flag.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions