Repository navigation
feat(api): Let routeCellOperations look up raw requests that name an organization - #131245
Merged
Merged
Conversation
…organization
routeCellOperations keeps raw requests on the configured base URL. A host
whose lookup also picks the account or server that knows an organization,
like the Sentry CLI's, needs raw requests to go through it too.
{ rawRequests: 'lookup' } sends raw requests whose path names an
organization through the lookup. The default and generated-operation
routing are unchanged.
Co-Authored-By: BYK <[email protected]>
BYK
approved these changes
Nov 16, 2026
2 tasks done
This branch was successfully 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.
Part of #131198.
routeCellOperations(#131228) keeps raw requests on the configured base URL, because they carry no routing declaration. The Sentry CLI's region lookup does more than find a region: it also picks the stored account, and that account's server, that knows the organization. So itssentry apiraw requests need to go through that lookup to keep reaching an organization whose account is on another server.routeCellOperations(lookup, { rawRequests: "lookup" })sends raw requests whose path names an organization (theirscope) throughlookup. If the lookup returns nothing, they keep the configured base.rawRequests: "baseUrl", keeps today's behavior, so nothing breaks for existing callers.cellgoes through the lookup, whilecontrol,bothandunknownkeep the configured base.via @BYK.
--
View Session [Sentry]