Skip to content

✨ Add betaEnableViewUpdates config option - #4833

Merged
mormubis merged 1 commit into
mainfrom
adlrb/partial-view-beta-config
Jul 3, 2026
Merged

✨ Add betaEnableViewUpdates config option#4833
mormubis merged 1 commit into
mainfrom
adlrb/partial-view-beta-config

Conversation

@mormubis

@mormubis mormubis commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Motivation

Enabling partial view updates currently requires setting enableExperimentalFeatures: ['partial_view_updates'], which is an internal mechanism not meant for customers. To share the feature with beta customers, we need a proper public-facing config option.

Changes

Added betaEnableViewUpdates?: boolean to RumInitConfiguration. When set to true, the partial view updates optimization is enabled directly — createBatchDispatcher receives it as a plain boolean, no experimental feature flag involved. The partial_view_updates experimental flag was removed.

Test instructions

DD_RUM.init({
  // ...
  betaEnableViewUpdates: true,
})

Check the Network tab — intermediate view updates should appear as view_update events instead of full view events.

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change
  • Added e2e/integration tests for this change
  • Updated documentation

@datadog-prod-us1-5

datadog-prod-us1-5 Bot commented Jun 29, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/browser-sdk | check-staging-merge   View in Datadog   GitLab

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 50.00%
Overall Coverage: 77.20% (-0.00%)

Useful? React with 👍 / 👎

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

@mormubis
mormubis force-pushed the adlrb/partial-view-beta-config branch from 1da29c9 to 4dd963b Compare June 29, 2026 10:52
@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Jun 29, 2026

Copy link
Copy Markdown

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 172.69 KiB 172.73 KiB +41 B +0.02%
Rum Profiler 8.22 KiB 8.22 KiB 0 B 0.00%
Rum Recorder 21.14 KiB 21.14 KiB 0 B 0.00%
Logs 54.58 KiB 54.54 KiB -46 B -0.08%
Rum Slim 130.52 KiB 130.55 KiB +35 B +0.03%
Worker 22.96 KiB 22.96 KiB 0 B 0.00%

@mormubis
mormubis force-pushed the adlrb/partial-view-beta-config branch 6 times, most recently from fa92e33 to a2a4c88 Compare June 30, 2026 13:58
@mormubis
mormubis marked this pull request as ready for review June 30, 2026 14:33
@mormubis
mormubis requested a review from a team as a code owner June 30, 2026 14:33

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a2a4c88042

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/browser-rum-core/src/boot/preStartRum.ts Outdated
@sbarrio
sbarrio requested a review from amortemousque July 1, 2026 08:17
@mormubis
mormubis force-pushed the adlrb/partial-view-beta-config branch from a2a4c88 to 7dd147b Compare July 1, 2026 08:55
@BenoitZugmeyer

Copy link
Copy Markdown
Member

Can we just drop the experimental flag?

@mormubis
mormubis force-pushed the adlrb/partial-view-beta-config branch from 7dd147b to d4f19b3 Compare July 1, 2026 09:42

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d4f19b3175

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/browser-rum-core/src/transport/startRumBatch.ts
@mormubis
mormubis marked this pull request as draft July 1, 2026 09:51
@mormubis
mormubis force-pushed the adlrb/partial-view-beta-config branch from d4f19b3 to d1ed0db Compare July 1, 2026 09:57
@mormubis
mormubis force-pushed the adlrb/partial-view-beta-config branch from d1ed0db to 2901781 Compare July 1, 2026 12:23
@mormubis
mormubis marked this pull request as ready for review July 1, 2026 14:14
@mormubis
mormubis merged commit 1e8224a into main Jul 3, 2026
30 of 31 checks passed
@mormubis
mormubis deleted the adlrb/partial-view-beta-config branch July 3, 2026 09:07
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants