Consolidate test and test_bazel CI jobs in rust.yml. - #1957
Open
copybara-service[bot] wants to merge 1 commit into
Open
copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
test_976528842
branch
from
September 5, 2026 00:22
55ff0ad to
ad768fb
Compare
Merge the `test_bazel` steps (Bazel setup, remote cache, Bazel build and environment configuration) into the `test` job. Deduplication & cleanups: - Reused the Bazel environment setup across both Cargo test and Cargo build steps instead of launching a separate GitHub Actions runner. - Removed the standalone `protoc` download/caching step from `test`, as `setup_bazel_env.py` already resolves and provisions `protoc` from Bazel (`@protobuf//:protoc`). - Unified the separate `cargo build` commands into a single `cargo build --verbose --locked --workspace` step, and added a TODO to expand `cargo test` coverage once remaining crate test harnesses are supported in standalone Cargo builds. PiperOrigin-RevId: 976528842
copybara-service
Bot
force-pushed
the
test_976528842
branch
from
September 7, 2026 19:42
ad768fb to
d1b8612
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Consolidate
testandtest_bazelCI jobs inrust.yml.Merge the
test_bazelsteps (Bazel setup, remote cache, Bazel buildand environment configuration) into the
testjob.Deduplication & cleanups:
build steps instead of launching a separate GitHub Actions runner.
protocdownload/caching step fromtest, assetup_bazel_env.pyalready resolves and provisionsprotocfromBazel (
@protobuf//:protoc).cargo buildcommands into a singlecargo build --verbose --locked --workspacestep, and added a TODOto expand
cargo testcoverage once remaining crate test harnessesare supported in standalone Cargo builds.