# fix\(server\): Claude background-task wakes start when the queue is held · pingdotgg/t3code

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

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

Visibility: public

Requested revision: e059b62b12f2768ee7e60b62e2715b922f66afce

Requested commit: e059b62b12f2768ee7e60b62e2715b922f66afce

Commit: e059b62b12f2768ee7e60b62e2715b922f66afce

Tree: 04e0ebf352bb626ac133de06520089e95e027e9d

Author: Tanner Sharon

Committer: Tanner Sharon

## Message

```
fix(server): Claude background-task wakes start when the queue is held

After a server restart, recovery holds unstarted queued runs. A Claude
background-task wake that arrives while the previous run is finalizing
queues, inherits that hold, and never starts. The CLI runs the turn
anyway, so every T3 MCP call in it fails with parent_not_active.

A provider wake no longer inherits queueHeld, and the queue can start an
unheld run that sits behind held ones. Only provider wakes are queued
unheld beside held runs, so ordinary queues behave as before.

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

```

## Parents

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

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