Fix SemanticHighlighterExtBuilder.toXContent - #1907
Conversation
PR Reviewer Guide 🔍(Review updated until commit 7cd347a)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
611140c to
add0deb
Compare
|
Persistent review updated to latest commit add0deb |
|
@nomoa could you add integ test for this case? |
I'm not sure I can trigger What I could do perhaps is test this behavior building a |
That sounds good to me. I don't know any alternative. |
|
Also, please fix the CI failures. |
add0deb to
53b4ca6
Compare
|
Persistent review updated to latest commit 53b4ca6 |
53b4ca6 to
6255458
Compare
|
Persistent review updated to latest commit 6255458 |
This PR suggestion is actually wrong, wondering if it could have misled other PRs. A bit worried that this issue might have spread to other |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1907 +/- ##
=========================================
Coverage 83.42% 83.42%
Complexity 3896 3896
=========================================
Files 291 291
Lines 13844 13844
Branches 2304 2304
=========================================
Hits 11550 11550
+ Misses 1458 1457 -1
- Partials 836 837 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
rolling upgrade keeps failing. |
SearchExtBuilder expects toXContent to produce their encloding field name. Add test to ensure we can do a round trip with XContent. Fixes opensearch-project#1906. Signed-off-by: David Causse <dcausse@wikimedia.org>
6255458 to
7cd347a
Compare
|
Persistent review updated to latest commit 7cd347a |
|
just rebased the PR (CHANGELOG conflict). Unsure about the rolling upgrade problem, quickly skimmed through the logs I don't see anything directly related to this change. |
|
The failure is not from this PR. The ml-common created a new index proactively for a new node and its replica could not be assigned to old node. Let me merge this PR. |
Description
SearchExtBuilder expects toXContent to produce their encloding field name.
Add test to ensure we can do a round trip with XContent.
Related Issues
Resolves #1906
Check List
[ ] New functionality has been documented.[ ] API changes companion pull request created.--signoff.[ ] Public documentation issue/PR created.