GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — fix(guardrails): stop `run` hanging on a socket stdin nobody closes by terisuke · Pull Request #377 · Cor-Incorporated/opencode Conversation
|
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Follow-up to f26ea1d (review findings on #377): - A CLI that exits without reading the stdin the launcher hands it (bad flag, server start failure) made spawnSync report EPIPE for inputs over the socket buffer, and the launcher exited 1. The CLI's status now wins. - A stdin read error is an error, as it is for upstream's `text(process.stdin)`, instead of passing a truncated prompt on. - help / version requests skip the wait; Windows skips the fstat; a wait beyond setTimeout's limit is capped instead of firing after 1 ms. - README and the module comment state the upstream fix (anomalyco#61911), how the no-message case differs from it, and when to retire this file. Co-Authored-By: Claude Opus 5.5 <[email protected]> Agent-Lane: claude-code
Second review round on #377 (follow-up to 32be095): - A CLI killed by a signal before reading its input still produced an "EPIPE" launcher message; every EPIPE on the input now defers to the CLI, and a null status already exits 1. - A TCP stdin that delivers part of a prompt and is then reset must fail the launch. Turning the rejection back into a resolve fails this test. Co-Authored-By: Claude Opus 5.5 <[email protected]> Agent-Lane: claude-code
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
閉じられない socket を stdin に渡すと opencode run が止まる
There was an error while loading. Please reload this page.