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

dcdpr / jp / 26667859737
67%

Build:
DEFAULT BRANCH: main
Ran 29 May 2026 11:46PM UTC
Jobs 1
Files 396
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 May 2026 11:42PM UTC coverage: 66.012% (+0.01%) from 65.999%
26667859737

push

github

web-flow
enhance(cli): Fit `conversation ls` table to terminal width (#703)

The box table rendered by `jp conversation ls` could overflow the
terminal when conversation titles were long, mangling the box-drawing
borders and making the output hard to read.

The command now reads the terminal width at startup (stored as
`ctx.term.width`, `None` when stdout is piped) and uses it to decide how
to handle the title column before rendering. It first probes the table
at full width, then compares the rendered width against the terminal. If
the table overflows, the title is truncated to the remaining budget; if
even a header-width column would overflow, the title column is dropped
entirely. Piped and JSON output are unaffected and always receive full
titles.

Unicode display widths are computed via `unicode-width`, and ANSI colour
codes plus OSC 8 hyperlinks are stripped before measuring so that
invisible bytes do not distort the fit calculation.

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

37 of 124 new or added lines in 2 files covered. (29.84%)

48 existing lines in 3 files now uncovered.

32825 of 49726 relevant lines covered (66.01%)

323.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
86
13.68
13.68% crates/jp_cli/src/cmd/conversation/ls.rs
1
77.65
0.15% crates/jp_cli/src/ctx.rs

Coverage Regressions

Lines Coverage ∆ File
34
83.69
0.0% crates/jp_md/src/format.rs
10
96.58
-0.03% crates/jp_cli/src/render/chat.rs
4
13.68
13.68% crates/jp_cli/src/cmd/conversation/ls.rs
Jobs
ID Job ID Ran Files Coverage
1 26667859737.1 29 May 2026 11:46PM UTC 396
66.01
GitHub Action Run
Source Files on build 26667859737
  • Tree
  • List 396
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26667859737
  • b7218ee7 on github
  • Prev Build on main (#26667012764)
  • Next Build on main (#26683818862)
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