-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Flip --incompatible_check_sharding_support
#18354
Conversation
The current downstream pipeline is not in a great state, I'll approve this as soon as I think it's ready. |
72691ad
to
d3fcfb4
Compare
@fmeum Can you rebase this PR to Bazel HEAD and I'll start a downstream testing for this change? |
@meteorcloudy Updated |
Thanks, here we go: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3028 |
More tests in Bazel are broken: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3028#018823f5-fcb7-42d0-8ef8-7d5087a6a6e7 😅 |
But the
Not sure why the check failed. |
https://github.com/search?q=repo%3Agoogle%2Fgoogletest%20TEST_SHARD_STATUS_FILE&type=code, is it because it's called |
Oh no, I found the following copybara transformation for googletests:
|
I saw that variant while working on this PR and already wondered how it could work - turns out it doesn't? |
I think so, unless we also pass and check those env vars? |
@meteorcloudy I pushed two commits that should fix this, could you run the downstream test again? |
Here you go: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3035 But I guess it's better to submit the fixes in a different PR so that we can also cherry pick them for 6.3.0. |
Will do, but the flip PR is really the only way for me to test whether they are indeed effective. |
Thanks! We can always stack the flag flip on top of the fix to test, just like this one ;) |
Looks like only Kythe was broken due to the flag flip: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3035#0188343c-bd18-4174-a702-55c777bce2e3 |
rules_go didn't declare support correctly and while the issue is fixed at HEAD, we still need to have a release. |
@fmeum Can you submit the fixes as a separate PR, then we can merge and cherry pick that one, then flip the flag at HEAD. |
@meteorcloudy Submitted #18469 |
@meteorcloudy Done |
RELNOTES[INC]: `--incompatible_check_sharding_support` is enabled by default. Sharded tests with test runners that do not properly advertise support for test sharding will fail. Refer to bazelbuild#18339 for migration advice.
RELNOTES[INC]: `--incompatible_check_sharding_support` is enabled by default. Sharded tests with test runners that do not properly advertise support for test sharding will fail. Refer to bazelbuild#18339 for migration advice. Closes bazelbuild#18354. PiperOrigin-RevId: 535154319 Change-Id: I0f7ccd404ed59c2f9542ddbc1cb0c803dbb442c9
RELNOTES[INC]:
--incompatible_check_sharding_support
is enabled by default. Sharded tests with test runners that do not properly advertise support for test sharding will fail. Refer to #18339 for migration advice.