Repository navigation
fix: keep Relay credentials off unmanaged provider routes - #1358
Merged
mnajafian-nv merged 1 commit intoOct 15, 2026
Merged
mnajafian-nv merged 1 commit into
mnajafian-nv merged 1 commit into
Conversation
Signed-off-by: Will Killian <[email protected]>
Contributor
mnajafian-nv
approved these changes
Oct 15, 2026
mnajafian-nv
left a comment
Contributor
There was a problem hiding this comment.
Lgtm, found no p0s or p1s
This branch was previously deployed
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.
Overview
Prevent unmanaged provider routes from using Relay-owned credentials. These requests still reach the provider with any credentials the client sends.
Details
Compatibility: Clients must send their own provider credentials for unmanaged routes, even when authenticated to Relay. Requests without provider credentials still reach the upstream provider. Managed routes keep their existing authentication rules.
Validation: The full Rust suite, repository hooks, and documentation checks passed after rebasing onto the latest
release/0.10. The Rust suite ran with inherited logging overrides cleared. Fern skipped its published-redirect comparison because the service returned 403. Python, Node.js, and Go binding suites were not run because the change affects CLI forwarding only.Where should the reviewer start?
Start with
ProviderRoute::allows_relay_authincrates/cli/src/gateway/routes.rs, then the forwarding checks in the gateway and daemon. Theunmanaged_routes_forward_only_client_credentialstests cover the forwarding paths. WebSocket tests check that requests without provider credentials still upgrade and exchange frames.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Summary by CodeRabbit
Bug Fixes
Documentation