Repository navigation
Test/ci monolithic container pr199 - #29452
Open
tonyliaoss wants to merge 2 commits into
Open
tonyliaoss wants to merge 2 commits into
tonyliaoss wants to merge 2 commits into
Conversation
tonyliaoss
force-pushed
the
test/ci-monolithic-container-pr199
branch
from
August 26, 2026 21:48
2a46990 to
0a5367c
Compare
…finitions. BEGIN_PUBLIC Support plug-and-play monolithic Docker testing across Bazel build definitions. To support the multi-language monolithic test container (introduced in build-support#199), Protocol Buffers needs to build and test cleanly under wildcard target expansion (`bazel test //...`) in fully hermetic, isolated container environments. Currently, executing `bazel test //...` out-of-the-box in containerized toolchains encounters multiple analysis, runtime, and environment errors: - Leaked internal Google3 labels and repo-relative paths in Starlark macros cause target analysis failures when exported to OSS. - Containerized runtime runners lack environment isolation (e.g., .NET CLI attempting to write to restricted home paths, non-standard Python interpreter paths), causing sandboxed execution failures. - Starlark C++ proto aspects crash when analyzing headerless/empty proto libraries. - Legacy network-dependent tests and deprecated blocklist targets break offline test suites during wildcard evaluation. This change updates the build definitions, test runner scripts, and Copybara export rules so that the entire test suite resolves hermetically and passes seamlessly in both local container environments and CI workflows without external dependencies or manual overrides. END_PUBLIC R=mkruskal,sandyzhang CC=protocol-devel+reviews CONV=746be3bf-c8f0-4a89-8ce8-056b27cfe8fa MARKDOWN=true RELEASE_NOTES=no TAG=agy
Configure .github/workflows/test_monolithic_container.yml to validate us-docker.pkg.dev/protobuf-build/containers/test/linux/monolithic:latest-pr199 across the full language test matrix (cpp, java, python, ruby, rust, csharp, php, bazel-all) on pushes to test/ci-monolithic-* and pull requests. Authenticate container runner with GAR_SERVICE_ACCOUNT credentials and pin actions/checkout to immutable commit SHA per Zizmor security policy.
tonyliaoss
force-pushed
the
test/ci-monolithic-container-pr199
branch
from
August 26, 2026 22:21
0a5367c to
901255f
Compare
amanda-tarafa
removed their request for review
September 21, 2026 16:56
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.
No description provided.