[Bug] Daemon reconnect leaves an active prompt blocked and the session unavailable (0.7.3) #1653
Atroci
started this conversation in
Bug reports
Replies: 1 comment
|
Update: the primary failure is the interactive Python/IPython timeout, not the daemon reconnect itself. Existing Discussion #1544 is the canonical report for interactive tool calls with no automatic timeout; I added the Orca-specific evidence and v0.7.3 source links there. This discussion should be treated as downstream integration context rather than a separate timeout report. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
During an active Prime Agent session embedded in Orca, the daemon connection dropped while a prompt was being handled. The TUI entered its reconnect loop, but a subsequent prompt could not be sent and remained waiting. At the time of capture, the session had not recovered in the visible client.
The first
fetch failedline below may be an unrelated provider/tool failure; the report focuses on the daemon disconnect and prompt handling that followed.Environment
No API keys, tokens, prompts, transcript bodies, session IDs, socket paths, or local paths are included.
Sanitized observed output
The client showed the reconnecting state and then rejected the
promptcommand because the daemon was still unavailable. The entered prompt was not visibly acknowledged as queued, rejected before consumption, or safely recoverable.Expected behavior
After a supervisor/daemon interruption, the client should either:
A prompt submitted during reconnect should have an unambiguous exactly-once outcome: it must be durably queued, or rejected before being consumed with a clear retry instruction. It should not remain in an indefinite waiting state or be silently lost/duplicated.
Reproduction status
This is a real observed incident, but I do not yet have a deterministic provider-backed reproduction. A disposable smoke test without credentials could not reach a model call (
No API key found for the selected model), so I am not claiming that test reproduced the daemon failure.A useful deterministic test would keep a worker alive, interrupt or replace only the supervisor, submit a prompt during the reconnect window, and then verify both the client state and the JSONL transcript after recovery. The test should cover a prompt sent before the interruption, during reconnect, and after reattachment, and should verify that no uncertain model/tool side effect is replayed.
Related records (adjacent, not claimed as exact duplicates)
This report is intentionally limited to the daemon reconnect/prompt boundary. Please merge it with an existing record if maintainers consider the recovery path the same bug, or advise which sanitized diagnostics are most useful on the next occurrence.
All reactions