Interview Prep/Git & GitHub/GitHub Actions, environments and releases in production

How do you deal with flaky tests in CI that block merges?

IntermediateProductionGitHub Actions, environments and releases in production
Answer

Quarantine them with a tracked ticket and tag so they run but do not block, retry at test level not job level, record flake rates, and enforce an SLA to fix or delete. Blanket "re-run until green" trains people to ignore real failures.

All Git & GitHub questions Roadmap: Git & GitHub

More on GitHub Actions, environments and releases in production