Skip to content

devservices: Update relay_url to point at relay-cell#134

Merged
lynnagara merged 1 commit into
mainfrom
ingest-router-devservices-upstream
Jun 2, 2026
Merged

devservices: Update relay_url to point at relay-cell#134
lynnagara merged 1 commit into
mainfrom
ingest-router-devservices-upstream

Conversation

@lynnagara
Copy link
Copy Markdown
Member

This change supports cell-routing mode in sentry's devservices, which uses two relays in order to exercise the advertised upstream path, with Synapse in between.

The upstream of Synapse is the relay-cell service.

This change supports `cell-routing` mode in sentry's devservices,
which uses two relays in order to exercise the advertised upstream
path, with Synapse in between.

The upstream of Synapse is the `relay-cell` service.
@lynnagara lynnagara requested a review from a team as a code owner June 2, 2026 18:55
lynnagara added a commit to getsentry/sentry that referenced this pull request Jun 2, 2026
`cell-routing` mode in devservices now uses a two-relay chain that
exercises Relay's advertised-upstream routing locally — entirely from
sentry's devservices, leaving the relay repo and default `relay` config
untouched:

- relay-cell (:7900): processing terminus; registers with Sentry and
  advertises itself as the upstream for downstream relays.
- relay-edge (:7901): connects to relay-cell via the synapse-ingest-router:3000.
  Project envelops are then forwarded directly to the advertised
  upstream it reads from relay-cell's project config, bypassing synapse.
- also runs taskbroker + taskworker (build project configs) and
  ingest-events + post-process-forwarder-errors so events ingest
  end-to-end into a visible issue.
- bin/send-cell-test-event.py: sends a test event through the edge.

The relay credentials for the new `relay-edge` and `relay-cell` services
were generated with the `relay credentials generate --stdout` method.

The end to end path also depends on this change to Synapse's dev config
getsentry/synapse#134
@lynnagara lynnagara merged commit 7ed566f into main Jun 2, 2026
20 checks passed
@lynnagara lynnagara deleted the ingest-router-devservices-upstream branch June 2, 2026 19:25
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.

2 participants