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

dcdpr / jp / 28378805656
69%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2026 02:33PM UTC
Jobs 1
Files 422
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

29 Jun 2026 02:18PM UTC coverage: 67.271% (+0.03%) from 67.242%
28378805656

push

github

web-flow
fix(cli, conversation): Show stable raw turn numbers in print headers (#810)

Turn headers shown by `jp conversation print` now display the
pre-projection (raw) turn number rather than the position in the
projected iterator. This means the number in the header matches the
argument `jp conversation compact --from/--to` accepts, so users can
reference a printed turn directly in a compact command without having to
account for how many earlier turns were collapsed.

In the compacted view, a summary turn that stands in for several raw
turns shows the full range it replaced, e.g. `turns 2–5, 12 minutes
ago`, while a single-turn summary continues to show `turn N`. The
`TurnSelection::Index` path also resolves by raw turn number now, so `jp
conversation print --turn N` is consistent with the header.

A new `TurnOrigin` enum is returned by `apply_projection()` and threaded
through to `TurnRenderer::render_turn`, carrying the mapping from each
projected turn back to its raw source turn(s). When no compaction is
present every turn maps to `TurnOrigin::Kept` of its own index, so
behaviour is unchanged for uncompacted views.

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

73 of 77 new or added lines in 4 files covered. (94.81%)

2 existing lines in 1 file now uncovered.

36956 of 54936 relevant lines covered (67.27%)

388.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.08
-0.7% crates/jp_conversation/src/stream/projection.rs
1
90.91
0.43% crates/jp_cli/src/cmd/conversation/print.rs

Coverage Regressions

Lines Coverage ∆ File
2
96.08
-0.7% crates/jp_conversation/src/stream/projection.rs
Jobs
ID Job ID Ran Files Coverage
1 28378805656.1 29 Jun 2026 02:33PM UTC 422
67.27
GitHub Action Run
Source Files on build 28378805656
  • Tree
  • List 422
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28378805656
  • 87da4982 on github
  • Prev Build on main (#28378661224)
  • Next Build on main (#28380998841)
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