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

dcdpr / jp / 28170221208
69%

Build:
DEFAULT BRANCH: main
Ran 25 Jun 2026 12:32PM UTC
Jobs 1
Files 420
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

25 Jun 2026 12:30PM UTC coverage: 67.005% (+0.04%) from 66.969%
28170221208

push

github

web-flow
fix(cli, printer): Fix missing/extra blank lines around tool output (#795)

Previously, tool call headers, custom argument blocks, and results
managed their own trailing newlines independently, leading to missing
blank lines between a tool result and the next tool header, or double
blank lines when visible assistant content followed a result.

A new lazy separator mechanism replaces the hardcoded trailing `\n\n`
writes. After a tool result or custom argument block renders, a shared
`AtomicBool` flag is raised to signal that the next tool call header
owes a blank line above it. The separator is emitted just before the
header (or temp line) and cleared immediately. Visible assistant content
arriving between two tool calls clears the flag without emitting the
blank line, since it supplies its own spacing. Hidden reasoning, which
renders nothing, leaves the flag untouched so the debt survives.

The `TurnView` is wired to the same flag so streaming turns (via
`turn_loop`) and replay turns (via `TurnRenderer`) both benefit. A new
`ErrChannel` wrapper in `jp_printer` enforces at compile-time that
chrome renderers write only to stderr, replacing the previous
`Arc<Printer>` pattern in `ToolRenderer`.

---------

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

75 of 80 new or added lines in 7 files covered. (93.75%)

36511 of 54490 relevant lines covered (67.0%)

403.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
82.04
1.99% crates/jp_cli/src/render/tool.rs
Jobs
ID Job ID Ran Files Coverage
1 28170221208.1 25 Jun 2026 12:32PM UTC 420
67.0
GitHub Action Run
Source Files on build 28170221208
  • Tree
  • List 420
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28170221208
  • b55f3f83 on github
  • Prev Build on main (#28168709525)
  • Next Build on main (#28170796010)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc