# fix\(source-control\): GitCafe checks show each check's newest run · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/8c1fe57e57479a8dc9eb053ab0d61ae7791a035a)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 8c1fe57e57479a8dc9eb053ab0d61ae7791a035a

Requested commit: 8c1fe57e57479a8dc9eb053ab0d61ae7791a035a

Commit: 8c1fe57e57479a8dc9eb053ab0d61ae7791a035a

Tree: 613fc9631d19434dc2534603490e4ffec1032ac8

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(source-control): GitCafe checks show each check's newest run

GitCafe lists every run of a commit's checks, and its status counts them all, so
a cancelled run's failure kept a pull request failing after its re-run passed.
The adapter now keeps the newest run of each check (by the host's run id) and
derives the checks state from those.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [6e792117436662208bf2b6eb71ee8d0d88817e43](https://git.cafe/pingdotgg/t3code/commit/6e792117436662208bf2b6eb71ee8d0d88817e43?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/8c1fe57e57479a8dc9eb053ab0d61ae7791a035a?format=markdown)
