Skip to content

ci(mwpw-00000): pin Chrome to 146 in E2E workflows to unblock chromedriver install#447

Open
raissanjay wants to merge 2 commits intomainfrom
fix/bulk-publisher-e2e-pin-chrome
Open

ci(mwpw-00000): pin Chrome to 146 in E2E workflows to unblock chromedriver install#447
raissanjay wants to merge 2 commits intomainfrom
fix/bulk-publisher-e2e-pin-chrome

Conversation

@raissanjay
Copy link
Copy Markdown
Collaborator

The npm install chromedriver@$CHROME_VERSION step started failing when Chrome on the runner moved to 147. chromedriver@147 requires Node >=20 (its postinstall calls require('proxy-agent'), and proxy-agent@8 is ESM-only), which crashes on this workflow's Node 18 with ERR_REQUIRE_ESM.

Fix

  • Pin Chrome to 146 so it matches the chromedriver@^146.0.5 already pinned in package.json.
  • Remove the redundant dynamic npm install chromedriver@$CHROME_VERSION step. npm ci already installs the matching chromedriver (146.x) cleanly on Node 18.

No application code, no package.json, and no Node version changes — this is a CI-only change scoped to the bulk-publisher E2E workflow.

…install

The dynamic 'npm install chromedriver@$CHROME_VERSION' step started failing
when Chrome on the runner moved to 147. chromedriver@147 requires Node >=20
(its postinstall does require('proxy-agent'), and proxy-agent@8 is ESM-only),
which crashes on this workflow's Node 18 with ERR_REQUIRE_ESM.

Pin Chrome to 146 so it matches the chromedriver@^146.0.5 version already in
package.json, and remove the redundant dynamic install step. npm ci now
installs the matching chromedriver (146.x) cleanly on Node 18.
The same dynamic 'npm install chromedriver@$CHROME_VERSION' step exists in
pull-request.yaml (run-e2e-tests and run-bulk-publisher-e2e jobs) and fails
for the identical reason: chromedriver@147+ requires Node >=20 via
ESM-only proxy-agent@8, which crashes on these jobs' Node 16.13.1 and 18
runners with ERR_REQUIRE_ESM.

Apply the same fix as the scheduled workflow: pin Chrome to 146 to match
chromedriver@^146.0.5 from package.json, and drop the redundant dynamic
install step.
@sanrai sanrai changed the title ci(bulk-publisher-e2e): pin Chrome to 146, drop dynamic chromedriver install ci(mwpw-00000): pin Chrome to 146 in E2E workflows to unblock chromedriver install Apr 21, 2026
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.

3 participants