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

Upgrade protobuf version #1005

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

lewijacn
Copy link
Collaborator

Description

Current protobuf version has a risk that can be remediated by upgrading to latest version: https://ossindex.sonatype.org/component/pkg:maven/com.google.protobuf/[email protected]

3.22.2 -> 3.25.5

Issues Resolved

N/A

Is this a backport? If so, please add backport PR # and/or commits #

Testing

[Please provide details of testing done: unit testing, integration testing and manual testing]

Check List

  • New functionality includes testing
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.13%. Comparing base (6c32e29) to head (e99f373).
Report is 34 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1005      +/-   ##
============================================
- Coverage     80.17%   80.13%   -0.05%     
+ Complexity     2721     2718       -3     
============================================
  Files           370      370              
  Lines         13622    13624       +2     
  Branches        938      938              
============================================
- Hits          10921    10917       -4     
- Misses         2130     2134       +4     
- Partials        571      573       +2     
Flag Coverage Δ
gradle-test 78.13% <ø> (-0.06%) ⬇️
python-test 89.91% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -9,11 +9,11 @@ plugins {

dependencies {
api project(":commonDependencyVersionConstraints")
api group: 'com.google.protobuf', name: 'protobuf-java', version: '3.22.2'
api group: 'com.google.protobuf', name: 'protobuf-java', version: '3.25.5'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the version from here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me test, I am also curious about this

}

protobuf {
protoc {
artifact = "com.google.protobuf:protoc:3.22.2"
artifact = "com.google.protobuf:protoc:3.25.5"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we try removing the version from here? I'm less sure about this one

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you remove one of these, we really should remove the other too. I want the version specifiers to be specified together in the same file.

@AndreKurait AndreKurait merged commit b26db7f into opensearch-project:main Sep 30, 2024
14 checks passed
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.

3 participants