Skip to content

ci: install chromium only and key the browser cache on the catalog#179

Merged
ardetrick merged 1 commit into
mainfrom
ci/chromium-only-playwright
Jul 5, 2026
Merged

ci: install chromium only and key the browser cache on the catalog#179
ardetrick merged 1 commit into
mainfrom
ci/chromium-only-playwright

Conversation

@ardetrick

Copy link
Copy Markdown
Owner

The tests launch chromium exclusively, so installing all three browser families wasted download time and cache size; a single install --with-deps chromium invocation replaces the two Gradle runs. Also fixes a latent cache bug from the version-catalog migration: the key hashed build.gradle.kts, which no longer contains the Playwright version, so a Playwright bump would have restored stale browsers that PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD then refused to replace. The key now hashes gradle/libs.versions.toml.

🤖 Generated with Claude Code

The tests launch chromium exclusively, so installing all three browser
families wasted download time and cache size; a single
'install --with-deps chromium' invocation replaces the two Gradle runs.
Also fixes a latent cache bug from the version-catalog migration: the
key hashed build.gradle.kts, which no longer contains the Playwright
version, so a Playwright bump would have restored stale browsers that
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD then refused to replace. The key now
hashes gradle/libs.versions.toml.
@ardetrick ardetrick merged commit d260f25 into main Jul 5, 2026
2 checks passed
@ardetrick ardetrick deleted the ci/chromium-only-playwright branch July 5, 2026 18:58
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.

1 participant