Repository navigation
fix: launch the UI review eval on the Chromium build Python's Playwright installs - #6752
Merged
Merged
Conversation
…ght installs `leaf-dev setup` installs browsers only through Python's Playwright, which #6530 moved to 1.65.2 and Chromium build 1255. Node's Playwright stays at 1.65.0 (npm has no 1.65.2) and looks for build 1254, so the scheduled `dev-tests` job's `pnpm run test:evals` failed with "Executable doesn't exist at .../chromium-1254" since the Nov 21 run. The UI review eval's setup hook and provider now launch the executable Python's Playwright registry names for `chromium` (`playwright_executable`, the generalised `shell_executable`), so the eval's captures and its live browser tool use the build setup installed whichever version Node's Playwright pins. Refs #6751
This was referenced Nov 23, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The scheduled
dev-testsjob'spnpm run test:evalshas failed since the Nov 21 run withbrowserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1254/chrome-linux64/chrome(run 45014446027, jobdev-tests).leaf-dev setupinstalls browsers only through Python's Playwright, which #6530 moved to 1.65.2 and Chromium build 1255. Node's Playwright is pinned at 1.65.0 (npm has no 1.65.2), so itschromium.launch({ channel: "chromium" })looks for build 1254, which nothing installs. #6600 expected the CI job to have Node's browser, but it never had it.The UI review eval's setup hook and provider now launch the
chromiumexecutable that Python's Playwright registry names.shell_executableindev/leaf_dev/browser.pybecomesplaywright_executable(name), andshell_executable()now calls it with the headless shell. So the eval's captures and its live browser tool run on the build that setup installed, whichever version Node's Playwright pins. This is the same way the arrangement eval already hands its judge Python's headless shell.Verification. Locally on
main,pnpm run test:evalsfails with the samechromium-1254error. On this branch the launch goes to~/.cache/ms-playwright/chromium-1255/chrome-linux64/chrome. This sandbox can't run full Chromium: Python's ownchromium.launch(channel="chromium")aborts here with the samesocket() failed: Address family not supported. So the end-to-end pass has to come from CI.dev-testsruns only onschedule, so the next scheduledcirun onmainis the first one that exercises this change. The PR's owntestjob covers theshell_executablerefactor, becausetests/conftest.pyand the eval modules call it.Refs #6751 — automated triage