Skip to content

feat(cells): Wire devservices ingest path for cell-routing mode#116714

Merged
lynnagara merged 4 commits into
masterfrom
cell-routing-ingest-path
Jun 2, 2026
Merged

feat(cells): Wire devservices ingest path for cell-routing mode#116714
lynnagara merged 4 commits into
masterfrom
cell-routing-ingest-path

Conversation

@lynnagara
Copy link
Copy Markdown
Member

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

`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 requested a review from a team June 2, 2026 18:58
@lynnagara lynnagara requested review from a team as code owners June 2, 2026 18:58
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 2, 2026
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 33cadc2. Configure here.

Comment thread bin/send-cell-test-event.py Outdated
Comment thread devservices/config/relay-cell.yml
@lynnagara lynnagara merged commit 47c5cc5 into master Jun 2, 2026
63 checks passed
@lynnagara lynnagara deleted the cell-routing-ingest-path branch June 2, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants