Skip to content

fix(cli): harden non-install command output mode rendering#87

Merged
ian-pascoe merged 1 commit intomainfrom
opencode/brave-comet
Mar 3, 2026
Merged

fix(cli): harden non-install command output mode rendering#87
ian-pascoe merged 1 commit intomainfrom
opencode/brave-comet

Conversation

@ian-pascoe
Copy link
Contributor

Summary

  • harden non-install command rendering so progress-backed flows use progress-safe line/status emission and skip zero-work progress output
  • enforce strict output-style split (Rich only when both stdout/stderr are TTY; otherwise plain), while keeping raw payload/script outputs undecorated
  • expand CLI tests for output-style contracts, update-output planning behavior, and zero-work progress handling

Validation

  • rustup run stable cargo fmt --all
  • rustup run stable cargo clippy -p crosspack-cli --all-targets -- -D warnings
  • rustup run stable cargo test -p crosspack-cli
  • cargo run -q -p crosspack-cli --bin crosspack -- update
  • script -q -c "cargo run -q -p crosspack-cli --bin crosspack -- update" /dev/null

@ian-pascoe ian-pascoe merged commit beb1614 into main Mar 3, 2026
6 checks passed
@ian-pascoe ian-pascoe deleted the opencode/brave-comet branch March 3, 2026 12:03
@crosspack-bot crosspack-bot bot mentioned this pull request Mar 3, 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.

1 participant