Skip to content

🎨 Palette: Route UI messages to stderr#162

Merged
ffalcinelli merged 3 commits into
mainfrom
palette/route-ui-stderr-8284257667057775811
Jul 12, 2026
Merged

🎨 Palette: Route UI messages to stderr#162
ffalcinelli merged 3 commits into
mainfrom
palette/route-ui-stderr-8284257667057775811

Conversation

@ffalcinelli

Copy link
Copy Markdown
Owner

πŸ’‘ What: Modified print_info, print_success, print_error, and print_warn methods in DialoguerUi (src/utils/ui.rs) to use eprintln! instead of println!.
🎯 Why: To adhere to Unix philosophies and allow users to pipe CLI data output from stdout cleanly without mixing it with UI messages and feedback.
πŸ“Έ Before/After:
Before:

fn print_info(&self, msg: &str) {
    println!("{} {}", INFO, msg);
}

After:

fn print_info(&self, msg: &str) {
    eprintln!("{} {}", INFO, msg);
}

β™Ώ Ergonomics: Better interoperability with standard Unix tools like jq or file redirection, preventing broken pipelines due to informational logs polluting standard output.


PR created automatically by Jules for task 8284257667057775811 started by @ffalcinelli

Co-authored-by: ffalcinelli <1167082+ffalcinelli@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 95.86%. Comparing base (e91110c) to head (adff821).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #162   +/-   ##
=======================================
  Coverage   95.86%   95.86%           
=======================================
  Files          28       28           
  Lines        2345     2345           
=======================================
  Hits         2248     2248           
  Misses         97       97           

β˜” View full report in Codecov by Harness.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

google-labs-jules Bot and others added 2 commits July 11, 2026 18:47
@ffalcinelli ffalcinelli merged commit 56e7192 into main Jul 12, 2026
10 checks passed
@ffalcinelli ffalcinelli deleted the palette/route-ui-stderr-8284257667057775811 branch July 12, 2026 13:57
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