Skip to content

Roll Chrome to 158.0.8127.36 - #3830

Merged
kblok merged 5 commits into
masterfrom
fix/3823-roll-chrome-158
Nov 23, 2026
Merged

kblok merged 5 commits into
masterfrom
fix/3823-roll-chrome-158

Conversation

@kblok

@kblok kblok commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Closes #3823

What

Rolls the default Chrome (and chrome-headless-shell) build downloaded by PuppeteerSharp from 157.0.8103.78 to 158.0.8127.36, in Chrome.DefaultBuildId.

Value

Users get the latest Chrome by default, in step with upstream Puppeteer.

Upstream parity

Verdict: full parity. Upstream puppeteer/puppeteer#15832 (680acbd) changes revisions.ts (chrome and chrome-headless-shell to 158.0.8127.36), the devtools-protocol dependency, and versions.json. The port has one place for the build ID (Chrome.DefaultBuildId), which is the only one that maps. There is no devtools-protocol package or versions.json here. Same one-line change as the previous roll (#3747).

  • revisions.ts chrome → Chrome.DefaultBuildId
  • chrome-headless-shell shares the same ID in the port
  • N/A devtools-protocol bump, versions.json (no counterpart)

Upstream tests

Upstream adds or changes no tests. Real-browser tests were not run here (config-only change; no browser download available in this environment).

Not ported

Nothing.


Generated by Claude Code

Summary by CodeRabbit

  • Updates
    • The default Chrome build is now 158.0.8127.36. Chrome launches that do not specify a version use this build by default, while launches with an explicitly selected Chrome version continue to use that version. The default build for other browsers is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls2e22Gok88gckYrCGRsqJ
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates Chrome.DefaultBuildId from 157.0.8103.78 to 158.0.8127.36.

Changes: Chrome default build roll

Layer / File(s) Summary
Update default build ID
lib/PuppeteerSharp/BrowserData/Chrome.cs
Chrome.DefaultBuildId changes to 158.0.8127.36.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

Merge Risk: Low · up to e7186

This change only moves the default Chrome build to 158.0.8127.36. The author reports that a Windows navigation-cancellation test still crashes or times out in CI, and a similar crash was seen earlier with Chrome 157. Before merging, a maintainer should rerun CI or compare the two Chrome builds on Windows to decide whether this is a flake or a Chrome 158 regression.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Roll Chrome to 158.0.8127.36" matches the single change in the changeset, which updates Chrome.DefaultBuildId from 157.0.8103.78 to 158.0.8127.36. It names the main change and the target ve…
Linked Issues check Passed Directly linked issue #3823 has one coding requirement: update Chrome.DefaultBuildId from 157.0.8103.78 to match upstream puppeteer/puppeteer#15832, which is 158.0.8127.36. The whole-PR diff fro…
Out of Scope Changes check Passed The whole-PR diff from merge base 6a8d4bb to head e71864c contains one changed line: the Chrome.DefaultBuildId value in lib/PuppeteerSharp/BrowserData/Chrome.cs. This line is the build ID roll…
Full details: Title check

Explanation

The title "Roll Chrome to 158.0.8127.36" matches the single change in the changeset, which updates Chrome.DefaultBuildId from 157.0.8103.78 to 158.0.8127.36. It names the main change and the target version, and it is concise. It does not mention the failing Windows and Ubuntu test issues discussed in the comments, but the title does not need to cover every detail.

Full details: Linked Issues check

Explanation

Directly linked issue #3823 has one coding requirement: update Chrome.DefaultBuildId from 157.0.8103.78 to match upstream puppeteer/puppeteer#15832, which is 158.0.8127.36. The whole-PR diff from merge base 6a8d4bb to head e71864c changes only lib/PuppeteerSharp/BrowserData/Chrome.cs, line 19. The file at head returns "158.0.8127.36" from DefaultBuildId. This meets the requirement. The upstream devtools-protocol and versions.json changes have no counterpart in this repository, so they impose no coding requirement. #3823 adds no test requirement. The CI failures and flake reports in the PR objectives (including NavigationTests.PageGoBackTests.ShouldBeCancellable on Windows) are runtime outcomes, not issue requirements. They do not change this verdict. The diff does not show the chrome-headless-shell sharing claim by code, but #3823 does not require a separate change for it.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff from merge base 6a8d4bb to head e71864c contains one changed line: the Chrome.DefaultBuildId value in lib/PuppeteerSharp/BrowserData/Chrome.cs. This line is the build ID roll required by #3823. No other tracked file differs between the merge base and head. No test expectation or TestExpectations.local.json change appears in the diff. The CI discussion concerns whether to hold or accept this roll. It does not describe extra code changes in the diff.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 04cd1e84-9fa8-476f-abbd-d5f86f513999
Commits

