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

microlinkhq / browserless / 30949979540
81%

Build:
DEFAULT BRANCH: master
Ran 04 Aug 2026 08:55PM UTC
Jobs 9
Files 36
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

04 Aug 2026 08:54PM UTC coverage: 80.583% (+1.9%) from 78.732%
30949979540

push

github

web-flow
fix: context leaks, screenshot readiness, and prepare scroll (#869)

* fix(screenshot): hydrate white overflow viewports during readiness

tryHydrateScroll was gated on !isWhite, but the default isPageReady is
!isWhite — so a white viewport made the hydrate condition unreachable.
Overflow/lazy SPAs that stay blank until scrolled never got the one-shot
hydrate from #852, and fullPage/PDF then skipped prepareFullDocument and
returned a blank capture as success.

Drop the !isWhite guard so the budgeted hydrate can run when the viewport
is still white.

Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>

* fix(screenshot): drop probe quality; tolerate prepare scroll nav

#852's fullPage readiness probe clears `path` so it does not write during
the white check. #858 keeps `quality` when that path looked lossy. Together
the probe becomes `{ quality }` on puppeteer's png default and throws
`png screenshots do not support 'quality'`. Drop quality with the path on
the probe; the final fullPage capture still receives both.

Also wrap prepareFullDocument's scroll in pReflect like its overflow wait
and expand siblings. A SPA that client-navigates during the multi-second
scroll was failing the whole PDF/fullPage job with a bare context-destroyed
throw from settleDom/evaluate.

Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>

* fix(function): destroy browser context after each page invocation

runWithBrowser created an isolated BrowserContext per call but only
closed the page via withPage, so repeated @browserless/function runs
that reference page accumulated orphaned Chromium contexts until the
process exhausted memory. Tear the context down in a finally block,
including when withPage rejects.

Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>

* test(function): assert context teardown after withPage failure

Lock in that destroyContext still runs when the page path rejects, so
orphaned BrowserContexts cannot accumulate on the ... (continued)

725 of 886 branches covered (81.83%)

Branch coverage included in aggregate %.

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

3836 of 4774 relevant lines covered (80.35%)

104958.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.05
0.09% packages/function/src/index.js
Jobs
ID Job ID Ran Files Coverage
1 @browserless/lighthouse - 30949979540.1 04 Aug 2026 08:56PM UTC 3
97.83
GitHub Action Run
2 @browserless/function - 30949979540.2 04 Aug 2026 08:56PM UTC 3
97.04
GitHub Action Run
3 @browserless/goto - 30949979540.3 04 Aug 2026 08:57PM UTC 3
75.71
GitHub Action Run
4 browserless - 30949979540.4 04 Aug 2026 08:56PM UTC 3
79.54
GitHub Action Run
5 @browserless/capture - 30949979540.5 04 Aug 2026 08:55PM UTC 11
86.63
GitHub Action Run
6 @browserless/screenshot - 30949979540.6 04 Aug 2026 08:56PM UTC 10
69.67
GitHub Action Run
7 @browserless/screencast - 30949979540.7 04 Aug 2026 09:00PM UTC 1
95.74
GitHub Action Run
8 @browserless/devices - 30949979540.8 04 Aug 2026 08:55PM UTC 1
94.92
GitHub Action Run
9 @browserless/errors - 30949979540.9 04 Aug 2026 08:55PM UTC 1
99.42
GitHub Action Run
Source Files on build 30949979540
  • Tree
  • List 36
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30949979540
  • c3aa05a6 on github
  • Prev Build on master (#30848738069)
  • Next Build on master (#30987001488)
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