-
Notifications
You must be signed in to change notification settings - Fork 9.6k
tests: dedupe some CI job names #13549
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
Conversation
| fail-fast: false | ||
| runs-on: macos-latest | ||
| env: | ||
| # The total number of shards. Set dynamically when length of single matrix variable is |
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.
driveby: in this case it can be dynamic, because the matrix size is just the array of shards
.github/workflows/devtools.yml
Outdated
| # computable. See https://github.community/t/get-length-of-strategy-matrix-or-get-all-matrix-options/18342 | ||
| SHARD_TOTAL: 2 | ||
| name: Smoke batch ${{ matrix.smoke-test-shard }} | ||
| name: Smoke DevTools ${{ matrix.smoke-test-shard }} |
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: "DevTools smoke" or change the ordering of the other names (Ex: "Smoke windows")
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.
I considered that, but then we end up with DevTools / DevTools smoke or smoke / Smoke Windows haha. I guess it doesn't really matter and consistency is better :)
Small job name tweaks. Github actions in status checks are prefaced by their workflow name (e.g.
DevTools / web-tests) but annoyingly are not prefaced in other contexts (so you get onlyweb-tests). This is fine for some things, but I already got confused by the new "Smoke batch 1" and "Smoke batch 2" introduced in #13546.This renames them to "Smoke DevTools 1" and "Smoke DevTools 2", which will end up with a redundant "DevTools / Smoke DevTools 1" in some contexts, but I couldn't think of another good way to dedupe when it's on its own.
Also renames "Windows" to "Windows smoke" and "Windows unit".
The Github UI choices are kind of unfortunate. Things are still somewhat confusing, but at least differentiated. Super happy to bikeshed :)