Skip to content

fix(windows): detach shell protocol stdin - #458

Merged
FerroxLabs merged 6 commits into
mainfrom
fix/windows-shell-stdin
Sep 9, 2026
Merged

FerroxLabs merged 6 commits into
mainfrom
fix/windows-shell-stdin

Conversation

@FerroxLabs

@FerroxLabs FerroxLabs commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Windows Desktop Core reads its host protocol from stdin. Shell children inherited that same actively-read pipe, blocking Git Bash during MSYS initialization in NtQueryObject before even bun --version executed. Give noninteractive Windows shell commands null stdin in the shared command builder used by buffered and streaming Job Object execution.

The regression keeps a host-input pipe open with a pending reader and exercises both production backend paths. Both target tests fail on c98b58c and pass with this change. Job Object ownership, environment filtering, shell selection and timeout limits remain intact. Unix behavior is unchanged.

Validation: native Windows regression4/4, existing backend6/6 and Job Object7/7, Windows all-target crate Clippy, and the normal just-push gate passed18,071 tests/104 skips. The full run reported3 flaky memory-bootstrap tests and1 leaky real-zombie test; receipts preserve those outcomes. The corrected Desktop candidate passes the exact previously timing-out Bun-version call and completes that turn. Guided TIDE confirmation passes74/74 valid chart quotes/panels,0unread, exact chart/pane/studies/watchlist restoration, registered HTML Open here and healthy conversation reopening. Artifact placement used a byte-identical copy into the managed namespace. No signed-release claim.

Includes the independently qualified vision/hint correction in #457 until it integrates; the additional delta is only the Windows stdin fix and its regression. Targets main for the required full CI.

@FerroxLabs
FerroxLabs changed the base branch from fix/vision-credential-binding to main September 9, 2026 09:39
@FerroxLabs FerroxLabs closed this Sep 9, 2026
@FerroxLabs FerroxLabs reopened this Sep 9, 2026
@FerroxLabs
FerroxLabs merged commit 3d3856d into main Sep 9, 2026
27 checks passed
@FerroxLabs
FerroxLabs deleted the fix/windows-shell-stdin branch September 9, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants