# fix\(server\): withdraw a stopped turn's pending approvals · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 90f7837896bfd279add1439514649d0f73dc0984

Requested commit: 90f7837896bfd279add1439514649d0f73dc0984

Commit: 90f7837896bfd279add1439514649d0f73dc0984

Tree: 004fe658c9b4841ea417f12aeb41547112933e40

Author: fixfon

Committer: fixfon

## Message

```
fix(server): withdraw a stopped turn's pending approvals

When a provider turn ended, only its pending user-input requests were withdrawn. Approvals stayed pending after Stop, kept the thread's pending-request summary set and blocked settling. Interrupted and cancelled turns now withdraw their approvals too, marked not resumable. Completed and failed turns keep them, since a root turn can finish while its subagents still wait on approvals filed under it.

```

## Parents

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

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