Skip to content

[RUM-16486] Add .viewUpdates flag with delta projection in RUMViewScope#2993

Draft
maxep wants to merge 10 commits into
feature/view-updatesfrom
maxep/RUM-16486/view-update-scope
Draft

[RUM-16486] Add .viewUpdates flag with delta projection in RUMViewScope#2993
maxep wants to merge 10 commits into
feature/view-updatesfrom
maxep/RUM-16486/view-update-scope

Conversation

@maxep

@maxep maxep commented Jun 12, 2026

Copy link
Copy Markdown
Member

What and why?

Integrates RUMViewUpdateEvent delta projection into RUMViewScope, gated behind a new .viewUpdates Feature Flag.

When the flag is enabled, the first write per view emits a full RUMViewEvent, every subsequent write emits a RUMViewUpdateEvent containing only the fields that changed relative to the previous full event.

How?

  • Inject .viewUpdates feature flag through RUM.Configuration.FeatureFlag, RUMScopeDependencies, and RUMFeature.
  • RUMViewScope tracks lastSentViewEvent and writes a delta (RUMViewEvent.update(from:)) instead of the full event when the flag is enabled.
  • RUMViewScope_Tests mirrors the existing view scope test suite with the flag enabled, asserting dual-event-type routing.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes
  • Add Objective-C interface for public APIs - see our guidelines (internal)
  • Run make api-surface when adding new APIs

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jun 12, 2026

Copy link
Copy Markdown

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/dd-sdk-ios | Unit Tests (iOS)   View in Datadog   GitLab

Useful? React with 👍 / 👎

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

@maxep maxep force-pushed the maxep/RUM-16486/view-update-scope branch from 41f6d38 to a686812 Compare June 15, 2026 13:15
Base automatically changed from maxep/RUM-16486/model-equitable to feature/view-updates June 16, 2026 10:51
@maxep maxep force-pushed the maxep/RUM-16486/view-update-scope branch from a92edd4 to 9d3c212 Compare June 16, 2026 15:15
@maxep maxep changed the title [RUM-16486] Integrate delta projection (viewUpdates flag) into RUMViewScope [RUM-16486] Add RUMViewScope_ skeleton and delta projection behind viewUpdates flag Jun 16, 2026
@maxep maxep changed the title [RUM-16486] Add RUMViewScope_ skeleton and delta projection behind viewUpdates flag [RUM-16486] Add .viewUpdates flag with delta projection in RUMViewScope Jun 16, 2026
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