-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update newQueryShardContext()
to fix breaking changes
#15710
Update newQueryShardContext()
to fix breaking changes
#15710
Conversation
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@harshavamsi - Change looks good. I am curious if you noticed some tests failing?
#15703 -- BWC tests were failing because I did not overload the method enough |
Yeah... They're a different kind of bwc check -- if a method is removed from a public API, the backport fails. I missed that a method signature had changed and even thanked @harshavamsi prematurely for adding an overload. That thanks belongs on this PR instead. |
Thanks @harshavamsi. Interestingly, @msfroh - Probably a gap we should address in the breaking change detector? |
Yeah, I noticed this check failed even while changing namespace for
Yeah, even I saw that and missed the other constructor myself. So, you're not the only one. That's why wondering if we can enhance the |
❌ Gradle check result for a9c617b: 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? |
We've had 2.17.0 builds all day. They've been coming off the 2.17 branch. |
Do we need to bump up the bwc version in main to 2.18 after bumping to 2.18 for 2.x - #15680? |
Okay, this PR needs to go in - #15712 before builds can start passing again! @bowenlan-amzn resolved similar issue #15053 (comment) when we released 2.16 |
#15053 (comment) -- based on this comment looks like the build manifest needs to be updated? |
Ahhh! What changed since I came home is that the 2.18 update on 2.x got merged. (We need to update 2.x before we update main.) Now we need to update main, which maybe needs the manifest change first? Or we need a 2.x Jenkins build to publish 2.18 artifacts. Then we can merge the 2.18 version change for main. Then everyone can rebase their PRs onto that. |
opensearch-project/opensearch-build#4908 (comment) -- I added a comment on the 2.17 release issue. Maybe we can automate the manifest update once a version is cut |
❌ Gradle check result for 8149760: 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? |
❌ Gradle check result for 8149760: 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? |
❕ Gradle check result for c6246e6: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15710 +/- ##
============================================
- Coverage 71.95% 71.80% -0.16%
+ Complexity 64192 64067 -125
============================================
Files 5270 5271 +1
Lines 300052 300167 +115
Branches 43368 43380 +12
============================================
- Hits 215917 215530 -387
- Misses 66442 66914 +472
- Partials 17693 17723 +30 ☔ View full report in Codecov by Sentry. |
@harshavamsi - I believe we don't need to backport this PR to 2.x/2.17, since the original PR never made there? |
Right, I cherry picked this commit onto 2.x and 2.17 PRs so no need to backport |
…earch-project#15710) Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
…earch-project#15710) Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
…earch-project#15710) Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
…earch-project#15710) Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Description
Fixes BWC for
newQueryShardContext
-- https://github.com/opensearch-project/OpenSearch/actions/runs/10710534586/job/29697453754?pr=15703Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
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.