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

Detect Breaking Changes check does not fail on new method added to an @PublicApi interface #16585

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

reta
Copy link
Collaborator

@reta reta commented Nov 6, 2024

Description

The japicmp plugin was configured to fail only on binary incompatible changes (which new interface method isn't), making checks strick by failing on source incompatible changes.

Related Issues

Closes #16175

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@github-actions github-actions bot added bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. labels Nov 6, 2024
Copy link
Contributor

github-actions bot commented Nov 6, 2024

❌ Gradle check result for bea3746: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

github-actions bot commented Nov 7, 2024

✅ Gradle check result for bea3746: SUCCESS

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.01%. Comparing base (034bd2b) to head (bea3746).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16585      +/-   ##
============================================
- Coverage     72.04%   72.01%   -0.04%     
+ Complexity    65093    65040      -53     
============================================
  Files          5314     5314              
  Lines        303541   303541              
  Branches      43921    43921              
============================================
- Hits         218683   218580     -103     
- Misses        66946    67022      +76     
- Partials      17912    17939      +27     

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

@reta
Copy link
Collaborator Author

reta commented Nov 7, 2024

@peternied mind please to help me here? thank you! :-)

Copy link
Member

@peternied peternied left a comment

Choose a reason for hiding this comment

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

Thanks for making this change. Are there any escapees that need to be resolved?

@reta
Copy link
Collaborator Author

reta commented Nov 7, 2024

Thanks for making this change. Are there any escapees that need to be resolved?

Nope :) At least as of now

@reta reta merged commit aa5c39b into opensearch-project:main Nov 7, 2024
62 of 63 checks passed
@reta reta added the backport 2.x Backport to 2.x branch label Nov 7, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 7, 2024
…publicapi interface (#16585)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit aa5c39b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta pushed a commit that referenced this pull request Nov 7, 2024
…publicapi interface (#16585) (#16587)

(cherry picked from commit aa5c39b)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Detect Breaking Changes check does not fail on new method added to an @PublicApi interface
2 participants