Redirect mise use output to /dev/null in generated wrappers - #10327
Closed
surim0n wants to merge 1 commit into
Closed
Redirect mise use output to /dev/null in generated wrappers#10327surim0n wants to merge 1 commit into
surim0n wants to merge 1 commit into
Conversation
mise use -g --quiet still emits progress to stdout for some tools, polluting the JSON wire stream of protocol-based agents like codex app-server. Fixes omacom#7376 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Author
|
Withdrawing as a fix for #7376. On review, the reported wrapper lacked --quiet; #6940 already added that flag and #8041 migrated older wrappers. Offline tests with official mise 2026.8.3 and 2026.9.2 produced clean setup stdout with --quiet, so I have not established a remaining failure requiring this extra redirection. The redirection itself is additional defensive hardening, not already merged, but this generator-only change also does not migrate existing quiet wrappers. I would revisit it only with a concrete post-quiet reproduction and behavioral migration coverage. |
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
omarchy-mise-installnow redirectsmise use -g --quietstdout to/dev/nullin the generated wrapper. This preventsmiseprogress output (e.g.tools: codex@0.147.0) from leaking into the wrapper's stdout, which breaks protocol-speaking tools such ascodex app-server.Fixes #7376.
Test plan
mise use -g --quiet "<package>" >/dev/null || exit 1test/shell.d/mise-wrapper-quiet-migration-test.shexpectations to match the new wrapper form./test/allon a Linux box (not available in this environment)