-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
chore: Reduce E2E test jobs run on PRs #28525
Conversation
Builds ready [5c5674c]
Page Load Metrics (1813 ± 45 ms)
Bundle size diffs
|
5c5674c
to
81e8828
Compare
Builds ready [81e8828]
Page Load Metrics (2092 ± 83 ms)
Bundle size diffs
|
The number of E2E test jobs run on PRs has been reduced to save on CircleCI credits. We still run the "chrome MV3" test job, but the Firefox and "chrome MV2/webpack build" E2E test jobs are now only run on `develop`, `master`, and RC branches. This should result in huge CircleCI credit savings. These jobs were chosen because it's uncommon for test failures or flakiness to manifest in these jobs without also appearing in the Chrome MV3 E2E test job, and this job represents the mmajority of our userbase (the Chrome MV2/webpack build is only used for development).
81e8828
to
85eb67f
Compare
@@ -197,6 +197,7 @@ workflows: | |||
requires: | |||
- prep-deps | |||
- test-e2e-chrome-webpack: | |||
<<: *develop_master_rc_only |
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.
nit: maybe we can also apply the same filter to the prep-build-test-webpack
job? It takes only ~1minute, so we won't save much from that, but in case you want to add it
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.
Good suggestion, I had the same thought as well. I wasn't sure though, as having the build might catch build errors that we would otherwise miss.
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.
good point, yeah we won't win much from that change, compared to the information we can loose, so happy as it is 👍
Builds ready [85eb67f]
Page Load Metrics (1918 ± 73 ms)
Bundle size diffs
|
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.
Code changes LGTM.
Depending on the monitoring of the develop branch and the flakiness report, the changes can be easily reverted if needed.
Description
The number of E2E test jobs run on PRs has been reduced to save on CircleCI credits. We still run the "chrome MV3" test job, but the Firefox and "chrome MV2/webpack build" E2E test jobs are now only run on
develop
,master
, and RC branches. This should result in huge CircleCI credit savings.These jobs were chosen because it's uncommon for test failures or flakiness to manifest in these jobs without also appearing in the Chrome MV3 E2E test job, and this job represents the mmajority of our userbase (the Chrome MV2/webpack build is only used for development).
Related issues
This is intended to reduce credit usage. There is no linked issue.
Manual testing steps
N/A
Screenshots/Recordings
N/A
Pre-merge author checklist
Pre-merge reviewer checklist