Repository navigation
fix: validate the selected Bedrock bearer endpoint - #845
Merged
Merged
Conversation
Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
marked this pull request as ready for review
November 20, 2026 22:57
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 20, 2026 22:57
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
rng1995
reviewed
Nov 21, 2026
rng1995
left a comment
Collaborator
There was a problem hiding this comment.
I verified the original endpoint hardening and found one route-resolution mismatch with the pinned SDK.
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
This was referenced Nov 23, 2026
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.
Summary
This follows up on #820 and addresses the endpoint-selection review on #844.
Verification
Bedrock compatibility verification
On
e75333a1, 512 local provider configuration, transport, and Harbor preflight tests passed. The real LiteLLM 1.110.2 loopback suite exercised HTTPS, SigV4, both Responses bridge directions, and model aliases. Rejected HTTP endpoints received zero connections. New regression cases exercise the global Claude Platform URL over HTTP and HTTPS, a global cross-route fallback, and a direct Mantle provider alias. Independent mutation testing confirmed that removing the associated guards causes these cases to fail. Credentialed AWS validation requires a test account. Independent security review found no remaining issue in the direct Bedrock flows exercised.The Mantle alias regression also sends a real HTTPS request with the configured AWS region and a malformed fallback region. Independent security review confirmed that the explicit region reaches each preliminary resolver and the existing endpoint checks still reject HTTP before a connection.
On
30768e36, repository lint and package builds passed. A fresh locked installation imported the built wheel, passedpip check, and passed all 75 provider transport tests with LiteLLM 1.110.2.