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

microlinkhq / browserless / 41681087503
77%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2026 05:08PM UTC
Jobs 12
Files 62
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 Nov 2026 05:07PM UTC coverage: 77.714% (+0.02%) from 77.691%
41681087503

push

github

web-flow
fix(browserless): a call running when its context is destroyed does not retry (#1017)

* fix(browserless): a call running when its context is destroyed does not retry

destroyContext() closed the context without telling the retry loop, so
a call still running in it got a retryable error and opened a new
context nobody closed. Retry recovery could not tell a crash from a
deliberate destroy; only an opt-in force flag did.

Now a call that was running when destroyContext() happened aborts with
AbortError, and a non-retryable error still reaches the caller. A call
made after destroyContext() still opens a new context, and with a
credentialed proxyServer it now starts a new forwarder instead of
pointing Chromium at the one destroyContext() closed. force is
deprecated and has no effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(browserless): open a destroyed context on demand and stop retrying once closed

- destroyContext() drops the context it closes, so a call that starts
  while it runs, or with retry: 0 right after it, opens a new context
  instead of hanging on, or failing against, the closing one.
- A retry after browser.close() aborts instead of opening a context
  with the raw proxyServer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(browserless): check for a destroyed context when each attempt starts

- p-retry waits between attempts, and a destroyContext() or close() in
  that wait went unseen: the next attempt opened a context nobody
  closed. Each attempt now checks before opening a page.
- The closed-browser check runs after the retryable check, so a
  non-retryable error during close reaches the caller unchanged.
- The html() abort test waits for a local server that never answers
  instead of example.com and a fixed delay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(browserless): reject a call that finishes after destroyContext

A call whose function resolved after destroyContext() ... (continued)

2202 of 2482 branches covered (88.72%)

Branch coverage included in aggregate %.

30 of 30 new or added lines in 1 file covered. (100.0%)

7820 of 10414 relevant lines covered (75.09%)

57716.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 @browserless/screenshot - 41681087503.1 03 Nov 2026 05:09PM UTC 12
74.64
GitHub Action Run
2 @browserless/lighthouse - 41681087503.2 03 Nov 2026 05:09PM UTC 3
97.83
GitHub Action Run
3 @browserless/cli - 41681087503.3 03 Nov 2026 05:08PM UTC 3
85.11
GitHub Action Run
4 @browserless/devices - 41681087503.4 03 Nov 2026 05:08PM UTC 1
95.41
GitHub Action Run
5 @browserless/goto - 41681087503.5 03 Nov 2026 05:11PM UTC 7
76.04
GitHub Action Run
6 @browserless/screencast - 41681087503.6 03 Nov 2026 05:09PM UTC 1
96.08
GitHub Action Run
7 browserless - 41681087503.7 03 Nov 2026 05:10PM UTC 4
82.67
GitHub Action Run
8 @browserless/errors - 41681087503.8 03 Nov 2026 05:09PM UTC 1
99.45
GitHub Action Run
9 @browserless/ai - 41681087503.9 03 Nov 2026 05:10PM UTC 6
73.14
GitHub Action Run
10 @browserless/capture - 41681087503.10 03 Nov 2026 05:09PM UTC 11
86.63
GitHub Action Run
11 @browserless/function - 41681087503.11 03 Nov 2026 05:09PM UTC 3
95.4
GitHub Action Run
12 @browserless/agent - 41681087503.12 03 Nov 2026 05:09PM UTC 10
66.75
GitHub Action Run
Source Files on build 41681087503
  • Tree
  • List 62
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41681087503
  • 0efe6b8f on github
  • Prev Build on master (#41664926997)
  • Next Build on master (#42095928827)
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