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

facet-rs / facet / 20100700279
58%

Build:
DEFAULT BRANCH: main
Ran 10 Dec 2025 01:45PM UTC
Jobs 1
Files 218
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

10 Dec 2025 01:43PM UTC coverage: 58.618% (+0.01%) from 58.607%
20100700279

push

github

fasterthanlime
fix: handle transparent structs in untagged enum variant resolution

When the solver analyzes untagged enum variants for field matching, it
now properly unwraps transparent wrappers and proxy types to find the
actual fields that appear in the serialized format.

Previously, a variant like `Linear(Curve64)` where `Curve64` is a
transparent wrapper around `GCurve<f64, f64>` (which uses a proxy
`GCurveProxy<f64, f64>`) would fail to match JSON like
`{"x":[0.0,1.0],"y":[0.22,0.25]}` because the solver only saw the
transparent struct's single tuple field, not the proxy's x/y fields.

The fix adds `unwrap_to_effective_shape()` which recursively unwraps:
1. Transparent wrappers (shape.inner)
2. Proxy types (shape.proxy)

This ensures the solver sees the actual fields used for serialization.

Fixes #1191

13 of 13 new or added lines in 1 file covered. (100.0%)

27123 of 46271 relevant lines covered (58.62%)

615.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20100700279.1 10 Dec 2025 01:45PM UTC 218
58.62
GitHub Action Run
Source Files on build 20100700279
  • Tree
  • List 218
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • eaae4b56 on github
  • Prev Build on main (#20097965849)
  • Next Build on main (#20102737478)
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