Skip to content

RUM-18981: Add Flags single-fit integration tests - #3989

Merged
0xnm merged 4 commits into
developfrom
nogorodnikov/rum-18981/add-flags-integration-tests
Oct 16, 2026
Merged

0xnm merged 4 commits into
developfrom
nogorodnikov/rum-18981/add-flags-integration-tests

Conversation

@0xnm

@0xnm 0xnm commented Oct 14, 2026

Copy link
Copy Markdown
Member

What does this PR do?

This PR adds integration tests for the Flags module.

Also removes tests from features/dd-sdk-android-flags which are rather integration tests.

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)

0xnm and others added 2 commits October 14, 2026 19:57
Add an in-memory datastore, stubbable network responses, opt-in event
forwarding between features, a way to stop all features, and no-op
periodic scheduling to the stub SDK core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cover the FlagsClient registry, flag resolution, exposure and evaluation
events, persistence across restarts and the RUM integration against a
stub SDK core, and run them in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Tests

✅ All CI checks and tests passed. Datadog automation helped this PR pass.

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🔄 Datadog retried 1 test - 1 passed on retry View in Datadog

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 71.76% (-0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: db52c7c | Docs | View more details | Give us feedback!

@0xnm

0xnm commented Oct 14, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-10-15T10:08:44.101152Z 3714031 Draft marked ready
🔒 Security Review ✅ Completed 2026-10-15T10:07:05.721507Z 3714031 Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 035d890e2c

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 035d890e2c

ℹ️ 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".

@0xnm
0xnm force-pushed the nogorodnikov/rum-18981/add-flags-integration-tests branch from 035d890 to 6353f7d Compare October 15, 2026 08:49
Drop the unit tests whose behavior is now verified end-to-end in
reliability/single-fit/flags: client registry lookups, happy-path flag
resolution and resolution details, exposure and RUM evaluation tracking
toggles, and a duplicated Flags.enable test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@0xnm
0xnm force-pushed the nogorodnikov/rum-18981/add-flags-integration-tests branch from 6353f7d to 3714031 Compare October 15, 2026 09:50
@0xnm

0xnm commented Oct 15, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 37140314ce

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 37140314ce

ℹ️ 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".

@0xnm
0xnm marked this pull request as ready for review October 15, 2026 10:04
@0xnm
0xnm requested review from a team as code owners October 15, 2026 10:04

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

The Flags test migration and shared SDK stub changes produced no reportable correctness concerns in the completed static review. Integration-test execution remains unverified.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 3714031

typotter
typotter previously approved these changes Oct 15, 2026

@typotter typotter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just a nonblocking asserting which I think was lost in the trimming of the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maciejburda
maciejburda requested a review from satween October 16, 2026 07:08
@0xnm
0xnm merged commit 831decd into develop Oct 16, 2026
27 checks passed
@0xnm
0xnm deleted the nogorodnikov/rum-18981/add-flags-integration-tests branch October 16, 2026 08:59
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