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

dcdpr / jp / 28380998841
69%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2026 02:54PM 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:51PM UTC coverage: 67.303% (+0.03%) from 67.271%
28380998841

push

github

web-flow
feat(cli, term): Show conversation attachments in `jp conversation show` (#813)

`jp conversation show` now lists the attachments associated with a
conversation under an "Attachments" field. Each attachment renders as
`scheme (description): url` when the URL carries a `description` query
parameter, and as the bare URL otherwise. The JSON output serializes
each attachment as an object with `scheme`, `description`, and `url`
fields.

To support list-valued fields in the details view, `jp_term::table`
gains three new types: `DetailRow`, `DetailValue`, and `DetailItem`.
`DetailRow` replaces the raw `comfy_table::Row` type throughout
`print_details`, `details`, `details_markdown`, and `details_json`. A
`DetailValue::List` renders as a bulleted block in the pretty terminal
view, expands to one row per item in the pipe-delimited markdown view,
and becomes a JSON array in the JSON views. The `DetailItem` type lets
the text and JSON representations differ so an attachment can read
naturally in the terminal while still being structured in JSON.

`DetailsFmt` in `jp_cli` gains an `attachments` field and a
`with_attachments` builder method, and the `attachment_detail_item`
helper in `jp_cli::format` constructs the right `DetailItem` from any
attachment URL.

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

100 of 182 new or added lines in 7 files covered. (54.95%)

7 existing lines in 2 files now uncovered.

37040 of 55035 relevant lines covered (67.3%)

408.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
48
0.0
0.0% crates/jp_cli/src/format/conversation.rs
17
18.18
-61.82% crates/jp_cli/src/format.rs
6
0.0
0.0% crates/jp_cli/src/cmd/conversation/show.rs
5
38.01
0.29% crates/jp_cli/src/lib.rs
5
97.41
-0.52% crates/jp_term/src/table.rs
1
0.0
0.0% crates/jp_cli/src/cmd/attachment/ls.rs

Coverage Regressions

Lines Coverage ∆ File
6
0.0
0.0% crates/jp_cli/src/format/conversation.rs
1
0.0
0.0% crates/jp_cli/src/cmd/conversation/show.rs
Jobs
ID Job ID Ran Files Coverage
1 28380998841.1 29 Jun 2026 02:54PM UTC 422
67.3
GitHub Action Run
Source Files on build 28380998841
  • Tree
  • List 422
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28380998841
  • addfa9a5 on github
  • Prev Build on main (#28378805656)
  • Next Build on main (#28382385386)
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