Skip to content

Conversation

@gagik
Copy link
Contributor

@gagik gagik commented Apr 8, 2025

Out of experiencing the pain of seeing what seemed to be potentially a 10 minute download and install of puppeteer each time during release, I became curious whether we're actually skipping things correctly.

PUPPETEER_SKIP_DOWNLOAD only applies at a post-install script but in many places we set it after all dependencies have already been installed. This sets it at the install stage instead. Not sure whatever the issues were with #2311 would come up here, seems all good so far.

Not super scientific but this leads to quicker execution on hosts which tend to not have the Chromium in their cache like RHEL:

Before

billede

After

billede

@gagik gagik force-pushed the gagik/puppeteer-experiment branch from 1286810 to 023021a Compare April 8, 2025 23:33
@gagik gagik force-pushed the gagik/puppeteer-experiment branch from d9ed8d1 to 4fdfe73 Compare April 9, 2025 07:44
@gagik gagik changed the title WIP - skip puppeteer experiment chore(ci): skip chromium download for most tasks Apr 9, 2025
@gagik gagik marked this pull request as ready for review April 9, 2025 07:50
@gagik gagik added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Apr 9, 2025
Copy link
Collaborator

@nirinchev nirinchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That 30+ minute speedup on RHEL 😱

@gagik gagik merged commit ccc966c into main Apr 9, 2025
134 of 139 checks passed
@gagik gagik deleted the gagik/puppeteer-experiment branch April 9, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants