You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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.
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.
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: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
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
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
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.
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.
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).
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.
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.
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3823
What
Rolls the default Chrome (and chrome-headless-shell) build downloaded by PuppeteerSharp from
157.0.8103.78to158.0.8127.36, inChrome.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), thedevtools-protocoldependency, andversions.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 orversions.jsonhere. Same one-line change as the previous roll (#3747).Chrome.DefaultBuildIdUpstream 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