Skip to content

Delegate TrackingConsent to stub DatadogContext - #3815

Merged
abrooksv merged 1 commit into
developfrom
abrooks/tracking-consent-stub
Sep 2, 2026
Merged

abrooksv merged 1 commit into
developfrom
abrooks/tracking-consent-stub

Conversation

@abrooksv

@abrooksv abrooksv commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes possible NPE when running tests that rely on trackingConsent being set

This is backporting part of the change enable client-side-stats in dogfooding before the reset of dogfooding
dfcbbc0

Motivation

When client side stats gets enabled by default, it triggers a code path that reads this field which triggers a NPE in tests

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • 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)

Fixes possible NPE when running tests that rely on trackingConsent being set
@abrooksv
abrooksv requested review from a team as code owners September 1, 2026 17:50
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T17:51:44.060147Z b1dd3b4 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abrooksv
abrooksv merged commit 41ba99a into develop Sep 2, 2026
25 checks passed
@abrooksv
abrooksv deleted the abrooks/tracking-consent-stub branch September 2, 2026 11:57
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.

4 participants