# test\(server\): hold the queue before a mid-queue provider switch · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 9362d8b7167b35496ece07ec89b56236079d3c36

Requested commit: 9362d8b7167b35496ece07ec89b56236079d3c36

Commit: 9362d8b7167b35496ece07ec89b56236079d3c36

Tree: ce8682f256e06704fd27b8e521f6694c90c2754c

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test(server): hold the queue before a mid-queue provider switch

The active-run guard refuses an instance switch while a turn is running, and
completing the active run starts the queue at once. Complete the run with the
queue held, switch, then resume so the queued monitor update is still checked
against the new selection.

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

```

## Parents

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

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