DocumentationParallel ExecutionRetry and flake handling

Retry and flake handling

4 min readLast updated 2026-04-21

Automatic retries with flake detection, quarantine, and root cause tagging.

Flaky tests are the #1 source of CI noise. Check Studio detects, retries, and quarantines flaky tests automatically.

Retry configuration

// checkstudio.config.js
module.exports = {
  retries: 2,          // Retry up to 2 times
  retryStrategy: 'fail', // Mark as fail if all retries fail
};
javascript

Flake detection

A test is flagged as flaky if it passes on retry after an initial failure. Flaky tests are tracked in a dedicated dashboard with trendlines.

Quarantine

Tests that remain flaky after 5 runs are moved to quarantine. They run in a separate job and do not block merges. Teams receive weekly quarantine digests.

Debugging flakes

Check Studio captures screenshots, console logs, and network traces for every retry. Compare attempts side-by-side in the dashboard.

Was this article helpful?

Still have questions?

Our support team is here to help. Reach out directly or search the docs.