playwright-bisect-chromium

Installation
SKILL.md

Bisecting Chromium

Playwright's Chromium is Chrome for Testing (CfT), downloaded from Google. There is no patch and no source tree to bisect here. Google publishes a CfT build for almost every trunk commit position in the chrome-for-testing-per-commit-public bucket, and utils/bisect-chromium.mjs does a binary search over those builds between a known-good and a known-bad revision. It runs a check command against each build, with CRPATH set to the executable of the build. Each step downloads one build of about 130 MB. A whole roll is about 8000 positions, that is about 13 steps, so a bisect takes minutes.

Find the two revisions

The script takes a revision as a Chrome version (159.0.8154.6) or as a trunk commit position (1739869, the number in https://crrev.com/1739869). It resolves a version to the position that the release branch of the version was cut from.

Installs
22
GitHub Stars
101.3K
First Seen
9 days ago