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

openconfig / ygot / 44631425805
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: renovate/deps
DEFAULT BRANCH: master
Ran 19 Nov 2026 10:47PM UTC
Jobs 1
Files 85
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

19 Nov 2026 10:40PM UTC coverage: 88.775%. Remained the same
44631425805

Pull #1127

github

eoswald
ytypes, util: avoid eager pretty-printing in debug-only unmarshal logs

Three util.DbgPrint calls on the unmarshal path built their argument
with pretty.Sprint before DbgPrint checked its off-by-default
debugLibrary flag, so every unmarshalled container, list and map entry
pretty-printed its whole subtree even with debugging disabled:

  - ytypes/container.go: "container after unmarshal"
  - ytypes/list.go: "list after unmarshal"
  - util/reflect.go: InsertIntoMap

Pass util.ValueStrDebug(...) instead, as the neighbouring debug calls
already do; it returns "<not calculated>" unless debugging is enabled
and is otherwise ValueStr. Remove the now-unused pretty imports.

Add BenchmarkUnmarshal in ytypes/schema_tests (100 interfaces x 10
subinterfaces of exampleoc, emitted as RFC7951 JSON).
Pull Request #1127: ytypes, util: avoid eager pretty-printing in debug-only unmarshal logs

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

14148 of 15937 relevant lines covered (88.77%)

1523.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44631425805.1 19 Nov 2026 10:47PM UTC 85
88.77
GitHub Action Run
Source Files on build 44631425805
  • Tree
  • List 85
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1127
  • PR Base - master (#44427679515)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc