Skip to content

chore: add the playwright-bisect-chromium skill, fix the Chromium roll - #44227

Merged
Dmitry Gozman (dgozman) merged 2 commits into
microsoft:mainfrom
dgozman:bisect-chromium-skill
Nov 19, 2026
Merged

Dmitry Gozman (dgozman) merged 2 commits into
microsoft:mainfrom
dgozman:bisect-chromium-skill

Conversation

@dgozman

@dgozman Dmitry Gozman (dgozman) commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • The playwright-bisect-chromium skill moves here from playwright-browsers, now that Chromium rolls from this repo (devops: roll Chromium from this repo #44206). The two revisions come from the roll PR or from the history of browsers.json.
  • utils/bisect-chromium.mjs takes a Chrome version as a revision, and resolves it to the trunk position that the release branch was cut from.
  • AGENTS.md points to the skill for Chromium regressions.
  • utils/roll_browser.js installs system dependencies of all default browsers, not only of the rolled one. The documentation step of the roll launches all three browsers, and the "PR: roll Chromium" workflow failed there because WebKit dependencies were missing.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor

🟢 All three MCP failures also occur on main

Hi, I'm the Playwright bot. I checked the failures; this PR did not cause them.

Details and evidence

Covers MCP run 44499864185 at 83d2d6b5d7c54c78433a12b15b100bf2cdacc9d0. The PR changes skill documentation, AGENTS.md, and the standalone utils/bisect-chromium.mjs script, not MCP code, tests, fixtures, or browser versions.

Pre-existing flake / infra

All three [chrome] tests in mcp/crash.spec.ts failed with the same errors in the earlier Ubuntu Chrome job on main, at 28c4b2e0ad892723c17c0b8d280207c1da670998:

Test Error in both runs
:31 — reports the navigation error, then resets and logs the crash 30-second timeout in the crash-recovery toPass() check at line 48
:58 — lists only one tab 30-second timeout and Not connected at the browser_tabs call
:79 — marks non-current crashed tab in the tab list 30-second timeout and Not connected at the browser_tabs call

These are confirmed pre-existing failures. The evidence does not establish whether they are intermittent or consistently broken.

Checked the failures on Linux by the Playwright bot - agent run

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor

🟡 Two installation failures remain uncertain

Hi, I'm the Playwright bot. Three failures are confirmed pre-existing; the other two look like infrastructure failures, but lack matching independent evidence.

Details and evidence

Covers all five failures in tests 1 run 44499864588, at 83d2d6b5d7c54c78433a12b15b100bf2cdacc9d0. The PR changes skill documentation, AGENTS.md, and the standalone Chromium bisect script. It does not change the reporter, installer, browser versions, or CI configuration. I found no change that explains these failures. The separate MCP failures already have a verdict above.

Pre-existing flake / infra

  • Windows JUnit — two failures: reporter-junit.spec.ts:350, both created and merged › should add file attribute relative to fileRoot. Both also fail in the earlier main job, at 28c4b2e0ad892723c17c0b8d280207c1da670998, with the same assertion: expected auth/a.test.js, received auth\a.test.js. This is a pre-existing Windows path assertion failure, not evidence of an intermittent flake. A small test fix is to expect path.join('auth', 'a.test.js') for classname; the separate file attribute is explicitly normalized to forward slashes.
  • macOS installation — playwright-packages-install-behavior.spec.ts:40, @playwright/browser-chromium should work: browser download fails with getaddrinfo ENOTFOUND cdn.playwright.dev. The test-results database records the same test, platform, and DNS error in run 40518330180, on unrelated commit b1e38f6949cd47b662b7622eaa4cdefb8d0ddf5b (feat(firefox): roll to r1567 #43671). Confirmed pre-existing infrastructure failure.

Uncertain

  • macOS installation — playwright-packages-install-behavior.spec.ts:90, playwright should work with chromium --only-shell, and :99, @playwright/test should work: both fail in the installation job because downloads cannot resolve cdn.playwright.dev, just like the confirmed infrastructure failure above. However, I found no independent DNS failure for either exact test in the available history. Their older failures have a different browser-download expectation error and do not prove this cause. These are likely infrastructure failures, but remain uncertain under the same-test evidence rule.

History source: the latest available database artifact, published November 19 at 03:13 UTC, plus current and recent main job logs. Updating the database with newer artifacts was blocked because this job has no GitHub token. The PR was not built or run.

Checked the failures on Linux by the Playwright bot - agent run

The documentation step of the roll launches Chromium, Firefox and WebKit,
but the script installed system dependencies of the rolled browser only.
@dgozman Dmitry Gozman (dgozman) changed the title chore(skills): add the playwright-bisect-chromium skill chore: add the playwright-bisect-chromium skill, fix the Chromium roll Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

3 failed
❌ [chrome] › mcp/crash.spec.ts:31 › crash recovery › reports the navigation error, then resets and logs the crash @mcp-ubuntu-latest-chrome
❌ [chrome] › mcp/crash.spec.ts:58 › crash recovery › lists only one tab @mcp-ubuntu-latest-chrome
❌ [chrome] › mcp/crash.spec.ts:79 › crash recovery › marks non-current crashed tab in the tab list @mcp-ubuntu-latest-chrome

5243 passed, 641 skipped


Merge workflow run.

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor

🟢 All three MCP failures are pre-existing

Hi, I'm the Playwright bot. I checked the new run; this PR did not cause these failures.

Details and evidence

Covers MCP run 44511084738 at cb0a4108e477354dc6a9437f5fe4b000b050c189, reported by merge run 44515722648.

The PR changes skill documentation, the standalone Chromium bisect script, and dependency installation in utils/roll_browser.js. The MCP workflow does not call either script; its browser setup remains playwright install --with-deps. MCP code, tests, and browser versions are unchanged.

Pre-existing flake / infra

All three [chrome] failures in the current Ubuntu Chrome job also occur in the earlier main job, at 28c4b2e0ad892723c17c0b8d280207c1da670998:

Test in mcp/crash.spec.ts Matching error in both runs
:31 — reports the navigation error, then resets and logs the crash 30-second timeout in toPass() at line 48
:58 — lists only one tab 30-second timeout and Not connected at browser_tabs, line 71
:79 — marks non-current crashed tab in the tab list 30-second timeout and Not connected at browser_tabs, line 93

These are confirmed pre-existing failures, not proven intermittent flakes. I compared the job logs directly; the test-history database refresh was unavailable because dependencies and GITHUB_TOKEN were missing. The PR was not built or run.

Checked the failures on Linux by the Playwright bot - agent run

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

2 failed
❌ [playwright-test] › reporter-junit.spec.ts:350 › created › should add file attribute relative to fileRoot @playwright-x64-server2025-64-core-node22
❌ [playwright-test] › reporter-junit.spec.ts:350 › merged › should add file attribute relative to fileRoot @playwright-x64-server2025-64-core-node22

3 flaky ⚠️ [installation tests] › connect-to-selenium.spec.ts:20 › connect to selenium `@package-installations-ubuntu-latest`
⚠️ [chromium-library] › library/video.spec.ts:762 › screencast › VI-030 should work with video+trace `@chromium-playwright-x64-ubuntu24-64-core-node22`
⚠️ [webkit-page] › page/page-screenshot.spec.ts:1030 › page screenshot animations › SS-064 should wait for fonts to load `@webkit-playwright-x64-ubuntu24-64-core-node22`

23642 passed, 716 skipped


Merge workflow run.

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor

🟢 Both Windows JUnit failures also occur on main

Hi, I'm the Playwright bot. I checked the failures; this PR did not cause them.

Details and evidence

Covers tests 1 run 44511084607 at cb0a4108e477354dc6a9437f5fe4b000b050c189, reported by merge run 44516118016. The separate MCP failures already have a verdict above.

The PR changes skill documentation, the standalone Chromium bisect script, and browser-roll dependency installation. It does not change the JUnit reporter, these tests, or their workflow.

Pre-existing flake / infra

  • reporter-junit.spec.ts:350 › created › should add file attribute relative to fileRoot
  • reporter-junit.spec.ts:350 › merged › should add file attribute relative to fileRoot

Both fail in the current Windows job and the earlier main job, at 28c4b2e0ad892723c17c0b8d280207c1da670998, with the same assertion at line 374: expected auth/a.test.js, received auth\a.test.js.

These are confirmed pre-existing Windows path assertion failures, not proven intermittent flakes. A small test fix is to expect path.join('auth', 'a.test.js') for classname; keep the forward-slash expectation for file, which the reporter explicitly normalizes.

I compared the job logs directly. The test-history database refresh was blocked by missing dependencies and GITHUB_TOKEN. The PR was not built or run.

Checked the failures on Linux by the Playwright bot - agent run

@dgozman
Dmitry Gozman (dgozman) merged commit b7cc538 into microsoft:main Nov 19, 2026
23 of 25 checks passed
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