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

facet-rs / facet / 19871853185
58%

Build:
DEFAULT BRANCH: main
Ran 02 Dec 2025 08:04PM UTC
Jobs 1
Files 170
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

02 Dec 2025 08:03PM UTC coverage: 58.813% (+0.05%) from 58.759%
19871853185

push

github

fasterthanlime
Preserve KDL parse error diagnostics in facet-kdl

When the kdl crate fails to parse a document, it provides rich diagnostic
information (line numbers, spans, labels). Previously, facet-kdl wrapped
the error but lost all this information - users only saw 'Failed to parse
KDL document'.

This change modifies the miette::Diagnostic impl for KdlError to delegate
to the inner kdl::KdlError for parse errors:
- source_code() now returns the source from the inner error
- related() exposes the sub-diagnostics from kdl::KdlError

Also adds:
- Test verifying parse error diagnostics are preserved
- Two syntax error scenarios in the KDL showcase

6 of 9 new or added lines in 1 file covered. (66.67%)

20491 of 34841 relevant lines covered (58.81%)

539.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
28.45
9.61% facet-kdl/src/error.rs
Jobs
ID Job ID Ran Files Coverage
1 19871853185.1 02 Dec 2025 08:04PM UTC 170
58.81
GitHub Action Run
Source Files on build 19871853185
  • Tree
  • List 170
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bf813a23 on github
  • Prev Build on main (#19871315706)
  • Next Build on main (#19875677371)
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