# fix\(server\): report the failed remote run's provider error · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 9f4243ecfe07a15960a82685dbdaf20fd1e078a2

Requested commit: 9f4243ecfe07a15960a82685dbdaf20fd1e078a2

Commit: 9f4243ecfe07a15960a82685dbdaf20fd1e078a2

Tree: e3b194a5ea7ad24dd08e50ded9bc0f44ab148289

Author: Lenori

Committer: Julius Marminge

## Message

```
fix(server): report the failed remote run's provider error

Read failed-run activity and prefer that run's error over an earlier assistant
reply. Keep successful replies unchanged and retrieve long errors in full
without taking diagnostics from a later run.

Add failed-run, pagination, run-isolation and successful-recovery regressions
for the existing review on pingdotgg/t3code#16719.

Implemented with GPT-6.1-Sol through Codex in T3 Code on behalf of Lenoridev.

```

## Parents

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

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