-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Backport 2.x] [Bug] Fix Build Metadata #7818
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Looks like a legit failure:
|
@reta @dblock Test is failing because the refactoring in #7328 hasn't been backported to 2.x/2.8, so code source is evaluating to classes dir of server, whereas with refactoring it evaluates to the jar of opensearch-core. If the refactor is not being backported then these backported fixes can probably be dropped. Is the refactor supposed to be backported @nknize? |
Yes, I actually forgot I hadn't backported that refactor yet. Let's hold off. We can either close these backport PRs or mark them as WIP until I backport all the remaining refactor PRs. I don't plan to do that until #8157 lands. Which is one of the big decoupling milestones we're working towards. |
This PR is stalled because it has been open for 30 days with no activity. Remove stalled label or comment or this will be closed in 7 days. |
I opened the #7328 backport PR. I'll approve and merge this after that PR is merged. |
@nknize that was merged |
Refactoring Build to core library broke the build metadata. Test coverage was insufficient to catch this bug. This commit fixes the build metadata and improves test coverage such that any unexpected metadata changes are caught. Signed-off-by: Nicholas Walter Knize <nknize@apache.org> Co-authored-by: Nicholas Walter Knize <nknize@apache.org> Co-authored-by: Thomas Farr <tsfarr@amazon.com> (cherry picked from commit 287ac90) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
bf7a0dd
to
3e769ea
Compare
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.
Requisite backport PRs have landed. Will merge once checks pass here.
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## 2.x #7818 +/- ##
============================================
+ Coverage 70.61% 70.68% +0.07%
+ Complexity 57114 57113 -1
============================================
Files 4748 4747 -1
Lines 270610 270565 -45
Branches 39941 39936 -5
============================================
+ Hits 191079 191254 +175
+ Misses 63132 62892 -240
- Partials 16399 16419 +20
|
Backport 287ac90 from #7817.
depends on #8382