[Sandbox] Make sqlUnifiedQueryVersion overridable; force mavenLocal precedence#21589
Merged
mch2 merged 1 commit intoopensearch-project:mainfrom May 10, 2026
Merged
Conversation
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
RyanL1997
approved these changes
May 10, 2026
sandeshkr419
approved these changes
May 10, 2026
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21589 +/- ##
============================================
+ Coverage 73.50% 73.51% +0.01%
+ Complexity 74644 74599 -45
============================================
Files 5980 5980
Lines 338777 338777
Branches 48848 48848
============================================
+ Hits 249011 249054 +43
+ Misses 69946 69854 -92
- Partials 19820 19869 +49 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Description
test-ppl-frontend/build.gradle:sqlUnifiedQueryVersionnow reads-PsqlUnifiedQueryVersion=…with default3.7.0.0-SNAPSHOT. No build.gradle edit needed for local SQL plugin checkouts.test-ppl-frontend+analytics-enginebuild.gradle: forcemavenLocalto repo position 0. DeclaringmavenLocal()first isn't enough — plugin chains prepend remote repos before our block runs, so we re-insert:def local = mavenLocal(); remove(local); add(0, local). Fresh feature-branch jars now win over stale ci.opensearch.org SNAPSHOTs.analytics-engine: drop redundanttestImplementationforunified-query-{api,core,ppl}— already pulled in transitively via the test-ppl-frontend project dep.Same intent as the reverted #21578 (rest-test plugin zips bundle the fresh feature-branch unified-query), but doesn't break publish: empty
~/.m2/on the publish runner makesadd(0, mavenLocal)a no-op there, falling through to OS Snapshots — unlike #21578'sexcludeGroup, which left publish with nothing to resolve from.Related 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.