← Back to issue list

Handle interactive terminal inside emitter stream context

View original Github issue

Metadata

Project
craft-cli
Number
#347
Type
issue
State
open
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Feature request to allow interactive terminal I/O (shell, debug) to escape output redirection when running inside an open_stream emitter context for craft test spread runs. Open 468 days with zero activity, no labels, no comments, no assignee.

Suggested action: needs triage

Reason: The issue has no labels, no comments, no assignee, and no maintainer response in 468 days. The open_stream() implementation in craft_cli/messages.py still unconditionally pipes subprocess output to stderr with no mechanism to yield the terminal for interactive use. The project remains active (recent commits through #479) so the feature gap is still relevant, but no one has assessed or prioritised it.

Impact: 40 Quick Win: 16.0 Staleness: 75 Complexity: 60 Confidence: 72 Support Request: 10

Issue body

### What needs to get done Allow a command running inside an `open_stream` emitter context to escape from output redirection and handle terminal I/O interactively. ### Why it needs to get done When executing craft test spread runs in a stream context to collect log messages, but it may also open interactive sessions if running with `-shell`, `-shell-after`, or `-debug`.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 16.0
Staleness: 75
Complexity: 60
Confidence: 72
Support Request: 10
needs triage Feature request to allow interactive terminal I/O (shell, debug) to escape output redirection when running inside an open_stream emitter context for craft test spread runs. Open 468 days with zero activity, no labels, no comments, no assignee.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 65
Confidence: 80
Support Request: 5
needs triage Feature request to enable interactive terminal I/O within an open_stream emitter context for craft test spread runs. Currently unlabelled, inactive for over a year, and awaiting team assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 60
Confidence: 80
Support Request: 10
needs triage Feature request to allow interactive terminal I/O within an open_stream emitter context for craft test spread runs. Currently unlabelled, unassigned, and has received no maintainer comments in over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 60
Confidence: 80
Support Request: 10
needs triage Allow commands in an open_stream emitter context to bypass output redirection for interactive terminal I/O. Required for craft test spread runs with shell or debug flags. Open 392 days, unassigned, zero comments, needs triage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#763 fix(testing): handle spread interactive shell craft-application merged Merged a fix that pauses the emitter and disables stream capture during interactive spread shell tests, enabling terminal interaction without cluttering logs. Approved by two reviewers, passed all CI checks, and verified with Snapcraft.
70%