An attached session is killed after 5 minutes, because attachSession runs under ProcessAdapter's default timeout #687
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#687
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during IW-599.
TmuxAdapter.attachSession(core/adapters/Tmux.scala:99) andHerdrAdapter.attachSession(core/adapters/Herdr.scala:217) callProcessAdapter.streamOrExplainwithout atimeoutMs.streamOrExplainpassesProcessAdapter.DefaultTimeoutMs(5 minutes,core/adapters/Process.scala:24) torunStreaming, which gives it toos.proc(...).call(timeout = ...).An attach is interactive and has no natural time limit. A human who stays in the session that
iw startoriw openattached to longer than 5 minutes has the attach process killed, and the command reports "Could not attach to session ...: it ran out of time and was stopped".Expected: the attach is not bounded by a timeout.
Intake: agent-ready
Workflow: diagnostic
Reason: all gates passed
Analysis: project-management/issues/IW-687/analysis.md on branch IW-687