Skip to content
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

Merge 22.x back to main #12200

Merged
merged 63 commits into from
Mar 10, 2023
Merged

Merge 22.x back to main #12200

merged 63 commits into from
Mar 10, 2023

Conversation

zhangskz
Copy link
Member

No description provided.

mkruskal-google and others added 30 commits February 16, 2023 08:39
PiperOrigin-RevId: 509616839
Bazel has a 2 minute timeout for their internal `xcrun` call, which can be exceeded on our github runners about 5% of the time.  This leads to flakes and opaque errors, but is a one-time cost.  Subsequent xcruns finish in seconds, so we can just do an initial call w/o a timeout before running Bazel.

With this change our total flake rate drops from ~30% to nearly 0% for our full suite of tests

See bazelbuild/bazel#17437 for background.

PiperOrigin-RevId: 509944178
This fixes some relatively harmless flakiness in our post-submit.  If two commits are made within ~5 minutes of each other, the `git push` command will fail because the git workspace isn't up to date.

PiperOrigin-RevId: 510165977
Chocolatey doesn't support any caching, so we're moving back to downloading the exe directly.  This issue is responsible for a 5-10% flake rate in our windows cmake builds

PiperOrigin-RevId: 510202223
In 22.x, we accidentally omitted stripping the "src" import prefix for plugin.proto. We stripped the prefix in 21.x and for all other well known types in 22.x.

This reverts that unintentional change.
In 21.x, depending on "//python:well_known_types_py_pb2" provided a transitive dependency to `compiler/plugin.proto`. That dependency was incorrectly removed for 22.x.
Strip "src" from file name of plugin.proto
Add plugin.proto to the list of well known files for python
Fix exit code on git commit which was preventing force-push and tagging from running even though these should work without a new commit. An empty commit is probably clearer anyways to show that sync has happened.
…n and kotlin + util need to depend on protobuf-java and kotlin-lite should depend on protobuf-javalite. (#12009)

This fixes #11976

PiperOrigin-RevId: 511252224
This addresses #12017.

PiperOrigin-RevId: 511587640
Allow empty commits for update_php_repo
Add OSGi headers to pom files.
This should fix issue #11996.

PiperOrigin-RevId: 511917449
Ensure VarintParseSlowArm{32,64} are exported with PROTOBUF_EXPORT
* Fix mutability bug in Java proto lite: sub-messages inside of oneofs were not
being set as immutable. This would allow code to get a builder for a
sub-message and modify the original (supposedly immutable) copy.

PiperOrigin-RevId: 511598810

* Add casts to make protobuf compatible with Java 1.8 runtime.
Fix for: #11393

PiperOrigin-RevId: 511807920

---------

Co-authored-by: Protobuf Team Bot <[email protected]>
Add java8 tests and build flags
@zhangskz zhangskz requested review from a team as code owners March 10, 2023 19:18
@zhangskz zhangskz requested review from haberman, googleberg and jtattermusch and removed request for a team March 10, 2023 19:18
@zhangskz zhangskz requested review from a team and acozzette and removed request for a team, haberman, googleberg, jtattermusch and acozzette March 10, 2023 19:19
@zhangskz zhangskz merged commit b6777d2 into main Mar 10, 2023
@zhangskz zhangskz deleted the main-202303101853 branch March 10, 2023 21:05
copybara-service bot pushed a commit that referenced this pull request Mar 10, 2023
Closes #12200

COPYBARA_INTEGRATE_REVIEW=#12200 from protocolbuffers:main-202303101853 1efa2e7
PiperOrigin-RevId: 515722578
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants