Skip to content

[FEATURE]: Long-running shell commands block the entire conversation #39769

Description

@openchat-ai

Description

Any command that takes a while (gh run watch, Start-Sleep polling loops, etc.) freezes the whole conversation. You cannot do anything else, cannot cancel, just wait.

I was debugging a flaky CI test. Every time the assistant ran gh run list + Start-Sleep to poll for results, the conversation hung for 60-120s.

Proposed Solution

A simple background flag on the shell tool, similar to timeout.

Command runs in background, conversation stays responsive. Result delivered when done.

Verification

  • I have checked that this feature has not been suggested before

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions