Skip to content

Relaunch crashed browser - #1295

Merged
Ndpnt merged 4 commits into
mainfrom
relaunch-crashed-browser
Nov 9, 2026
Merged

Ndpnt merged 4 commits into
mainfrom
relaunch-crashed-browser

Conversation

@Ndpnt

@Ndpnt Ndpnt commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Fixes #1294.

When the headless browser crashed, the fetcher kept using the dead instance, so every following fetch of the run failed on its closed connection, and the terms were reported as inaccessible.

  • Relaunch the browser on the next fetch, with the language it was launched with; concurrent fetches share a single relaunch
  • Report a fetch interrupted by the crash as Headless browser crashed, a likely transient error, so that tracking gives it a new attempt at the end of the run
  • Unset the browser before closing it in stopHeadlessBrowser, so that a deliberate stop is not mistaken for a crash

@Ndpnt
Ndpnt enabled auto-merge November 9, 2026 10:25
@Ndpnt
Ndpnt merged commit 4dbbdf9 into main Nov 9, 2026
8 checks passed
@Ndpnt
Ndpnt deleted the relaunch-crashed-browser branch November 9, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

One headless browser crash fails every fetch after it in the same run

2 participants