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

dcdpr / jp / 26667012764
66%

Build:
DEFAULT BRANCH: main
Ran 29 May 2026 11:18PM 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:15PM UTC coverage: 65.999% (+0.1%) from 65.885%
26667012764

push

github

web-flow
fix(attachment_cmd_output, cli): Improve errors on attachment failures (#701)

When an attachment handler failed, the error was converted to a plain
string (`Error::Attachment(e.to_string())`), discarding the source
error's cause chain and losing track of which URI triggered the failure.

A new `Error::AttachmentFailed { uri, source }` variant now carries both
the offending URI and the boxed source error. All call sites in
`register_attachment` and `validate_attachment` have been updated to use
it, so the user sees which attachment failed and the full underlying
reason.

On the `cmd://` side, a failed spawn produced a bare `io::Error` ("No
such file or directory") with no mention of the binary name. The command
line is now captured before calling `.run()` and prepended to the error
message, e.g.: `failed to run command \`jp-definitely-missing-binary
--check\`: ...`

The `AttachmentFailed` variant is also wired into the CLI error renderer
so the URI appears in the structured output alongside the cause chain.

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

4 of 15 new or added lines in 3 files covered. (26.67%)

32758 of 49634 relevant lines covered (66.0%)

258.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
53.57
8.7% crates/jp_cli/src/cmd/attachment.rs
4
21.29
-0.18% crates/jp_cli/src/cmd.rs
Jobs
ID Job ID Ran Files Coverage
1 26667012764.1 29 May 2026 11:17PM UTC 396
66.0
GitHub Action Run
Source Files on build 26667012764
  • Tree
  • List 396
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26667012764
  • 79c05e39 on github
  • Prev Build on main (#26665150825)
  • Next Build on main (#26667859737)
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