-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Adjust Chrome flags in CI to fix broken jobs #7700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…me is actually used by karma
| // window-size values came from observing default size | ||
| // | ||
| // '--ignore-gpu-blacklist' allow to test WebGL on CI (!!!) | ||
| // '--ignore-gpu-blocklist' allow to test WebGL on CI (!!!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The blacklist -> blocklist change is because Chrome renamed the flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I added one suggestion that might be an alternative config. Here's a relevant doc page.
Co-authored-by: Cameron DeCoster <cameron.decoster@gmail.com>
|
@camdecoster Good call, looks like Just working on getting the CircleCI tests to pass, I think it's just the usual flakiness. |
Sometime in January it seems there was a change in some of the Chrome defaults relating to the GPU.
https://github.com/orgs/community/discussions/185629
https://issues.chromium.org/issues/476172421
It seems those changes are causing our "NoCI" GitHub Actions workflow to fail on some of the WebGL tests.
This PR:
Adjusts the flags used to run the Chrome process in the GitHub Actions workflow, to correctly use simulated GPU rendering (GHA runners do not have GPU by default)
Adjusts the "NoCI" workflow to use the Chrome executable downloaded by the
setup-chromestep rather than the one pre-baked intoubuntu-latest. This will make the Chrome version more up-to-date, as well as allow us to pin a specific Chrome version if we desire.