• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dcdpr / jp / 24075380725
67%

Build:
DEFAULT BRANCH: main
Ran 07 Apr 2026 09:57AM UTC
Jobs 1
Files 257
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Apr 2026 09:53AM UTC coverage: 64.127% (-0.02%) from 64.145%
24075380725

push

github

web-flow
feat(printer): Implement four-channel output model (#519)

Implements RFD 048, separating JP's output into four distinct channels:
stdout for assistant responses, stderr for chrome (tool headers,
progress indicators), `/dev/tty` for interactive prompts, and a log file
for tracing.

`Printer` gains a `PrintTarget::Tty` variant backed by `/dev/tty` on
Unix and `CONOUT$` on Windows. A new `prompt_writer()` method routes
interactive prompts to the TTY when available, falling back to stdout.
All tool renderers, retry notifications, and reasoning progress
indicators are moved to `err_writer()`, keeping stdout clean for
assistant output that downstream consumers can pipe or capture reliably.

Tracing is now written to a log file by default and suppressed on stderr
unless explicitly requested via `-v` or `--log-file=-`. This keeps `2>
chrome.log` free of tracing noise. A new `--log-file` flag supports
directing logs to an alternate destination, with `--log-file=-`
restoring the previous behavior of logging to stderr.

Closes: #518

Signed-off-by: Jean Mertz <git@jeanmertz.com>

42 of 103 new or added lines in 7 files covered. (40.78%)

5 existing lines in 2 files now uncovered.

19996 of 31182 relevant lines covered (64.13%)

259.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
1.92
-0.04% crates/jp_cli/src/lib.rs
19
82.04
-2.07% crates/jp_printer/src/printer.rs
3
81.89
0.0% crates/jp_cli/src/cmd/query/tool/renderer.rs
2
90.12
0.0% crates/jp_cli/src/cmd/query/stream/retry.rs
1
62.5
0.0% crates/jp_cli/src/cmd/query/interrupt/signals.rs

Coverage Regressions

Lines Coverage ∆ File
4
1.92
-0.04% crates/jp_cli/src/lib.rs
1
82.04
-2.07% crates/jp_printer/src/printer.rs
Jobs
ID Job ID Ran Files Coverage
1 24075380725.1 07 Apr 2026 09:57AM UTC 257
64.13
GitHub Action Run
Source Files on build 24075380725
  • Tree
  • List 257
  • Changed 7
  • Source Changed 7
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24075380725
  • 689b92c4 on github
  • Prev Build on main (#24001955604)
  • Next Build on main (#24127426485)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc