---
title: Failing CI
description: When CI fails on a pull request, Clara waits for the author, then fixes what the pull request broke and says so when the failure isn't its doing.
---

When a GitHub Actions run fails or times out on a pull request, Clara waits until 30 minutes after the push, in case the author is still working on it. If they push in the meantime, she leaves it to that commit's CI.

Then she reproduces the failure on the pull request's branch and decides whose it is:

| Cause | Clara |
| --- | --- |
| The pull request broke it | Fixes it, reruns the checks, pushes one commit, and comments with what failed and what she changed. Then she reviews the pull request again, so it can be approved once CI passes |
| Something else: it fails on the base branch too, needs secrets the run didn't have, or a test is flaky | Changes nothing, and comments with what failed and why it isn't the pull request's doing |
| She can't tell | Changes nothing, and comments with what she found |

One comment covers every failed run on a commit.

She skips that review when it could only repeat her last one: it left a blocking finding or a [choice that's yours](/docs/pull-requests/reviews#choices-that-are-yours) open, and only her own commits have followed it. The comment about CI is then all she posts.

She fixes CI on the same pull requests she reviews, on a [branch she can push to](/docs/pull-requests/fixes#where-she-can-push), within the three fix commits she pushes to one pull request. She looks at failed CI on at most three commits of a pull request.

Only GitHub Actions is read. Other CI providers still hold back an approval, but she doesn't try to fix them.
