Skip to content

CLI: Find a project’s flaky tests with circleci testresult flaky

Enhancement

You can now list a project’s flaky tests with one command: circleci testresult flaky. It shows one row per test, most-flaked first, with how many times it flaked, when it last flaked, and the job of the most recent flake.

Use --sort and --limit to narrow the list, and --json to get job, workflow and run IDs for each test. The command is also available as a read-only tool through circleci mcp.

Learn more in the CircleCI CLI reference.