-
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
bazel run test_target doesn't convey test exit code #18493
Comments
Hi @jacobmou, Thanks for raising the issue, I tried to reproduce the issue with the help of shared sample code. While building, am not seeing any differences in both versions log(test doesn't convey test exit code when it's 1 any any version). Could you please share above code in a repo with exact steps followed to test it? |
@bazel-io flag |
Thanks for the bug report including simple repro case and thanks Fabian for bisecting. Repro outside of Bazel including proposed fix:
|
The use of the pipe in bazelbuild@b8e92cc made it swallow the exit code, so we need to set pipefail.
@bazel-io fork 6.2.1 |
@bazel-io fork 6.2.1 |
@bazel-io fork 6.3.0 |
@meteorcloudy any idea when bazel 6.2.1 will be out? wondering if i should just wait for the release or backport this to 6.2.0 we are currently using. Thanks. |
@jacobmou Check the release bug for 6.2.1, it's currently targeting to be released on 2023-06-02 |
That sounds great! Will wait for the it. Thanks for the fix! |
Baseline: 758b44d Release Notes: + Automatic code cleanup. (#18504) + Update relnotes scripts (#18503) + Fix #18493. (#18512) + Fix formatting of release notes (#18533) + Use extension rather than local names in ModuleExtensionMetadata (#18535) Acknowledgements: This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Pavan Singh.
Baseline: 758b44d Release Notes: + Automatic code cleanup. (bazelbuild#18504) + Update relnotes scripts (bazelbuild#18503) + Fix bazelbuild#18493. (bazelbuild#18512) + Fix formatting of release notes (bazelbuild#18533) + Use extension rather than local names in ModuleExtensionMetadata (bazelbuild#18535) Acknowledgements: This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Pavan Singh.
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://github.com/bazelbuild/bazel) | patch | `6.2.0` -> `6.2.1` | --- ### Release Notes <details> <summary>bazelbuild/bazel</summary> ### [`v6.2.1`](https://github.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-621-2023-06-02) [Compare Source](https://github.com/bazelbuild/bazel/compare/6.2.0...6.2.1) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18504) + Update relnotes scripts (#​18503) + Fix bazelbuild/bazel#18493. (#​18512) + Fix formatting of release notes (#​18533) + Use extension rather than local names in ModuleExtensionMetadata (#​18535) Acknowledgements: This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Pavan Singh. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/cgrindel/rules_swiftformat). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42My4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTA1LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://github.com/bazelbuild/bazel) | patch | `6.2.0` -> `6.2.1` | --- ### Release Notes <details> <summary>bazelbuild/bazel</summary> ### [`v6.2.1`](https://github.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-621-2023-06-02) [Compare Source](https://github.com/bazelbuild/bazel/compare/6.2.0...6.2.1) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18504) + Update relnotes scripts (#​18503) + Fix bazelbuild/bazel#18493. (#​18512) + Fix formatting of release notes (#​18533) + Use extension rather than local names in ModuleExtensionMetadata (#​18535) Acknowledgements: This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Pavan Singh. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/cgrindel/github_snippets). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDUuMiIsInVwZGF0ZWRJblZlciI6IjM1LjEwNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://github.com/bazelbuild/bazel) | patch | `6.2.0` -> `6.2.1` | --- ### Release Notes <details> <summary>bazelbuild/bazel</summary> ### [`v6.2.1`](https://github.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-621-2023-06-02) [Compare Source](https://github.com/bazelbuild/bazel/compare/6.2.0...6.2.1) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18504) + Update relnotes scripts (#​18503) + Fix bazelbuild/bazel#18493. (#​18512) + Fix formatting of release notes (#​18533) + Use extension rather than local names in ModuleExtensionMetadata (#​18535) Acknowledgements: This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Pavan Singh. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/cgrindel/bazel-starlib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://github.com/bazelbuild/bazel) | patch | `6.2.0` -> `6.2.1` | --- ### Release Notes <details> <summary>bazelbuild/bazel</summary> ### [`v6.2.1`](https://github.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-621-2023-06-02) [Compare Source](https://github.com/bazelbuild/bazel/compare/6.2.0...6.2.1) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18504) + Update relnotes scripts (#​18503) + Fix bazelbuild/bazel#18493. (#​18512) + Fix formatting of release notes (#​18533) + Use extension rather than local names in ModuleExtensionMetadata (#​18535) Acknowledgements: This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Pavan Singh. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/cgrindel/rules_swift_package_manager). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDUuMiIsInVwZGF0ZWRJblZlciI6IjM1LjEwNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Baseline: 758b44d Release Notes: + Automatic code cleanup. (#18417) + Update CODEOWNERS for 6.3.0 (#18369) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#18388) + Add implementation deps support for Objective-C (#18372) + Update release notes scripts (#18400) + Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#18430) + Use wall-time for credential helper invalidation (#18413) + blaze_util_posix: handle killpg failures (#18403) + Pass version to java_runtimes created by local_java_repository (#18415) + Add jsonproto option to query --output flag (#18438) + Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#18419) + rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#18447) + Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#18453) + Wire credential helper to repository fetching. (#18429) + Updates/fixes to relnotes script (#18470) + Report percentual download progress in repository rules (#18471) + Support remote symlink outputs when building without the bytes. (#18476) + Enrich local BEP upload errors with file path and digest possible. (#18481) + Set `GTEST_SHARD_STATUS_FILE` in test setup (#18482) + Fix relnotes script (#18491) + Fix Xcode 14.3 compatibility (#18490) + Fix #18493. (#18514) + Extend the credential helper default timeout to 10s. (#18527) + Fix formatting of release notes (#18534) + Use extension rather than local names in ModuleExtensionMetadata (#18536) + [credentialhelper] Ignore all errors when writing stdin (#18540) + Improve error on invalid `-//foo` and `-@repo//foo` options (#18516) + Implement failure circuit breaker (#18541) + Actually check `TEST_SHARD_STATUS_FILE` has been touched (#18418) + Ignore hash string casing (#18414) + Error if repository name isn't supplied (#18425) + Track repo rule label attributes after the first non-existent one (#18412) + Add ServerCapabilities into RemoteExecutionClient (#18442) + RemoteExecutionService: support output_symlinks in ActionResult (#18441) + RemoteExecutionService: Action.Command to set output_paths (#18440) + Use local_termination_grace_seconds when testing LinuxSandbox availability (#18568) + Fix dangling string literal in `extension_metadata` docs (#18598) + Include actual MODULE.bazel location in stack traces (#18612) + Make cpp file extensions case sensitive again (#18552) + Fix error when script is run after the final tag is created. (#18638) + Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#18649) + Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#18656) + Use failure_rate instead of failure count for circuit breaker (#18559) + Update ignored_error logic for circuit_breaker (#18662) + Don't rewind the build if invocation id stays the same (#18670) + Fix potential memory leak in UI (#18659) + Test that a credential helper can supply credentials for bzlmod. (#18663) + Add flag --experimental_collect_code_coverage_for_generated_files. (#18664) + Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command. Closes #18130. (#18609) + Fix split post-processing of LLVM-based coverage (#18737) + Allow module extension usages to be isolated (#18727) + BEGIN_PUBLIC (#18729) + Declare credential helpers to be a stable feature. (#18752) + Add a new provider for injecting native libs in android_binary (#18753) + Properly handle invalid credential files (#18779) + The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#18787) + Report remote execution messages as events (#18780) + Fail on isolated extension usages without imports (#18793) + Add changes to cc_shared_library from head to 6.3 (#18606) + Remove option to disable FJP. (#18791) + Update to latest turbine version (#18803) + None. None (#18808) + Wait for outputs downloads before emitting local BEP events that reference these outputs. (#18815) + Perform builtins injection for WORKSPACE-loaded bzl files. (#18819) + Fix non-declared symlink issue for local actions when BwoB. (#18817) + Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#18823) + add feature on windows toolchain with right tag (#18654) + coverage_common.instrumented_files_info now has a metadata_files argument (#18838) + Download directory output for test actions (#18846) + Teach DexMapper to not separate synthetic classes from their context … (#18853) + **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#18870) + Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#18419)" (#18886) + Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function. Fixes #18766. (#18882) + Open-source Google test `ConvenienceSymlinkTest` (#18890) + Update Error Prone to 2.20.0 (#18885) + Check if json.gz files exist, not the gcov version. (#18889) + Lockfile updates (#18894) + handle exception instead of crashing (#18895) + Add a new provider for passing dex related artifacts in android_binary (#18899) + Prevent most side effects of yanked modules (#18908) + Restore the classic desugar tool in the Bazel 6.3.0 branch so that the Bazel Android tools can be built for 6.3.0 without breaking backwards compatibility (#18909) + Update java_tools to v12.5 (#18868) + Add ActionCacheStatistics to BEP (#18914) + Adjust --top_level_targets_for_symlinks (#18916) + Track dev/non-dev `use_extension` calls (#18918) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#18921) + Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#18773) + Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#18891) + Report dev/non-dev deps imported via non-dev/dev usages (#18922) + Add reverted 'isolate' changes (#18928) + Identify isolated extensions by exported name (#18923) + test-setup.sh: Attempt to raise the original signal once more (#18932) + Ignore broken classic desugar tests (#18933) + Disable UseCorrectAssertInTests by default (#18948) + Fix VS 2022 autodetection (#18960) + Fix absolute file paths showing up in lockfiles (#18993) + Add support for isolated extension usages to the lockfile (#19008) Acknowledgements: This release contains contributions from many people at Google, as well as amishra-u, Andreas Herrmann, Andy Hamon, andyrinne12, Benjamin Lee, Benjamin Peterson, Brentley Jones, Chirag Ramani, Christopher Rydell, Daniel Wagner-Hall, Ed Schouten, Fabian Brandstetter, Fabian Meumertzheim, Greg, Ivan Golub, Jon Landis, JY Lin, Kai Zhang, Keith Smiley, kotlaja, lripoche, oquenchil, Pavan Singh, Rasrack, Son Luong Ngoc, Takeo Sawada, Vertexwahn, Xùdōng Yáng, Yannic.
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://github.com/bazelbuild/bazel) | minor | `6.2.1` -> `6.3.0` | --- ### Release Notes <details> <summary>bazelbuild/bazel (bazel)</summary> ### [`v6.3.0`](https://github.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-630-2023-07-24) [Compare Source](https://github.com/bazelbuild/bazel/compare/6.2.1...6.3.0) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18417) + Update CODEOWNERS for 6.3.0 (#​18369) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18388) + Add implementation deps support for Objective-C (#​18372) + Update release notes scripts (#​18400) + Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#​18430) + Use wall-time for credential helper invalidation (#​18413) + blaze_util_posix: handle killpg failures (#​18403) + Pass version to java_runtimes created by local_java_repository (#​18415) + Add jsonproto option to query --output flag (#​18438) + Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419) + rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#​18447) + Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#​18453) + Wire credential helper to repository fetching. (#​18429) + Updates/fixes to relnotes script (#​18470) + Report percentual download progress in repository rules (#​18471) + Support remote symlink outputs when building without the bytes. (#​18476) + Enrich local BEP upload errors with file path and digest possible. (#​18481) + Set `GTEST_SHARD_STATUS_FILE` in test setup (#​18482) + Fix relnotes script (#​18491) + Fix Xcode 14.3 compatibility (#​18490) + Fix bazelbuild/bazel#18493. (#​18514) + Extend the credential helper default timeout to 10s. (#​18527) + Fix formatting of release notes (#​18534) + Use extension rather than local names in ModuleExtensionMetadata (#​18536) + [credentialhelper] Ignore all errors when writing stdin (#​18540) + Improve error on invalid `-//foo` and `-@​repo//foo` options (#​18516) + Implement failure circuit breaker (#​18541) + Actually check `TEST_SHARD_STATUS_FILE` has been touched (#​18418) + Ignore hash string casing (#​18414) + Error if repository name isn't supplied (#​18425) + Track repo rule label attributes after the first non-existent one (#​18412) + Add ServerCapabilities into RemoteExecutionClient (#​18442) + RemoteExecutionService: support output_symlinks in ActionResult (#​18441) + RemoteExecutionService: Action.Command to set output_paths (#​18440) + Use local_termination_grace_seconds when testing LinuxSandbox availability (#​18568) + Fix dangling string literal in `extension_metadata` docs (#​18598) + Include actual MODULE.bazel location in stack traces (#​18612) + Make cpp file extensions case sensitive again (#​18552) + Fix error when script is run after the final tag is created. (#​18638) + Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#​18649) + Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#​18656) + Use failure_rate instead of failure count for circuit breaker (#​18559) + Update ignored_error logic for circuit_breaker (#​18662) + Don't rewind the build if invocation id stays the same (#​18670) + Fix potential memory leak in UI (#​18659) + Test that a credential helper can supply credentials for bzlmod. (#​18663) + Add flag --experimental_collect_code_coverage_for_generated_files. (#​18664) + Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command. Closes #​18130. (#​18609) + Fix split post-processing of LLVM-based coverage (#​18737) + Allow module extension usages to be isolated (#​18727) + BEGIN_PUBLIC (#​18729) + Declare credential helpers to be a stable feature. (#​18752) + Add a new provider for injecting native libs in android_binary (#​18753) + Properly handle invalid credential files (#​18779) + The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#​18787) + Report remote execution messages as events (#​18780) + Fail on isolated extension usages without imports (#​18793) + Add changes to cc_shared_library from head to 6.3 (#​18606) + Remove option to disable FJP. (#​18791) + Update to latest turbine version (#​18803) + None. None (#​18808) + Wait for outputs downloads before emitting local BEP events that reference these outputs. (#​18815) + Perform builtins injection for WORKSPACE-loaded bzl files. (#​18819) + Fix non-declared symlink issue for local actions when BwoB. (#​18817) + Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#​18823) + add feature on windows toolchain with right tag (#​18654) + coverage_common.instrumented_files_info now has a metadata_files argument (#​18838) + Download directory output for test actions (#​18846) + Teach DexMapper to not separate synthetic classes from their context … (#​18853) + **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#​18870) + Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419)" (#​18886) + Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function. Fixes #​18766. (#​18882) + Open-source Google test `ConvenienceSymlinkTest` (#​18890) + Update Error Prone to 2.20.0 (#​18885) + Check if json.gz files exist, not the gcov version. (#​18889) + Lockfile updates (#​18894) + handle exception instead of crashing (#​18895) + Add a new provider for passing dex related artifacts in android_binary (#​18899) + Prevent most side effects of yanked modules (#​18908) + Restore the classic desugar tool in the Bazel 6.3.0 branch so that the Bazel Android tools can be built for 6.3.0 without breaking backwards compatibility (#​18909) + Update java_tools to v12.5 (#​18868) + Add ActionCacheStatistics to BEP (#​18914) + Adjust --top_level_targets_for_symlinks (#​18916) + Track dev/non-dev `use_extension` calls (#​18918) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18921) + Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#​18773) + Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#​18891) + Report dev/non-dev deps imported via non-dev/dev usages (#​18922) + Add reverted 'isolate' changes (#​18928) + Identify isolated extensions by exported name (#​18923) + test-setup.sh: Attempt to raise the original signal once more (#​18932) + Ignore broken classic desugar tests (#​18933) + Disable UseCorrectAssertInTests by default (#​18948) + Fix VS 2022 autodetection (#​18960) + Fix absolute file paths showing up in lockfiles (#​18993) + Add support for isolated extension usages to the lockfile (#​19008) Acknowledgements: This release contains contributions from many people at Google, as well as amishra-u, Andreas Herrmann, Andy Hamon, andyrinne12, Benjamin Lee, Benjamin Peterson, Brentley Jones, Chirag Ramani, Christopher Rydell, Daniel Wagner-Hall, Ed Schouten, Fabian Brandstetter, Fabian Meumertzheim, Greg, Ivan Golub, Jon Landis, JY Lin, Kai Zhang, Keith Smiley, kotlaja, lripoche, oquenchil, Pavan Singh, Rasrack, Son Luong Ngoc, Takeo Sawada, Vertexwahn, Xùdōng Yáng, Yannic. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMjEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://github.com/bazelbuild/bazel) | minor | `6.2.1` -> `6.3.0` | --- ### Release Notes <details> <summary>bazelbuild/bazel (bazel)</summary> ### [`v6.3.0`](https://github.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-630-2023-07-24) [Compare Source](https://github.com/bazelbuild/bazel/compare/6.2.1...6.3.0) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18417) + Update CODEOWNERS for 6.3.0 (#​18369) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18388) + Add implementation deps support for Objective-C (#​18372) + Update release notes scripts (#​18400) + Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#​18430) + Use wall-time for credential helper invalidation (#​18413) + blaze_util_posix: handle killpg failures (#​18403) + Pass version to java_runtimes created by local_java_repository (#​18415) + Add jsonproto option to query --output flag (#​18438) + Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419) + rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#​18447) + Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#​18453) + Wire credential helper to repository fetching. (#​18429) + Updates/fixes to relnotes script (#​18470) + Report percentual download progress in repository rules (#​18471) + Support remote symlink outputs when building without the bytes. (#​18476) + Enrich local BEP upload errors with file path and digest possible. (#​18481) + Set `GTEST_SHARD_STATUS_FILE` in test setup (#​18482) + Fix relnotes script (#​18491) + Fix Xcode 14.3 compatibility (#​18490) + Fix bazelbuild/bazel#18493. (#​18514) + Extend the credential helper default timeout to 10s. (#​18527) + Fix formatting of release notes (#​18534) + Use extension rather than local names in ModuleExtensionMetadata (#​18536) + [credentialhelper] Ignore all errors when writing stdin (#​18540) + Improve error on invalid `-//foo` and `-@​repo//foo` options (#​18516) + Implement failure circuit breaker (#​18541) + Actually check `TEST_SHARD_STATUS_FILE` has been touched (#​18418) + Ignore hash string casing (#​18414) + Error if repository name isn't supplied (#​18425) + Track repo rule label attributes after the first non-existent one (#​18412) + Add ServerCapabilities into RemoteExecutionClient (#​18442) + RemoteExecutionService: support output_symlinks in ActionResult (#​18441) + RemoteExecutionService: Action.Command to set output_paths (#​18440) + Use local_termination_grace_seconds when testing LinuxSandbox availability (#​18568) + Fix dangling string literal in `extension_metadata` docs (#​18598) + Include actual MODULE.bazel location in stack traces (#​18612) + Make cpp file extensions case sensitive again (#​18552) + Fix error when script is run after the final tag is created. (#​18638) + Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#​18649) + Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#​18656) + Use failure_rate instead of failure count for circuit breaker (#​18559) + Update ignored_error logic for circuit_breaker (#​18662) + Don't rewind the build if invocation id stays the same (#​18670) + Fix potential memory leak in UI (#​18659) + Test that a credential helper can supply credentials for bzlmod. (#​18663) + Add flag --experimental_collect_code_coverage_for_generated_files. (#​18664) + Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command. Closes #​18130. (#​18609) + Fix split post-processing of LLVM-based coverage (#​18737) + Allow module extension usages to be isolated (#​18727) + BEGIN_PUBLIC (#​18729) + Declare credential helpers to be a stable feature. (#​18752) + Add a new provider for injecting native libs in android_binary (#​18753) + Properly handle invalid credential files (#​18779) + The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#​18787) + Report remote execution messages as events (#​18780) + Fail on isolated extension usages without imports (#​18793) + Add changes to cc_shared_library from head to 6.3 (#​18606) + Remove option to disable FJP. (#​18791) + Update to latest turbine version (#​18803) + None. None (#​18808) + Wait for outputs downloads before emitting local BEP events that reference these outputs. (#​18815) + Perform builtins injection for WORKSPACE-loaded bzl files. (#​18819) + Fix non-declared symlink issue for local actions when BwoB. (#​18817) + Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#​18823) + add feature on windows toolchain with right tag (#​18654) + coverage_common.instrumented_files_info now has a metadata_files argument (#​18838) + Download directory output for test actions (#​18846) + Teach DexMapper to not separate synthetic classes from their context … (#​18853) + **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#​18870) + Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419)" (#​18886) + Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function. Fixes #​18766. (#​18882) + Open-source Google test `ConvenienceSymlinkTest` (#​18890) + Update Error Prone to 2.20.0 (#​18885) + Check if json.gz files exist, not the gcov version. (#​18889) + Lockfile updates (#​18894) + handle exception instead of crashing (#​18895) + Add a new provider for passing dex related artifacts in android_binary (#​18899) + Prevent most side effects of yanked modules (#​18908) + Restore the classic desugar tool in the Bazel 6.3.0 branch so that the Bazel Android tools can be built for 6.3.0 without breaking backwards compatibility (#​18909) + Update java_tools to v12.5 (#​18868) + Add ActionCacheStatistics to BEP (#​18914) + Adjust --top_level_targets_for_symlinks (#​18916) + Track dev/non-dev `use_extension` calls (#​18918) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18921) + Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#​18773) + Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#​18891) + Report dev/non-dev deps imported via non-dev/dev usages (#​18922) + Add reverted 'isolate' changes (#​18928) + Identify isolated extensions by exported name (#​18923) + test-setup.sh: Attempt to raise the original signal once more (#​18932) + Ignore broken classic desugar tests (#​18933) + Disable UseCorrectAssertInTests by default (#​18948) + Fix VS 2022 autodetection (#​18960) + Fix absolute file paths showing up in lockfiles (#​18993) + Add support for isolated extension usages to the lockfile (#​19008) Acknowledgements: This release contains contributions from many people at Google, as well as amishra-u, Andreas Herrmann, Andy Hamon, andyrinne12, Benjamin Lee, Benjamin Peterson, Brentley Jones, Chirag Ramani, Christopher Rydell, Daniel Wagner-Hall, Ed Schouten, Fabian Brandstetter, Fabian Meumertzheim, Greg, Ivan Golub, Jon Landis, JY Lin, Kai Zhang, Keith Smiley, kotlaja, lripoche, oquenchil, Pavan Singh, Rasrack, Son Luong Ngoc, Takeo Sawada, Vertexwahn, Xùdōng Yáng, Yannic. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMjEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://github.com/bazelbuild/bazel) | minor | `6.2.1` -> `6.3.0` | --- ### Release Notes <details> <summary>bazelbuild/bazel (bazel)</summary> ### [`v6.3.0`](https://github.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-630-2023-07-24) [Compare Source](https://github.com/bazelbuild/bazel/compare/6.2.1...6.3.0) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18417) + Update CODEOWNERS for 6.3.0 (#​18369) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18388) + Add implementation deps support for Objective-C (#​18372) + Update release notes scripts (#​18400) + Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#​18430) + Use wall-time for credential helper invalidation (#​18413) + blaze_util_posix: handle killpg failures (#​18403) + Pass version to java_runtimes created by local_java_repository (#​18415) + Add jsonproto option to query --output flag (#​18438) + Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419) + rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#​18447) + Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#​18453) + Wire credential helper to repository fetching. (#​18429) + Updates/fixes to relnotes script (#​18470) + Report percentual download progress in repository rules (#​18471) + Support remote symlink outputs when building without the bytes. (#​18476) + Enrich local BEP upload errors with file path and digest possible. (#​18481) + Set `GTEST_SHARD_STATUS_FILE` in test setup (#​18482) + Fix relnotes script (#​18491) + Fix Xcode 14.3 compatibility (#​18490) + Fix bazelbuild/bazel#18493. (#​18514) + Extend the credential helper default timeout to 10s. (#​18527) + Fix formatting of release notes (#​18534) + Use extension rather than local names in ModuleExtensionMetadata (#​18536) + [credentialhelper] Ignore all errors when writing stdin (#​18540) + Improve error on invalid `-//foo` and `-@​repo//foo` options (#​18516) + Implement failure circuit breaker (#​18541) + Actually check `TEST_SHARD_STATUS_FILE` has been touched (#​18418) + Ignore hash string casing (#​18414) + Error if repository name isn't supplied (#​18425) + Track repo rule label attributes after the first non-existent one (#​18412) + Add ServerCapabilities into RemoteExecutionClient (#​18442) + RemoteExecutionService: support output_symlinks in ActionResult (#​18441) + RemoteExecutionService: Action.Command to set output_paths (#​18440) + Use local_termination_grace_seconds when testing LinuxSandbox availability (#​18568) + Fix dangling string literal in `extension_metadata` docs (#​18598) + Include actual MODULE.bazel location in stack traces (#​18612) + Make cpp file extensions case sensitive again (#​18552) + Fix error when script is run after the final tag is created. (#​18638) + Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#​18649) + Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#​18656) + Use failure_rate instead of failure count for circuit breaker (#​18559) + Update ignored_error logic for circuit_breaker (#​18662) + Don't rewind the build if invocation id stays the same (#​18670) + Fix potential memory leak in UI (#​18659) + Test that a credential helper can supply credentials for bzlmod. (#​18663) + Add flag --experimental_collect_code_coverage_for_generated_files. (#​18664) + Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command. Closes #​18130. (#​18609) + Fix split post-processing of LLVM-based coverage (#​18737) + Allow module extension usages to be isolated (#​18727) + BEGIN_PUBLIC (#​18729) + Declare credential helpers to be a stable feature. (#​18752) + Add a new provider for injecting native libs in android_binary (#​18753) + Properly handle invalid credential files (#​18779) + The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#​18787) + Report remote execution messages as events (#​18780) + Fail on isolated extension usages without imports (#​18793) + Add changes to cc_shared_library from head to 6.3 (#​18606) + Remove option to disable FJP. (#​18791) + Update to latest turbine version (#​18803) + None. None (#​18808) + Wait for outputs downloads before emitting local BEP events that reference these outputs. (#​18815) + Perform builtins injection for WORKSPACE-loaded bzl files. (#​18819) + Fix non-declared symlink issue for local actions when BwoB. (#​18817) + Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#​18823) + add feature on windows toolchain with right tag (#​18654) + coverage_common.instrumented_files_info now has a metadata_files argument (#​18838) + Download directory output for test actions (#​18846) + Teach DexMapper to not separate synthetic classes from their context … (#​18853) + **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#​18870) + Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419)" (#​18886) + Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function. Fixes #​18766. (#​18882) + Open-source Google test `ConvenienceSymlinkTest` (#​18890) + Update Error Prone to 2.20.0 (#​18885) + Check if json.gz files exist, not the gcov version. (#​18889) + Lockfile updates (#​18894) + handle exception instead of crashing (#​18895) + Add a new provider for passing dex related artifacts in android_binary (#​18899) + Prevent most side effects of yanked modules (#​18908) + Restore the classic desugar tool in the Bazel 6.3.0 branch so that the Bazel Android tools can be built for 6.3.0 without breaking backwards compatibility (#​18909) + Update java_tools to v12.5 (#​18868) + Add ActionCacheStatistics to BEP (#​18914) + Adjust --top_level_targets_for_symlinks (#​18916) + Track dev/non-dev `use_extension` calls (#​18918) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18921) + Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#​18773) + Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#​18891) + Report dev/non-dev deps imported via non-dev/dev usages (#​18922) + Add reverted 'isolate' changes (#​18928) + Identify isolated extensions by exported name (#​18923) + test-setup.sh: Attempt to raise the original signal once more (#​18932) + Ignore broken classic desugar tests (#​18933) + Disable UseCorrectAssertInTests by default (#​18948) + Fix VS 2022 autodetection (#​18960) + Fix absolute file paths showing up in lockfiles (#​18993) + Add support for isolated extension usages to the lockfile (#​19008) Acknowledgements: This release contains contributions from many people at Google, as well as amishra-u, Andreas Herrmann, Andy Hamon, andyrinne12, Benjamin Lee, Benjamin Peterson, Brentley Jones, Chirag Ramani, Christopher Rydell, Daniel Wagner-Hall, Ed Schouten, Fabian Brandstetter, Fabian Meumertzheim, Greg, Ivan Golub, Jon Landis, JY Lin, Kai Zhang, Keith Smiley, kotlaja, lripoche, oquenchil, Pavan Singh, Rasrack, Son Luong Ngoc, Takeo Sawada, Vertexwahn, Xùdōng Yáng, Yannic. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMjEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://github.com/bazelbuild/bazel) | minor | `6.2.1` -> `6.3.0` | --- ### Release Notes <details> <summary>bazelbuild/bazel (bazel)</summary> ### [`v6.3.0`](https://github.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-630-2023-07-24) [Compare Source](https://github.com/bazelbuild/bazel/compare/6.2.1...6.3.0) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18417) + Update CODEOWNERS for 6.3.0 (#​18369) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18388) + Add implementation deps support for Objective-C (#​18372) + Update release notes scripts (#​18400) + Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#​18430) + Use wall-time for credential helper invalidation (#​18413) + blaze_util_posix: handle killpg failures (#​18403) + Pass version to java_runtimes created by local_java_repository (#​18415) + Add jsonproto option to query --output flag (#​18438) + Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419) + rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#​18447) + Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#​18453) + Wire credential helper to repository fetching. (#​18429) + Updates/fixes to relnotes script (#​18470) + Report percentual download progress in repository rules (#​18471) + Support remote symlink outputs when building without the bytes. (#​18476) + Enrich local BEP upload errors with file path and digest possible. (#​18481) + Set `GTEST_SHARD_STATUS_FILE` in test setup (#​18482) + Fix relnotes script (#​18491) + Fix Xcode 14.3 compatibility (#​18490) + Fix bazelbuild/bazel#18493. (#​18514) + Extend the credential helper default timeout to 10s. (#​18527) + Fix formatting of release notes (#​18534) + Use extension rather than local names in ModuleExtensionMetadata (#​18536) + [credentialhelper] Ignore all errors when writing stdin (#​18540) + Improve error on invalid `-//foo` and `-@​repo//foo` options (#​18516) + Implement failure circuit breaker (#​18541) + Actually check `TEST_SHARD_STATUS_FILE` has been touched (#​18418) + Ignore hash string casing (#​18414) + Error if repository name isn't supplied (#​18425) + Track repo rule label attributes after the first non-existent one (#​18412) + Add ServerCapabilities into RemoteExecutionClient (#​18442) + RemoteExecutionService: support output_symlinks in ActionResult (#​18441) + RemoteExecutionService: Action.Command to set output_paths (#​18440) + Use local_termination_grace_seconds when testing LinuxSandbox availability (#​18568) + Fix dangling string literal in `extension_metadata` docs (#​18598) + Include actual MODULE.bazel location in stack traces (#​18612) + Make cpp file extensions case sensitive again (#​18552) + Fix error when script is run after the final tag is created. (#​18638) + Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#​18649) + Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#​18656) + Use failure_rate instead of failure count for circuit breaker (#​18559) + Update ignored_error logic for circuit_breaker (#​18662) + Don't rewind the build if invocation id stays the same (#​18670) + Fix potential memory leak in UI (#​18659) + Test that a credential helper can supply credentials for bzlmod. (#​18663) + Add flag --experimental_collect_code_coverage_for_generated_files. (#​18664) + Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command. Closes #​18130. (#​18609) + Fix split post-processing of LLVM-based coverage (#​18737) + Allow module extension usages to be isolated (#​18727) + BEGIN_PUBLIC (#​18729) + Declare credential helpers to be a stable feature. (#​18752) + Add a new provider for injecting native libs in android_binary (#​18753) + Properly handle invalid credential files (#​18779) + The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#​18787) + Report remote execution messages as events (#​18780) + Fail on isolated extension usages without imports (#​18793) + Add changes to cc_shared_library from head to 6.3 (#​18606) + Remove option to disable FJP. (#​18791) + Update to latest turbine version (#​18803) + None. None (#​18808) + Wait for outputs downloads before emitting local BEP events that reference these outputs. (#​18815) + Perform builtins injection for WORKSPACE-loaded bzl files. (#​18819) + Fix non-declared symlink issue for local actions when BwoB. (#​18817) + Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#​18823) + add feature on windows toolchain with right tag (#​18654) + coverage_common.instrumented_files_info now has a metadata_files argument (#​18838) + Download directory output for test actions (#​18846) + Teach DexMapper to not separate synthetic classes from their context … (#​18853) + **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#​18870) + Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419)" (#​18886) + Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function. Fixes #​18766. (#​18882) + Open-source Google test `ConvenienceSymlinkTest` (#​18890) + Update Error Prone to 2.20.0 (#​18885) + Check if json.gz files exist, not the gcov version. (#​18889) + Lockfile updates (#​18894) + handle exception instead of crashing (#​18895) + Add a new provider for passing dex related artifacts in android_binary (#​18899) + Prevent most side effects of yanked modules (#​18908) + Restore the classic desugar tool in the Bazel 6.3.0 branch so that the Bazel Android tools can be built for 6.3.0 without breaking backwards compatibility (#​18909) + Update java_tools to v12.5 (#​18868) + Add ActionCacheStatistics to BEP (#​18914) + Adjust --top_level_targets_for_symlinks (#​18916) + Track dev/non-dev `use_extension` calls (#​18918) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18921) + Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#​18773) + Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#​18891) + Report dev/non-dev deps imported via non-dev/dev usages (#​18922) + Add reverted 'isolate' changes (#​18928) + Identify isolated extensions by exported name (#​18923) + test-setup.sh: Attempt to raise the original signal once more (#​18932) + Ignore broken classic desugar tests (#​18933) + Disable UseCorrectAssertInTests by default (#​18948) + Fix VS 2022 autodetection (#​18960) + Fix absolute file paths showing up in lockfiles (#​18993) + Add support for isolated extension usages to the lockfile (#​19008) Acknowledgements: This release contains contributions from many people at Google, as well as amishra-u, Andreas Herrmann, Andy Hamon, andyrinne12, Benjamin Lee, Benjamin Peterson, Brentley Jones, Chirag Ramani, Christopher Rydell, Daniel Wagner-Hall, Ed Schouten, Fabian Brandstetter, Fabian Meumertzheim, Greg, Ivan Golub, Jon Landis, JY Lin, Kai Zhang, Keith Smiley, kotlaja, lripoche, oquenchil, Pavan Singh, Rasrack, Son Luong Ngoc, Takeo Sawada, Vertexwahn, Xùdōng Yáng, Yannic. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMjEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Baseline: 758b44d Release Notes: + Automatic code cleanup. (#18417) + Update CODEOWNERS for 6.3.0 (#18369) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#18388) + Add implementation deps support for Objective-C (#18372) + Update release notes scripts (#18400) + Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#18430) + Use wall-time for credential helper invalidation (#18413) + blaze_util_posix: handle killpg failures (#18403) + Pass version to java_runtimes created by local_java_repository (#18415) + Add jsonproto option to query --output flag (#18438) + Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#18419) + rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#18447) + Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#18453) + Wire credential helper to repository fetching. (#18429) + Updates/fixes to relnotes script (#18470) + Report percentual download progress in repository rules (#18471) + Support remote symlink outputs when building without the bytes. (#18476) + Enrich local BEP upload errors with file path and digest possible. (#18481) + Set `GTEST_SHARD_STATUS_FILE` in test setup (#18482) + Fix relnotes script (#18491) + Fix Xcode 14.3 compatibility (#18490) + Fix #18493. (#18514) + Extend the credential helper default timeout to 10s. (#18527) + Fix formatting of release notes (#18534) + Use extension rather than local names in ModuleExtensionMetadata (#18536) + [credentialhelper] Ignore all errors when writing stdin (#18540) + Improve error on invalid `-//foo` and `-@repo//foo` options (#18516) + Implement failure circuit breaker (#18541) + Actually check `TEST_SHARD_STATUS_FILE` has been touched (#18418) + Ignore hash string casing (#18414) + Error if repository name isn't supplied (#18425) + Track repo rule label attributes after the first non-existent one (#18412) + Add ServerCapabilities into RemoteExecutionClient (#18442) + RemoteExecutionService: support output_symlinks in ActionResult (#18441) + RemoteExecutionService: Action.Command to set output_paths (#18440) + Use local_termination_grace_seconds when testing LinuxSandbox availability (#18568) + Fix dangling string literal in `extension_metadata` docs (#18598) + Include actual MODULE.bazel location in stack traces (#18612) + Make cpp file extensions case sensitive again (#18552) + Fix error when script is run after the final tag is created. (#18638) + Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#18649) + Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#18656) + Use failure_rate instead of failure count for circuit breaker (#18559) + Update ignored_error logic for circuit_breaker (#18662) + Don't rewind the build if invocation id stays the same (#18670) + Fix potential memory leak in UI (#18659) + Test that a credential helper can supply credentials for bzlmod. (#18663) + Add flag --experimental_collect_code_coverage_for_generated_files. (#18664) + Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command. Closes #18130. (#18609) + Fix split post-processing of LLVM-based coverage (#18737) + Allow module extension usages to be isolated (#18727) + BEGIN_PUBLIC (#18729) + Declare credential helpers to be a stable feature. (#18752) + Add a new provider for injecting native libs in android_binary (#18753) + Properly handle invalid credential files (#18779) + The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#18787) + Report remote execution messages as events (#18780) + Fail on isolated extension usages without imports (#18793) + Add changes to cc_shared_library from head to 6.3 (#18606) + Remove option to disable FJP. (#18791) + Update to latest turbine version (#18803) + None. None (#18808) + Wait for outputs downloads before emitting local BEP events that reference these outputs. (#18815) + Perform builtins injection for WORKSPACE-loaded bzl files. (#18819) + Fix non-declared symlink issue for local actions when BwoB. (#18817) + Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#18823) + add feature on windows toolchain with right tag (#18654) + coverage_common.instrumented_files_info now has a metadata_files argument (#18838) + Download directory output for test actions (#18846) + Teach DexMapper to not separate synthetic classes from their context … (#18853) + **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#18870) + Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#18419)" (#18886) + Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function. Fixes #18766. (#18882) + Open-source Google test `ConvenienceSymlinkTest` (#18890) + Update Error Prone to 2.20.0 (#18885) + Check if json.gz files exist, not the gcov version. (#18889) + Lockfile updates (#18894) + handle exception instead of crashing (#18895) + Add a new provider for passing dex related artifacts in android_binary (#18899) + Prevent most side effects of yanked modules (#18908) + Restore the classic desugar tool in the Bazel 6.3.0 branch so that the Bazel Android tools can be built for 6.3.0 without breaking backwards compatibility (#18909) + Update java_tools to v12.5 (#18868) + Add ActionCacheStatistics to BEP (#18914) + Adjust --top_level_targets_for_symlinks (#18916) + Track dev/non-dev `use_extension` calls (#18918) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#18921) + Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#18773) + Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#18891) + Report dev/non-dev deps imported via non-dev/dev usages (#18922) + Add reverted 'isolate' changes (#18928) + Identify isolated extensions by exported name (#18923) + test-setup.sh: Attempt to raise the original signal once more (#18932) + Ignore broken classic desugar tests (#18933) + Disable UseCorrectAssertInTests by default (#18948) + Fix VS 2022 autodetection (#18960) + Fix absolute file paths showing up in lockfiles (#18993) + Add support for isolated extension usages to the lockfile (#19008) Acknowledgements: This release contains contributions from many people at Google, as well as amishra-u, Andreas Herrmann, Andy Hamon, andyrinne12, Benjamin Lee, Benjamin Peterson, Brentley Jones, Chirag Ramani, Christopher Rydell, Daniel Wagner-Hall, Ed Schouten, Fabian Brandstetter, Fabian Meumertzheim, Greg, Ivan Golub, Jon Landis, JY Lin, Kai Zhang, Keith Smiley, kotlaja, lripoche, oquenchil, Pavan Singh, Rasrack, Son Luong Ngoc, Takeo Sawada, Vertexwahn, Xùdōng Yáng, Yannic.
Description of the bug:
In bazel 6.2 release, using
bazel run test_taget
to execute test doesn't convey test exit code when it's 1.In older bazel (for example, bazel 5.4, 5.3 and bazel 6.1.2 i have tested), the exit code 1 from test will be conveyed
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I set up a toy repo with WORKSPACE AS
a BUILD file as
and example.sh as
With bazel 5.3/5.4/6.1.2, i get
With bazel 6.2
Which operating system are you running Bazel on?
Ubuntu 22.04
What is the output of
bazel info release
?release 6.2.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?The text was updated successfully, but these errors were encountered: