You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
desktop: question tool aborts with 'location shut down', owner decision controls never render #51647
The question tool aborts with Interaction cancelled because the location shut down in the desktop app, making it impossible to collect a decision from the owner.
Call the question tool with any question and options.
Observe the tool result: {"error":{"type":"aborted","message":"Interaction cancelled because the location shut down","content":[]}}
The control never renders, so no answer can be given.
Occurrences — 2 consecutive, in the same session, with the server restarting between them:
attempt 1, after the server had just restarted
attempt 2, after a second server restart
Impact
Any workflow that relies on the question tool to present owner decision controls (Adopt/Adapt/Reject, A/B/C options) is unusable in the desktop app. The only fallback is plain prose in the assistant message, which loses the structured, nothing-pre-selected control that decision requests depend on.
Suspected cause
The abort message suggests the question's owning "location" is being torn down — plausibly a lifecycle/race issue between the question control's location and the desktop app's session or server lifecycle, rather than an owner cancellation. Note the two failures both coincided with a server restart, which may be relevant.
Question
Is this a known limitation of the desktop client, or a bug? If it is a race with server restart, it would be good to have it fail loudly (or retry) rather than silently aborting the interaction.
Thanks for the report! The error Interaction cancelled because the location shut down comes up when the server (or the project location) shuts down while a question is still waiting for an answer. Shutting down closes every pending question, permission prompt and form, so a question that is open during a server restart is cancelled on purpose.
Both of your failures happened around a server restart, so to tell whether this is a bug we need a few details in your own words:
Why did the server restart? Did you restart it or quit and reopen the app, did it crash on its own, or did something else trigger it (for example changing settings or config files)?
When was the question asked? Was it before or during the restart, or some time after the server was back up and running normally?
Does the question tool work when no restart happens? For example, start a new session in the desktop app and ask the agent to ask you a simple question with two options.
Does it still happen on the latest version? Your server reported 2.0.16 while the CLI is 2.0.18. Several fixes to shutdown and location handling have landed since then, so please update the desktop app (latest is 2.2.0) and try again.
If the server is restarting unexpectedly, please attach the desktop app and server logs from around that time.
You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it, so we know you're done.
We're closing this issue for now because we haven't heard back on the questions above. The error Interaction cancelled because the location shut down comes up when the server or project location shuts down while a question is still waiting for an answer. Both of your failures happened around a server restart, and without more details we can't tell whether this is expected behaviour or a bug.
If it still happens on the latest desktop app (2.2.0), please comment here and we'll reopen it. It would help to know why the server restarted, whether the question tool fails even when no restart happens, and to have the app and server logs from around that time. Thanks for reporting it!
Activity
github-actions commentedon Sep 27, 2026
This issue might be a duplicate of existing issues. Please check:
opencodejr commentedon Oct 28, 2026
Thanks for the report! The error
Interaction cancelled because the location shut downcomes up when the server (or the project location) shuts down while a question is still waiting for an answer. Shutting down closes every pending question, permission prompt and form, so a question that is open during a server restart is cancelled on purpose.Both of your failures happened around a server restart, so to tell whether this is a bug we need a few details in your own words:
You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it, so we know you're done.
opencodejr commentedon Oct 31, 2026
We're closing this issue for now because we haven't heard back on the questions above. The error
Interaction cancelled because the location shut downcomes up when the server or project location shuts down while a question is still waiting for an answer. Both of your failures happened around a server restart, and without more details we can't tell whether this is expected behaviour or a bug.If it still happens on the latest desktop app (2.2.0), please comment here and we'll reopen it. It would help to know why the server restarted, whether the question tool fails even when no restart happens, and to have the app and server logs from around that time. Thanks for reporting it!