Skip to content

Redirect mise use output to /dev/null in generated wrappers - #10327

Closed
surim0n wants to merge 1 commit into
omacom:quattrofrom
surim0n:fix/mise-stdout-redirect
Closed

Redirect mise use output to /dev/null in generated wrappers#10327
surim0n wants to merge 1 commit into
omacom:quattrofrom
surim0n:fix/mise-stdout-redirect

Conversation

@surim0n

@surim0n surim0n commented Sep 5, 2026

Copy link
Copy Markdown

Summary

omarchy-mise-install now redirects mise use -g --quiet stdout to /dev/null in the generated wrapper. This prevents mise progress output (e.g. tools: codex@0.147.0) from leaking into the wrapper's stdout, which breaks protocol-speaking tools such as codex app-server.

Fixes #7376.

Test plan

  • Manually generated a wrapper and confirmed it contains mise use -g --quiet "<package>" >/dev/null || exit 1
  • Updated test/shell.d/mise-wrapper-quiet-migration-test.sh expectations to match the new wrapper form
  • Run ./test/all on a Linux box (not available in this environment)

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>
@surim0n

surim0n commented Sep 8, 2026

Copy link
Copy Markdown
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.

@surim0n surim0n closed this Sep 8, 2026
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.

Omarchy v4

1 participant