Skip to content

[Backport 3.6] [Bugfix] Remove X-Request-Id format restrictions and make size configurable - #21096

Merged
jainankitk merged 1 commit into
3.6from
backport/backport-21048-to-3.6
Apr 3, 2026
Merged

[Backport 3.6] [Bugfix] Remove X-Request-Id format restrictions and make size configurable#21096
jainankitk merged 1 commit into
3.6from
backport/backport-21048-to-3.6

Conversation

@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor

Backport 80ce21c from #21048.

…21048)

Introduces dynamic http.request_id.max_length setting for configuring maximum
length for X-Request-Id headers. Removes the alpha-numeric validation of X-Request-Id.

Signed-off-by: Finn Carroll <carrofin@amazon.com>
(cherry picked from commit 80ce21c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@opensearch-trigger-bot
opensearch-trigger-bot Bot requested review from a team and peternied as code owners April 3, 2026 01:00
@github-actions

github-actions Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

✅ Gradle check result for 52b2d4d: SUCCESS

@codecov

codecov Bot commented Apr 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 73.20%. Comparing base (e2270fc) to head (52b2d4d).
⚠️ Report is 1 commits behind head on 3.6.

Files with missing lines Patch % Lines
.../main/java/org/opensearch/rest/RestController.java 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                3.6   #21096      +/-   ##
============================================
+ Coverage     73.15%   73.20%   +0.04%     
- Complexity    72554    72576      +22     
============================================
  Files          5848     5848              
  Lines        331985   331989       +4     
  Branches      47949    47947       -2     
============================================
+ Hits         242873   243035     +162     
+ Misses        69595    69441     -154     
+ Partials      19517    19513       -4     

☔ 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.

@peterzhuamazon
peterzhuamazon marked this pull request as draft April 3, 2026 03:05
@jainankitk jainankitk changed the title [Backport 3.6] Remove X-Request-Id format restrictions and make size configurable [Backport 3.6] [Bugfix] Remove X-Request-Id format restrictions and make size configurable Apr 3, 2026
@jainankitk
jainankitk marked this pull request as ready for review April 3, 2026 06:54
@jainankitk
jainankitk merged commit f822cb0 into 3.6 Apr 3, 2026
19 checks passed
@github-actions
github-actions Bot deleted the backport/backport-21048-to-3.6 branch April 3, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant