fix: pull CfT version from official JSON endpoint#165
fix: pull CfT version from official JSON endpoint#165david-montano-circleci merged 1 commit intoCircleCI-Public:mainfrom
Conversation
|
@david-montano-circleci is it possible to have this PR reviewed? Our pipelines are all failing due to the inability to install Chrome for Testing correctly. |
|
Thank you very much for merging! In order to use the fix, it needs a release cutting. Are you already planning a new release? |
|
Hello @MikeMcC399 . We usually create a new release on new node versions. |
I just checked and I saw that there is a new Node.js 2026-04-01, Version 25.9.0 planned for tomorrow. That would be a good combination, even though it means current pipelines using the default |
|
If there is no new release soon, then I would guess that pipelines would stay broken until April 7, 2026 when Chrome transitions to 147 according to https://chromiumdash.appspot.com/schedule. That is just a guess though, as I have no way to verify it. Also it is relying on Chrome for Testing having the same binary version available as Chrome, which can't be guaranteed. |
|
I am sorry @MikeMcC399 , it is completely possible to create a new release now. Give me some minutes. |
|
Thank you so much! I've successfully verified v2.4.1 externally against Chrome for Testing. 🚀 |
Checklist
Motivation, issues
install_chrome_for_testingfails with code exit status 9 #164The src/scripts/install_chrome_for_testing.sh is using the stable version for "Chrome" instead of the stable version for "Chrome for Testing". It is wrong to use the "Chrome" version. It cannot be guaranteed to work for "Chrome for Testing"!
src/scripts/install_chrome_for_testing.sh is failing to install the current default
latestof Chrome for Testing for Linux.It is fetching the version from https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Linux which currently returns the version:
146.0.7680.164The script then downloads from:
https://storage.googleapis.com/chrome-for-testing-public/146.0.7680.164/linux64/chrome-linux64.zip
and saves the error message:
as a zip file, which is not able to install the browser. The error condition is not recognized and instead the logs show only:
Description
The Chrome for Testing JSON API endpoints list includes the following endpoint. This is used to pick a working Stable version with
.channels.Stable.versionto use as the equivalent of the default parameterlatestin theinstall_chrome_for_testingcommand:last-known-good-versions.jsonFurther suggestions
The script can be later refactored to reduce the lines of code needed for macOS and Linux.
last-known-good-versions.jsonprovides a "Stable" version which is the same for all operating systems, so separate code flows are not needed.