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

Teamwork / kommentaar / 28531398977
55%
master: 55%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.3
DEFAULT BRANCH: master
Ran 01 Jul 2026 04:11PM 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

01 Jul 2026 04:11PM UTC coverage: 55.144% (+1.5%) from 53.654%
28531398977

Pull #115

github

shane-tw
docparse: cache package resolution to avoid repeated go list calls

resolvePackageWithFallback calls goutil.ResolvePackage (build.Import)
for every unique type reference. In module mode build.Import can spawn
a go list subprocess, making each call expensive even when resolving
the same package repeatedly.

Add two caches:
- resolvedPkgCache: keyed by import path, caches *build.Package from
  resolvePackageWithFallback so build.Import is called at most once
  per unique import path per run
- resolveImportCache: keyed by (currentFile, pkgPath), caches results
  from goutil.ResolveImport so short package names are only resolved
  to full import paths once per source file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #115: docparse: parse source files in parallel

127 of 143 new or added lines in 1 file covered. (88.81%)

2 existing lines in 1 file now uncovered.

1281 of 2323 relevant lines covered (55.14%)

40.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
57.9
5.78% docparse/find.go

Coverage Regressions

Lines Coverage ∆ File
2
57.9
5.78% docparse/find.go
Jobs
ID Job ID Ran Files Coverage
1 28531398977.1 01 Jul 2026 04:11PM UTC 10
55.14
GitHub Action Run
Source Files on build 28531398977
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #115
  • PR Base - master (#27542449118)
  • 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