Skip to content

Clean up RUM TODOs and tests#190

Merged
kikoveiga merged 2 commits into
developfrom
kikoveiga/cleanup-rum-todos
Jun 17, 2026
Merged

Clean up RUM TODOs and tests#190
kikoveiga merged 2 commits into
developfrom
kikoveiga/cleanup-rum-todos

Conversation

@kikoveiga

Copy link
Copy Markdown
Contributor

No description provided.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@kikoveiga
kikoveiga requested a review from a team as a code owner June 16, 2026 14:44
@kikoveiga
kikoveiga requested a review from Copilot June 16, 2026 15:49

Copilot AI 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.

Pull request overview

This PR tightens up RUM-related code/tests by removing stale TODOs, making scope activity checks return concrete booleans, and improving uploader URL handling by URL-encoding query parameter values (with corresponding test coverage).

Changes:

  • Extend RUM view-scope resource tests to assert _dd.trace_id / _dd.span_id propagation (and invalid behavior for minimal resources).
  • Remove unused RUM agent test setup for clientToken and clean up outdated TODO comments in RUM scopes.
  • URL-encode uploader query-param values in MultiTrackUploaderTask and update tests to validate encoding behavior.

Reviewed changes

Copilot reviewed 9 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/source/tests/rum/Test__RumViewScope.bs Adds assertions for resource trace/span IDs in emitted RUM events.
test/source/tests/rum/Test__RumAgent.bs Removes unused client token setup in tests.
test/source/tests/core/Test__MultitrackUploaderTask.bs Adds URL-encoding regression coverage for query params.
library/components/rum/RumViewScope.bs Updates header comment and removes outdated TODO.
library/components/rum/RumSessionScope.bs Removes outdated TODO and makes isActive() return true.
library/components/rum/RumScope.bs Makes base isActive() return true instead of invalid.
library/components/rum/RumApplicationScope.bs Makes isActive() return true instead of invalid.
library/components/core/MultiTrackUploaderTask.bs URL-encodes query param values when building upload URLs.
dist/components/rum/RumViewScope.brs Built artifact update reflecting RumViewScope changes.
dist/components/rum/RumSessionScope.brs Built artifact update reflecting RumSessionScope changes.
dist/components/rum/RumScope.brs Built artifact update reflecting RumScope changes.
dist/components/rum/RumApplicationScope.brs Built artifact update reflecting RumApplicationScope changes.
dist/components/core/MultiTrackUploaderTask.brs Built artifact update reflecting MultiTrackUploaderTask changes.
cspell.json Removes now-unused “rumm” spelling exception.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread library/components/core/MultiTrackUploaderTask.bs
@datadog-datadog-prod-us1

This comment has been minimized.

@kikoveiga
kikoveiga force-pushed the kikoveiga/cleanup-rum-todos branch from 2e95e70 to 2a92760 Compare June 16, 2026 17:12
Comment thread library/components/rum/RumSessionScope.bs
@kikoveiga
kikoveiga merged commit 5599c94 into develop Jun 17, 2026
8 checks passed
@kikoveiga
kikoveiga deleted the kikoveiga/cleanup-rum-todos branch June 17, 2026 09:22
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.

3 participants