Skip to content

Fix: Detect a websocket connection that died without a close (upstream #15406) - #3570

Merged
kblok merged 5 commits into
masterfrom
cursor/implement-upstream-15406-c423
Sep 4, 2026
Merged

kblok merged 5 commits into
masterfrom
cursor/implement-upstream-15406-c423

Conversation

@kblok

@kblok kblok commented Sep 3, 2026

Copy link
Copy Markdown
Member

Implements changes from puppeteer/puppeteer#15406 as part of puppeteer-core-v25.10.0.

Changes

  • Add WsOptions with keep-alive ping/pong for dead WebSocket detection
  • Wire WsOptions through ConnectOptions, LaunchOptions, and IConnectionOptions
  • Configure ClientWebSocket keep-alive on .NET 9+
  • Add WebSocketTransportKeepAliveTests
Open in Web Open in Cursor 

cursoragent and others added 5 commits September 3, 2026 15:14
Port upstream Puppeteer PR #15406 to detect dead WebSocket connections
via ping/pong keep-alive. Adds WsOptions with KeepAlive and
KeepAliveIntervalMs, deprecates top-level Headers in favor of
WsOptions.Headers, and configures ClientWebSocket ping/pong on .NET 9+.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
@cursor

cursor Bot commented Sep 4, 2026

Copy link
Copy Markdown

Additional CI blocker: Superseded run still holding 4 runners (not current HEAD 0a88e23):

Please cancel if possible — agent gets 403 on gh run cancel. This is starving the rest of the 25.10.0 PR queue.

@kblok
kblok marked this pull request as ready for review September 4, 2026 01:36
@cursor cursor Bot mentioned this pull request Sep 4, 2026
1 of 2 tasks
@cursor
cursor Bot deleted the cursor/implement-upstream-15406-c423 branch September 4, 2026 03:36
@cursor
cursor Bot restored the cursor/implement-upstream-15406-c423 branch September 4, 2026 03:36
cursor Bot pushed a commit that referenced this pull request Sep 4, 2026
#3570 chrome-headless failed on flaky PageGoBack NRE; requeue when idle.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
cursor Bot pushed a commit that referenced this pull request Sep 4, 2026
Do not block #3570/#3577 requeues behind #3572 FF finishing.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
cursor Bot pushed a commit that referenced this pull request Sep 4, 2026
Frees the stuck Firefox runner and requeues the chrome-headless
PageGoBack flake on the same run.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
cursor Bot pushed a commit that referenced this pull request Sep 4, 2026
Ubuntu cancel helper stayed queued behind hung FF runners;
windows pool should pick up and free the stuck job.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
@kblok
kblok merged commit 9ed2221 into master Sep 4, 2026
27 of 29 checks passed
@kblok
kblok deleted the cursor/implement-upstream-15406-c423 branch September 4, 2026 10:55
sondresjolyst pushed a commit to sondresjolyst/garge-api that referenced this pull request Sep 13, 2026
Updated [PuppeteerSharp](https://github.com/hardkoded/puppeteer-sharp)
from 25.8.0 to 25.10.0.

<details>
<summary>Release notes</summary>

_Sourced from [PuppeteerSharp's
releases](https://github.com/hardkoded/puppeteer-sharp/releases)._

## 25.10.0

## What's Changed
* fix: set frame content without document.write (#​15358) by @​kblok in
hardkoded/puppeteer-sharp#3565
* feat: roll to Firefox 154.0 (#​15361) by @​kblok in
hardkoded/puppeteer-sharp#3566
* New Feature: Support shadow roots in MutationPoller (#​15292) by
@​kblok in hardkoded/puppeteer-sharp#3564
* fix: roll to Chrome 152.0.7977.54 (#​15363) by @​kblok in
hardkoded/puppeteer-sharp#3567
* chore: bump version to 25.9.0 by @​kblok in
hardkoded/puppeteer-sharp#3568
* New Feature: Support canceling WebMCP tool execution (#​15365) by
@​kblok in hardkoded/puppeteer-sharp#3563
* Update README.md - update downloads badge by @​Meir017 in
hardkoded/puppeteer-sharp#3569
* Fix: Roll to Chrome 152.0.7977.64 (upstream #​15395) by @​kblok in
hardkoded/puppeteer-sharp#3574
* Fix: Do not miss the first screencast frame while startScreencast is
in flight (upstream #​15389) by @​kblok in
hardkoded/puppeteer-sharp#3578
* Fix: Roll to Firefox 154.0.1 (upstream #​15397) by @​kblok in
hardkoded/puppeteer-sharp#3573
* Fix: Detect a websocket connection that died without a close (upstream
#​15406) by @​kblok in
hardkoded/puppeteer-sharp#3570
* Fix: Distinguish an unwritable userDataDir from a running browser
(upstream #​15405) by @​kblok in
hardkoded/puppeteer-sharp#3572
* Fix: Roll to Chrome 152.0.7977.75 (upstream #​15409) by @​kblok in
hardkoded/puppeteer-sharp#3575
* chore: add newer iPhone KnownDevices (upstream #​15400) by @​kblok in
hardkoded/puppeteer-sharp#3580
* chore: bump version to 25.10.0 by @​kblok in
hardkoded/puppeteer-sharp#3576
* New Feature: Implement page.record() video-stream screen recording
(upstream #​15387) by @​kblok in
hardkoded/puppeteer-sharp#3571
* New Feature: Roll to Firefox 155.0 (upstream #​15408) by @​kblok in
hardkoded/puppeteer-sharp#3577


**Full Changelog**:
hardkoded/puppeteer-sharp@v25.8.0...v25.10.0

Commits viewable in [compare
view](hardkoded/puppeteer-sharp@v25.8.0...v25.10.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=PuppeteerSharp&package-manager=nuget&previous-version=25.8.0&new-version=25.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

2 participants