Repository navigation
Conversation
## summary - Detach stdin (`stdin=asyncio.subprocess.DEVNULL`) when running `git init --quiet --template=` for bundled OpenCode worktrees. - Add a Windows desktop control-pipe regression test verifying that `git init` completes while the host control reader blocks on stdin. Signed-off-by: Hniii98 <752608928@qq.com>
github-actions
Bot
requested review from
FayeSpica,
david6666666,
wangtiance and
wuzhf9
November 30, 2026 10:05
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
stdin(stdin=asyncio.subprocess.DEVNULL) when runninggit init --quiet --template=for the bundled OpenCode worktree inNativeRuntime.stream().stdincontrol pipe, which caused turns (e.g. DeepSeek underDefault · OpenCode bundled) to stall indefinitely on "Thinking...".git initcompletes while the host control reader is blocked onstdin.Linked issue
Labels
type: bugfix,area: agent,area: desktop)Test plan
pytest tests/<your_test_file>.py -v(passed on Windows)Evidence that it works
stdinfix verified via the Windows control-pipe regression test (or attach desktop DeepSeek reply screenshot if tested in UI).Provider verification
prepare_skillsbefore any model call; desktop verification used DeepSeek API).Bilingual UI