Skip to content

[chain-pr 8/10] DatadogRUM: typed-bus migration and TelemetryInterceptor merge#2934

Draft
maxep wants to merge 1 commit into
maxep/message-bus-subscription--chain-7from
maxep/message-bus-subscription--chain-8
Draft

[chain-pr 8/10] DatadogRUM: typed-bus migration and TelemetryInterceptor merge#2934
maxep wants to merge 1 commit into
maxep/message-bus-subscription--chain-7from
maxep/message-bus-subscription--chain-8

Conversation

@maxep

@maxep maxep commented May 19, 2026

Copy link
Copy Markdown
Member

This PR is part of a chain split from #0 maxep/message-bus-subscription by chain-pr.

Changes

Migrates all RUM receivers (CrashReportReceiver, ErrorMessageReceiver, FlagEvaluationReceiver, TelemetryReceiver, WebViewEventReceiver, WatchdogTerminationMonitor) to BusMessageReceiver, merges TelemetryInterceptor responsibilities into TelemetryReceiver, switches FatalErrorContextNotifier to MessageBus, and subscribes receivers in RUM.enable. Deletes the obsolete TelemetryInterceptor and its tests, and updates RUM tests/mocks.

Refactoring rationale

RUM's CombinedFeatureMessageReceiver short-circuit chain is replaced with independent typed subscribers. TelemetryInterceptor — previously a side-receiver in the chain that captured SDK errors and upload-quality metrics — is folded into TelemetryReceiver, which now owns the SessionEndedMetricController hook and intercepts upload-quality metrics before forwarding. FatalErrorContextNotifier moves from MessageSending to the typed MessageBus protocol to align with the rest of the feature.


Draft — pending author review. Merge in order unless marked parallel.

@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented May 19, 2026

Copy link
Copy Markdown

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/dd-sdk-ios | SPI Docs Build   View in Datadog   GitLab

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: a938556 | Docs | Datadog PR Page | Give us feedback!

@maxep maxep force-pushed the maxep/message-bus-subscription--chain-7 branch from 185b00a to f54b5ec Compare May 19, 2026 17:55
@maxep maxep force-pushed the maxep/message-bus-subscription--chain-8 branch from bacef42 to f8cc071 Compare May 19, 2026 17:55
@maxep maxep force-pushed the maxep/message-bus-subscription--chain-7 branch from f54b5ec to c97dbac Compare May 19, 2026 18:10
@maxep maxep force-pushed the maxep/message-bus-subscription--chain-8 branch from f8cc071 to a5e626c Compare May 19, 2026 18:10
@maxep maxep force-pushed the maxep/message-bus-subscription--chain-7 branch from c97dbac to 2f2ffbc Compare May 20, 2026 08:55
@maxep maxep force-pushed the maxep/message-bus-subscription--chain-8 branch from a5e626c to f540649 Compare May 20, 2026 08:55
@maxep maxep force-pushed the maxep/message-bus-subscription--chain-7 branch from 2f2ffbc to 176b9f2 Compare June 15, 2026 13:05
@maxep maxep force-pushed the maxep/message-bus-subscription--chain-8 branch from f540649 to a938556 Compare June 15, 2026 13:06
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.

1 participant