Skip to content

wasi/cli: restore cli({ passthrough }) — a consumer depends on it - #308

Merged
lannbot merged 1 commit into
mainfrom
wasi/restore-cli-passthrough
Sep 7, 2026
Merged

wasi/cli: restore cli({ passthrough }) — a consumer depends on it#308
lannbot merged 1 commit into
mainfrom
wasi/restore-cli-passthrough

Conversation

@lannbot

@lannbot lannbot commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

2e2b72e (the incidental-complexity sweep, #260) deleted CliOptions.passthrough as a speculative hedge. It was not: lann/wosh (site/polyengine-entry.ts) passes passthrough: true because its guest's stderr is its only diagnostic channel, and a buffered stderr nobody reads is a black box exactly when the network is misbehaving. The sweep's consumer scan covered ~/p/polymorph/ only and missed wosh (still pinned to @polyengine/wasi@0.5.1, so it breaks on upgrade rather than today).

Restored as it was: 0.2 OutputStream sink and 0.3 write-via-stream both mirror to console.log/console.error; default off. Plus a test pinning both tracks and the default-off case, so the next sweep finds in-repo evidence of use.

Compatible addition; no breaking label. Gates: just test-wasi (281 pass), just version-guard-local.

Automerge armed.

2e2b72e (the incidental-complexity sweep) deleted `CliOptions.passthrough`
as a speculative hedge. It was not: lann/wosh (site/polyengine-entry.ts)
passes `passthrough: true` because its guest's stderr is the only
diagnostic channel it has, and a buffered stderr nobody reads is a black
box exactly when the network is misbehaving. The sweep's consumer check
covered ~/p/polymorph only and missed wosh.

Restored as it was (0.2 OutputStream sink and 0.3 write-via-stream both
mirror to console.log/console.error; default off), plus a test that pins
it so the next sweep sees in-repo evidence of use. Compatible addition;
no breaking label.
@lannbot
lannbot enabled auto-merge September 7, 2026 12:19
@lannbot
lannbot merged commit 7838a87 into main Sep 7, 2026
4 checks passed
@lannbot
lannbot deleted the wasi/restore-cli-passthrough branch September 7, 2026 12:23
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