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

Teamwork / kommentaar / 24847670430
53%
master: 54%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.2
DEFAULT BRANCH: master
Ran 23 Apr 2026 04:53PM UTC
Jobs 1
Files 10
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

23 Apr 2026 04:52PM UTC coverage: 52.291% (+0.3%) from 51.998%
24847670430

Pull #110

github

shane-tw
Fix enum variations not resolved for cross-package enum types

When a field annotated with {enum} has a type from another package
(e.g. `pkg.SomeType`), getEnumVariations was never called with the
correct type name. The SelectorExpr branch called canonicalType which
resolved the type to its underlying primitive and then jumped back via
goto start; the re-entry then called getEnumVariations with the
primitive name ("string") rather than the original type name
("SomeType"), so no constants were ever matched.

Fix: call getEnumVariations with the original pkg and type name before
executing goto start in the SelectorExpr branch, mirroring what the
Ident branch already does.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #110: Fix enum variations not resolved for cross-package enum types

7 of 9 new or added lines in 1 file covered. (77.78%)

116 existing lines in 1 file now uncovered.

1130 of 2161 relevant lines covered (52.29%)

41.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
42.79
1.07% docparse/jsonschema.go

Coverage Regressions

Lines Coverage ∆ File
116
42.79
1.07% docparse/jsonschema.go
Jobs
ID Job ID Ran Files Coverage
1 24847670430.1 23 Apr 2026 04:53PM UTC 10
52.29
GitHub Action Run
Source Files on build 24847670430
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #110
  • PR Base - master (#24713874621)
  • Delete
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