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

justin-millman / Kvasir / 13427266619
99%
master: 98%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 20 Feb 2025 03:29AM UTC
Jobs 2
Files 153
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

20 Feb 2025 03:28AM UTC coverage: 98.651% (+0.01%) from 98.641%
13427266619

push

github

justin-millman
Fix Bug causing Missing Information in Error Messages for Nested Relations

This commit fixes a bug that led to missing path information in error messages contextualizing Relations nested within
Aggregates. The previous code implicitly assumed that the Relation was always on the top-level Entity, and could
therefore get the first portion of the SyntheticType's typename from the reflected type of the RelationTracker's
property. But this was wrong if the Relation was actually nested within an Aggregate; in that case, the reflected type
was the Aggregate, and the Entity type (and any intermediate pathing) would be lost.

To solve this, I had to rework the RelationTracker a bit. A small amount was quality-of-life (specifically, the changs
to the AnnotatedName) but the meat (specifically, extending via property and tracking both contextualized and
decontextualized paths) were strictly necessary. I also moved some logic from other parts of the code base into the
RelationTracker to avoid breaking encapsulation.

3644 of 3754 branches covered (97.07%)

Branch coverage included in aggregate %.

47 of 47 new or added lines in 4 files covered. (100.0%)

5866 of 5886 relevant lines covered (99.66%)

5141.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Release - 13427266619.1 20 Feb 2025 03:29AM UTC 153
99.24
GitHub Action Run
2 Debug - 13427266619.2 20 Feb 2025 03:29AM UTC 153
98.39
GitHub Action Run
Source Files on build 13427266619
  • Tree
  • List 153
  • Changed 77
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 2009a371 on github
  • Prev Build on main (#13086144264)
  • Next Build on main (#13468337505)
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