bug: Cannot stop a Pi agent — Stop fails with "active run cancellation was not acknowledged" and the agent stays running
Author: tjx321Created Aug 23, 2026Updated Sep 18, 2026
Labelsbugp1triaged
What's broken
The agent never stops: it stays in running state with the foreground turn still active, and every subsequent Stop click repeats the same error. The only recovery I found is killing the pi subprocess from outside or restarting the daemon.
This happens when the Pi agent is stuck inside a turn (e.g. a hung tool call or a model request that never settles). Because the agent never becomes idle, the daemon's cancel interrupt is never acknowledged inside the timeout, so the cancel is refused and this error is surfaced instead of escalating.
Steps to reproduce
- Create a Pi agent in Paseo.
- Give it a task that blocks inside the turn — e.g. a tool call that hangs, or anything that keeps the agent non-idle.
- Press Stop while the agent is running.
- Observed: error "Cannot stop ... because its active run cancellation was not acknowledged"; the agent keeps running, and further Stop clicks repeat the error.
(If the agent is responsive, Stop works fine — so this only reproduces when the interrupt cannot be acknowledged in time.)
Steps to reproduce
- Create a Pi agent in Paseo (provider: Custom provider → Pi).
- Give it a task that blocks inside the turn — e.g. a tool call that hangs, or a model request that never settles (anything that keeps the agent from becoming idle).
- While the agent is still running, press Stop in the UI.
- Observed: the error "Cannot stop because its active run cancellation was not acknowledged" is shown; the agent stays in
runningstate with the foreground turn still active, and every further Stop click repeats the same error. The only recovery is killing thepisubprocess from outside or restarting the daemon.
Where did this happen
iOS app
Paseo version
0.4.0
OS version
windows 11
Agent provider
Custom provider
Provider configuration
No response
Logs
Screenshots or video
No response
Source: getpaseo/paseo