Skip to content

Make BulkItemRequest immutable - #20831

Merged
andrross merged 7 commits into
opensearch-project:mainfrom
msfroh:make_bulk_item_request_immutable
Apr 10, 2026
Merged

andrross merged 7 commits into
opensearch-project:mainfrom
msfroh:make_bulk_item_request_immutable

Remove reference copy of primaryReponse

dffb34c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 9, 2026 in 0s

73.16% (target 70.00%)

View this Pull Request on Codecov

73.16% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 77.77778% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.16%. Comparing base (9bfcc1d) to head (dffb34c).
⚠️ Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
...earch/action/bulk/BulkPrimaryExecutionContext.java 66.66% 1 Missing and 2 partials ⚠️
...a/org/opensearch/action/bulk/BulkShardRequest.java 81.81% 1 Missing and 1 partial ⚠️
...ensearch/action/bulk/TransportShardBulkAction.java 50.00% 0 Missing and 2 partials ⚠️
...va/org/opensearch/action/bulk/BulkItemRequest.java 85.71% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #20831      +/-   ##
============================================
+ Coverage     73.10%   73.16%   +0.05%     
- Complexity    73213    73220       +7     
============================================
  Files          5968     5968              
  Lines        334539   334532       -7     
  Branches      48174    48171       -3     
============================================
+ Hits         244572   244766     +194     
+ Misses        70421    70176     -245     
- Partials      19546    19590      +44     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.