[RUM-16486] Add .viewUpdates flag with delta projection in RUMViewScope#2993
Draft
maxep wants to merge 10 commits into
Draft
[RUM-16486] Add .viewUpdates flag with delta projection in RUMViewScope#2993maxep wants to merge 10 commits into
maxep wants to merge 10 commits into
Conversation
|
41f6d38 to
a686812
Compare
Base automatically changed from
maxep/RUM-16486/model-equitable
to
feature/view-updates
June 16, 2026 10:51
…cs, and delta assertions
a92edd4 to
9d3c212
Compare
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.
What and why?
Integrates
RUMViewUpdateEventdelta projection intoRUMViewScope, gated behind a new.viewUpdatesFeature Flag.When the flag is enabled, the first write per view emits a full
RUMViewEvent, every subsequent write emits aRUMViewUpdateEventcontaining only the fields that changed relative to the previous full event.How?
.viewUpdatesfeature flag throughRUM.Configuration.FeatureFlag,RUMScopeDependencies, andRUMFeature.RUMViewScopetrackslastSentViewEventand writes a delta (RUMViewEvent.update(from:)) instead of the full event when the flag is enabled.RUMViewScope_Testsmirrors the existing view scope test suite with the flag enabled, asserting dual-event-type routing.Review checklist
make api-surfacewhen adding new APIs