# fix\(server\): cancel pending OpenCode prompts safely · pingdotgg/t3code

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

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

Visibility: public

Requested revision: bba9dff4927bbb2d9bf012eb93f308188141c1e0

Requested commit: bba9dff4927bbb2d9bf012eb93f308188141c1e0

Commit: bba9dff4927bbb2d9bf012eb93f308188141c1e0

Tree: 0980bbacbb4951e11485e2904451d956096e2814

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(server): cancel pending OpenCode prompts safely

Cancel pending SDK requests before aborting the native session. Preserve per-admission cancellation state and treat stopped initial prompts as interruption instead of provider failure.

Finding: R14 prompt cancellation

Model: GPT-5.6 Sol via Codex

```

## Parents

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

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