Skip to content

Faster playwright setup on CI#139

Open
krassowski wants to merge 1 commit intojupyterlab:mainfrom
krassowski:faster-setup
Open

Faster playwright setup on CI#139
krassowski wants to merge 1 commit intojupyterlab:mainfrom
krassowski:faster-setup

Conversation

@krassowski
Copy link
Copy Markdown
Member

Inspired by jupyterlab/jupyterlab#18566

From https://playwright.dev/docs/browsers#chromium-headless-shell:

Playwright ships a regular Chromium build for headed operations and a separate chromium headless shell for headless mode.

If you are only running tests in headless shell (i.e. the channel option is not specified), for example on CI, you can avoid downloading the full Chromium browser by passing --only-shell during installation.

May I ask reviewers to apply this change in a few extensions they maintain so that we can confirm that this is a net positive? I believe for out use case we don't lose anything by not installing the extra dependencies but there might exist an extension where they require these. I think it would be unlikely and majority would benefit from faster CI.

@krassowski krassowski added the enhancement New feature or request label Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant