Description
WraithRun writes INFO-level log lines to stderr (via tracing). In PowerShell, any stderr output causes 0 to sometimes report the process as failed even when the actual exit code is 0.
This breaks CI/CD pipelines where Continue = 'Stop' is set, and confuses users who see red error text in their terminal for informational messages.
Reproduction
wraithrun --dry-run --task ssh-keys 2>
echo 0 # 0
wraithrun --dry-run --task ssh-keys
# stderr shows INFO lines in red
# Some CI systems interpret this as failure
Expected Behavior
Either:
- Default log level to WARN (use
RUST_LOG=info or --verbose to enable INFO)
- Use a structured logging format that doesn't trigger PowerShell's stderr error detection
- At minimum, document this behavior for CI users
Affected Files
cli/src/main.rs (tracing subscriber setup, default log level)
Description
WraithRun writes INFO-level log lines to stderr (via
tracing). In PowerShell, any stderr output causes0to sometimes report the process as failed even when the actual exit code is 0.This breaks CI/CD pipelines where
Continue = 'Stop'is set, and confuses users who see red error text in their terminal for informational messages.Reproduction
Expected Behavior
Either:
RUST_LOG=infoor--verboseto enable INFO)Affected Files
cli/src/main.rs(tracing subscriber setup, default log level)