Skip to content

perf(browserless): retry only transient context reset errors#663

Merged
Kikobeats merged 1 commit intomasterfrom
codex/fix-retry-amplification
Feb 26, 2026
Merged

perf(browserless): retry only transient context reset errors#663
Kikobeats merged 1 commit intomasterfrom
codex/fix-retry-amplification

Conversation

@Kikobeats
Copy link
Member

@Kikobeats Kikobeats commented Feb 26, 2026

Note

Low Risk
Low risk: narrows retry behavior to a single known transient error code and adds targeted tests; main risk is reduced resiliency if other errors were previously (incorrectly) being masked by retries.

Overview
withPage now retries only when the failure is a transient browser-context connection reset (EBRWSRCONTEXTCONNRESET), and immediately rethrows any other error instead of recreating the context and retrying.

Adds test coverage to ensure non-transient errors are not retried and that transient context disconnections do retry and recover.

Written by Cursor Bugbot for commit f8418da. This will update automatically on new commits. Configure here.

@Kikobeats Kikobeats merged commit 43c1061 into master Feb 26, 2026
11 checks passed
@Kikobeats Kikobeats deleted the codex/fix-retry-amplification branch February 26, 2026 20:14
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.

1 participant