feat(dev): Add SENTRY_CELL_ROUTING env var that runs cell-routing mode locally#115852
Merged
Conversation
When set, configures the dev server so cell-scoped API XHRs
(/api/0/organizations/{slug}/*) target Synapse on :13000 while UI
rendering and control API stay on the sentry devserver at :8000.
Flips system:multi-region and points system.region-api-url-template at
the Synapse port so the frontend's regionUrl bootstrap picks it up.
Should be run together with devservices --mode cell-routing for the
matching Synapse proxy/ingest-router containers.
Updates agent skill with information about how to run cell-routing
mode.
markstory
approved these changes
May 20, 2026
| SENTRY_OPTIONS["system.region-api-url-template"] = "http://dev.getsentry.net:13000" | ||
| SENTRY_OPTIONS["system.organization-base-hostname"] = "{slug}.dev.getsentry.net:8000" | ||
| SENTRY_OPTIONS["system.organization-url-template"] = "http://{hostname}" | ||
| SENTRY_FEATURES["system:multi-region"] = True |
Member
There was a problem hiding this comment.
With this flag on sentry is going to want to be run in siloed mode and I think behind ngrok.
Member
Author
There was a problem hiding this comment.
i wasn't using ngrok in my testing, it doesn't seem to be required
JonasBa
pushed a commit
that referenced
this pull request
May 21, 2026
…e locally (#115852) When set, configures the dev server so cell-scoped API XHRs (/api/0/organizations/{slug}/*) target Synapse on :13000 while UI rendering and control API stay on the sentry devserver at :8000. Flips system:multi-region and points system.region-api-url-template at the Synapse port so the frontend's regionUrl bootstrap picks it up. Should be run together with devservices --mode cell-routing for the matching Synapse proxy/ingest-router containers. Updates agent skill with information about how to run cell-routing mode.
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.
When set, configures the dev server so cell-scoped API XHRs (/api/0/organizations/{slug}/*) target Synapse on :13000 while UI rendering and control API stay on the sentry devserver at :8000. Flips system:multi-region and points system.region-api-url-template at the Synapse port so the frontend's regionUrl bootstrap picks it up.
Should be run together with devservices --mode cell-routing for the matching Synapse proxy/ingest-router containers.
Updates agent skill with information about how to run cell-routing mode.