Skip to content

Conversation

@marco-saia-datadog
Copy link
Member

What does this PR do?

Clears the cached RUM Session ID when DdRum.stopSession() is called.

Motivation

The outdated cached RUM Session ID might be erroneously added to the baggage header of requests following the DdRum.stopSession call, in the time frame required to obtain the new one from the native SDKs.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@marco-saia-datadog marco-saia-datadog requested a review from a team as a code owner November 4, 2025 08:17
Copy link
Contributor

@sbarrio sbarrio left a comment

Choose a reason for hiding this comment

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

🛠️

@marco-saia-datadog marco-saia-datadog merged commit 3636165 into develop Nov 4, 2025
11 checks passed
@marco-saia-datadog marco-saia-datadog deleted the marcosaia/fix/clear-cached-session-id-on-stop branch November 4, 2025 13:43
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