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

ukeeper / ukeeper-readability / 28681140645
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: fix/docker-gha-cache
DEFAULT BRANCH: master
Ran 03 Jul 2026 08:04PM UTC
Jobs 1
Files 9
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

03 Jul 2026 07:57PM UTC coverage: 77.845% (-0.1%) from 77.947%
28681140645

Pull #85

github

paskal
Stream image sizing, share client, honor context, cap concurrency

getImageSize buffered every image fully into memory via io.ReadAll, built
a fresh http.Client per image, ignored the request context, and spawned
one unbounded goroutine per <img> on the page.

It now streams to io.Discard behind a 10MB io.LimitReader (reading the body
rather than trusting Content-Length, so a lying header can't inflate an
image's rank), shares a single lazily-built client, and propagates the
caller's context. extractPics caps concurrency at 8 probes per page and
bounds the whole probe phase with an overall budget (per-image timeout kept
below it) so a page full of slow image URLs can't hold the handler past the
write timeout; semaphore acquisition is context-aware. Lead-image selection
breaks size ties by URL so it's deterministic rather than scheduling-dependent.
Pull Request #85: Stream image sizing, share client, honor context, cap concurrency

35 of 38 new or added lines in 2 files covered. (92.11%)

1 existing line in 1 file now uncovered.

773 of 993 relevant lines covered (77.84%)

9.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
92.75
-3.91% extractor/pics.go

Coverage Regressions

Lines Coverage ∆ File
1
92.75
-3.91% extractor/pics.go
Jobs
ID Job ID Ran Files Coverage
1 28681140645.1 03 Jul 2026 08:04PM UTC 9
77.84
GitHub Action Run
Source Files on build 28681140645
  • Tree
  • List 9
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #85
  • PR Base - master (#28463114096)
  • 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