Reviewing files that changed from the base of the PR and between fda8403 and e71864c.

Files selected for processing: 1

  • lib/PuppeteerSharp/BrowserData/Chrome.cs

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.

kblok commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

CI failure on this PR: CHROME-headful-ubuntu-latest-cdp fails BrowserTests.ProcessTests.ShouldKeepConnectedAfterTheLastPageIsClosed (Protocol error (Target.createTarget): Failed to open a new tab). It failed on every retry (4 of 4), so it is deterministic, not a flake. The other jobs finished so far pass.

The test is identical to upstream's should keep connected after the last page is closed (test/src/browser.test.ts), and upstream has no expectation for it. The PR changes only Chrome.DefaultBuildId, so the likely cause is a Chrome 158 headful behavior change on Linux: the browser can't create a target after its last window closes.

I haven't skipped the test or edited TestExpectations.local.json, because the repo rules require explicit confirmation first. Options: (1) add a local expectation for headful Linux and file an issue, (2) wait for an upstream fix or expectation, (3) investigate the Chrome behavior first. I recommend (3), then (1).


Generated by Claude Code

kblok commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

Second CI failure: CHROME-headful-windows-latest-cdp aborts. The test host hangs in NavigationTests.PageGoBackTests.ShouldBeCancellable (5-minute blame-hang timeout), and each of the 4 retest rounds hit it. Every test that ran passed (753 passed, 0 failed), but the aborted run exits 1.

Same pattern as the Ubuntu headful failure (ShouldKeepConnectedAfterTheLastPageIsClosed): both are headful-only and deterministic, and the PR changes only the Chrome build ID. Both point to a Chrome 158 headful regression. Headless jobs are not affected so far. I haven't skipped or re-expected either test and need a decision. Options as in my previous comment.


Generated by Claude Code

kblok commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

Third CI failure: CHROME-headless-windows-latest-cdp. The Windows test host crashed twice (~1h before it got through), then later rounds failed ShouldTrackNavigationsWithinOopIframes, ShouldWorkWithDelayedResponse, ShouldRunInParallelInMultiplePages and its ElementHandle variant (3 min timeouts). The signs are host crashes and timeouts, not assertion regressions, but it's the same Chrome 158 roll as the two headful failures and I can't prove it isn't related. I haven't skipped or re-expected anything. Awaiting a decision, as in the earlier comments.


Generated by Claude Code

kblok commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

CI update after re-running the failed jobs (attempt 2): CHROME-headful-ubuntu-latest-cdp and CHROME-headless-windows-latest-cdp now pass, so those two were flakes. CHROME-headful-windows-latest-cdp still fails: the Windows test host crashes in NavigationTests.PageGoBackTests.ShouldBeCancellable (blame-hang timeout), with 753 passed and 0 failed among the tests that ran.

This is not caused by this PR. On master with Chrome 157, run 44421501247 (job 135215518783) crashed in the same test the same way, then failed unrelated cookie/coverage tests. The PR changes only Chrome.DefaultBuildId. I haven't skipped or re-expected the test, and I've used the one allowed re-run. A maintainer needs to either re-run again or decide on a Windows headful expectation for this test.


Generated by Claude Code

kblok commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

Update on run 44579528894 (merge commit b89bcd6f): both Windows jobs now fail, CHROME-headful-windows-latest-cdp and CHROME-headless-windows-latest-cdp, and in both the test host crashes in NavigationTests.PageGoBackTests.ShouldBeCancellable. Every other check passes. On master with Chrome 157 that crash showed up only once in the last six runs (headful), so with Chrome 158 it now looks like a real Windows regression in how a cancelled GoBackAsync with a never-answered request tears down, in both headless and headful.

The PR changes only Chrome.DefaultBuildId, so no change here can fix it. I haven't skipped or re-expected the test. A maintainer needs to either reproduce it on Windows with Chrome 158, hold the roll, or approve a Windows expectation for this test with a follow-up issue.


Generated by Claude Code

@kblok
kblok merged commit bb47bd0 into master Nov 23, 2026
70 of 80 checks passed
@kblok
kblok deleted the fix/3823-roll-chrome-158 branch November 23, 2026 09:40
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.

Upstream: roll to Chrome 158.0.8127.36

2 participants