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

dcdpr / jp / 25437098708
66%

Build:
DEFAULT BRANCH: main
Ran 06 May 2026 01:10PM UTC
Jobs 1
Files 299
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

06 May 2026 01:06PM UTC coverage: 66.046% (+0.03%) from 66.017%
25437098708

push

github

web-flow
fix(cli, render): Fix structured fence leaks and missing headers (#603)

Three related rendering bugs are addressed in `TurnView` and the
`TurnCoordinator`:

1. **Unclosed structured fences.** A conversation ending on a
`ChatResponse::Structured` would print an opening ` ```json ` with no
matching close. `flush()` only drained the chat sub-renderer; the
structured renderer was left open. Content boundaries (`begin_turn`,
`render_user_request`, `render_chat_response`, `enter_tool_call`,
`reconfigure`) now each call `structured.flush()` before proceeding, and
the top-level `flush()` (formerly `flush_all()`) closes both renderers.
The old `flush()` (chat-only) is removed; `flush_all()` is renamed to
`flush()`.

2. **Missing assistant header after Continue-before-first-chunk.**
`reset_for_continuation` unconditionally set `assistant_header_rendered
= true`, so if the user interrupted before any chunk arrived the flag
was forced on and the resumed output had no `── jp …` boundary. The flag
is now left as-is; if no header had been emitted yet it stays `false`
and the next assistant event renders one normally.

3. **Missing user header on Reply interrupt (live vs replay gap).** When
the user replied mid-stream, the new `ChatRequest` was pushed to the
conversation but never rendered in live mode, so the terminal showed no
`── alice …` boundary. `coordinator.rs` now calls
`view.render_user_request()` before pushing the event, matching what
replay emits.

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

11 of 11 new or added lines in 2 files covered. (100.0%)

25518 of 38637 relevant lines covered (66.05%)

204.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25437098708.1 06 May 2026 01:10PM UTC 299
66.05
GitHub Action Run
Source Files on build 25437098708
  • Tree
  • List 299
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25437098708
  • 698ac5e8 on github
  • Prev Build on main (#25427107482)
  • Next Build on main (#25437138375)
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