Skip to content

[FFL-3355] feat: add standalone rules configuration fetching - #1508

Open
sameerank wants to merge 5 commits into
sameerank/FFL-3355/native-tracking-hooksfrom
sameerank/rn-rules-configuration-fetch
Open

sameerank wants to merge 5 commits into
sameerank/FFL-3355/native-tracking-hooksfrom
sameerank/rn-rules-configuration-fetch

Conversation

@sameerank

@sameerank sameerank commented Oct 21, 2026 •

Copy link
Copy Markdown

What does this PR do?

Add fetchRulesConfiguration(), RulesConfigurationFetchOptions, and FlagSelection to the React Native OpenFeature /rules-based entry point.

  • Fetch client-distributed protobuf rules using a client token, environment, site, and optional application ID, selection, fetch implementation, and abort signal. Send the application ID as dd-application-id.
  • Decode a portable FlagsConfiguration and capture fetchedAt before the request, without loading or initializing the native SDK or registering tracking.
  • Reuse endpoint validation and selection canonicalization from the exactly pinned @datadog/flagging-core 3.3.0. Encode repeated query parameters without relying on RN's incomplete URL or URLSearchParams APIs.
  • Drop malformed or over-limit selections, including URLs exceeding 8,192 bytes, with a diagnostic and request the full configuration. Omit empty selections quietly. Report ignored-selection headers only after successful decoding, using bounded recognized reasons.
  • Default diagnostics to DATADOG:-prefixed console warnings. An optional logger.error(message) overrides reporting; logger failures do not interrupt fetching.
  • Preserve HTTP, network, cancellation, body-read, and decoding failures. Translate only the legacy FileReader.readAsArrayBuffer is not implemented error into a compatibility message and retain its cause.
  • Generate both SDK version modules before root test, lint, and prepare. The committed OpenFeature request-version metadata matches package version 3.13.0.

Each call makes one request, without polling, retries, persistence, tracking, or local filtering. Explicit refresh retains the active configuration when fetching fails.

Motivation

The RN core provider supports local rules-based evaluation but needs a standalone way to obtain portable configuration. This follows the browser helper pattern and adds tag/key-pattern selection for FFL-3355.

Additional Notes

Stack And Compatibility

Base: #1507. Next: #1565.

Fetching requires no native SDK initialization. Tracking integration tests use the parent's exposure/RUM hooks on both platform branches. This PR adds no native APIs or native dependency changes.

Binary response reading requires RN 0.72+ with the built-in fetch. Older runtimes need a custom fetch implementation supporting Response.arrayBuffer(). No binary-read fallback or peer-dependency change is included; the core SDK's installation requirements remain unchanged.

Independent evaluation logging and its native privacy prerequisites are isolated in #1567; they do not block this PR.

Shared Fixtures

The PR copies an unchanged snapshot of the public selection vectors, with provenance in SOURCE.md. Tests exercise all 38 SDK expectations, not server-side selectedKeys or raw-query decoding expectations.

  • Remove the copied fixture, provenance, and corpus-driven tests only after equivalent cross-SDK coverage exercises the real RN fetch helper on iOS and Android. Retain focused encoding, diagnostics, limit, cancellation, and decoding tests.

QA

At this PR head, 2,138 JavaScript tests and 133 snapshots passed; one existing test is skipped. The fetch-helper file contains 117 tests, including all 38 shared selection vectors.

Coverage includes stale-version regeneration without a preceding build, retrieval time before fetching and body reading, optional application headers, throwing loggers, malformed selections, 8,192/8,193-byte boundaries, ignored-header sanitization, and refresh with active tracking. Selection tests disable global URL and URLSearchParams.

The real whatwg-fetch body reader is exercised with older and supported FileReader behavior. This is a host harness, not a device test.

Complete-stack validation passed all 10 package CommonJS, ESM, and declaration builds. Source lint passed with no errors and 12 existing warnings, excluding generated Android test-report scripts. Diff whitespace checks passed.

The parent's Android core unit, ktlint, and detekt checks passed after the rebase. This helper adds no native code. Native-device, Expo, and cross-SDK end-to-end validation were not run for this change.

Repeat the JavaScript checks from the repository root:

yarn test --runInBand
yarn lint --ignore-pattern '**/android/build/reports/tests/**'
yarn prepare

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

@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

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

@cursor cursor 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.

PR Review — Quality: 4.0 / 5 · Review load: Broad (~1–1.5h)

fetchRulesConfiguration is an opt-in /rules-based helper: one client-rules request, protobuf decode, optional tag and key-pattern selection, and no native SDK initialization. It is ready after two local fixes: regenerate src/version.ts to 3.12.0 and keep it on the root genversion path, and report DD-Flag-Selection-Ignored the way the browser helper does (a known reason or unknown, after the body decodes). Also drop the FLEX follow-up link from the description.

Customer impact: Low — applications that call fetchRulesConfiguration. The helper runs only on that call. The @datadog/flagging-core pin to 3.3.0 applies to the whole OpenFeature package.

Concern
Client rules fetch contract (URL, sites, headers, errors, fetchedAt, public export) Risky
Flag selection encoding, limits, and full-configuration fallback Risky
Package-wide @datadog/flagging-core 3.1.1 → 3.3.0 pin Risky

Assessment: Request construction, the site allowlist, preserved HTTP and cancellation errors, RFC 3986 selection encoding, the 8,192-byte cutoff, and the full-configuration fallback match the helper's contract. fetchedAt is recorded before the request, as in the browser helper. Jest covers the JS fetch boundary, the shared selection vectors, and refresh with the base branch's tracking hooks. Quality stays below 5.0 because the committed library version fails its new header assertion and ignored-selection logging can record an unsanitized response header.

Review load — Broad (~1–1.5h): The fetch contract, the selection fallback, and the package-wide pin sit in one package and should be reviewed together.

Findings

  • [Minor · Correctness] Library version header is one release behind — src/version.ts still exports 3.11.0, so DD-Client-Library-Version and its new test disagree with package 3.12.0. See packages/react-native-openfeature/src/version.ts line 2.
  • [Minor · Correctness] Ignored-selection diagnostic logs the raw header — any nonempty DD-Flag-Selection-Ignored value is written to the logger before decode. See packages/react-native-openfeature/src/fetchRulesConfiguration.ts line 82.
  • [Minor · Conventions] Description links a non-public follow-up — Section 0 of .github/PULL_REQUEST_GUIDELINES.md allows links to public github.com/DataDog repositories and forbids internal codenames and private repositories. The follow-up is assigned to FLEX and links DataDog/rum-sdk-integration-test-framework and its PR 230, which are not publicly resolvable. Describe that follow-up without the codename and those links.
Open in Web View Automation 

Sent by Cursor Automation: dd-sdk-react-native reviews

@cursor cursor 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.

PR Review — Quality: 4.0 / 5 · Review load: Broad (~1–1.5h)

fetchRulesConfiguration is an opt-in /rules-based helper: one client-rules request, protobuf decode, optional tag and key-pattern selection, and no native SDK initialization. The ignored-selection diagnostic now logs a known reason or unknown, and only after the body decodes. It is ready after two remaining edits: commit src/version.ts as 3.12.0, and remove the non-public follow-up from the description.

Customer impact: Low — applications that call fetchRulesConfiguration. The helper runs only on that call. The @datadog/flagging-core pin to 3.3.0 applies to the whole OpenFeature package.

Concern
Client rules fetch contract (URL, sites, headers, errors, fetchedAt, public export) Risky
Flag selection encoding, limits, full-configuration fallback, and ignored-selection diagnostics Risky
Package-wide @datadog/flagging-core 3.1.1 → 3.3.0 pin Risky

Assessment: Request construction, the site allowlist, preserved HTTP and cancellation errors, RFC 3986 selection encoding, the 8,192-byte cutoff, and the full-configuration fallback still match the helper's contract. The new diagnostic path rejects reflected tokens, joined headers, and unknown reasons, and it does not claim a full configuration loaded when the body or decode fails. Jest covers that path. Quality stays at 4.0 because DD-Client-Library-Version is still the committed 3.11.0 constant while the new header test expects package 3.12.0, and the description still names a non-public follow-up.

Review load — Broad (~1–1.5h): The fetch contract, the selection fallback, and the package-wide pin sit in one package and should be reviewed together.

This run assessed the diagnostic delta and revalidated the prior findings.

Findings

  • [Minor · Correctness] Library version header is one release behind — src/version.ts still exports 3.11.0, so DD-Client-Library-Version and the header test, which imports 3.12.0 from package.json, disagree. Still open: #1508 (comment)
  • [Minor · Conventions] Description links a non-public follow-up — Section 0 of .github/PULL_REQUEST_GUIDELINES.md allows links to public github.com/DataDog repositories and forbids internal codenames and private repositories. The description still names FLEX and links DataDog/rum-sdk-integration-test-framework and its PR 230, which are not publicly resolvable. Still open: #1508 (review)
Open in Web View Automation 

Sent by Cursor Automation: dd-sdk-react-native reviews

@cursor cursor 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.

PR Review — Quality: 4.0 / 5 · Review load: Broad (~1–1.5h)

fetchRulesConfiguration stays a one-shot /rules-based helper: client-rules request, protobuf decode, optional tag and key-pattern selection, and no native SDK initialization. This push realigns the refresh tests with the base branch, which exposes exposure and RUM hooks. It is ready after two remaining edits: commit src/version.ts as 3.12.0, and remove the non-public follow-up from the description.

Customer impact: Low — applications that call fetchRulesConfiguration. The helper runs only on that call. The @datadog/flagging-core pin to 3.3.0 applies to the whole OpenFeature package. Until src/version.ts is updated, those requests send library version 3.11.0.

Concern
Client rules fetch contract (URL, sites, headers, errors, fetchedAt, public export) Risky
Flag selection encoding, limits, full-configuration fallback, and ignored-selection diagnostics Risky
Package-wide @datadog/flagging-core 3.1.1 → 3.3.0 pin Risky

Assessment: The refresh tests check one fetch per call, refreshed rules and tracking metadata, a single addHooks, and exposure plus RUM, with native evaluation, enable, and context updates left unused. They follow the hooks the base still exports. Ignored-selection logging still reports a known reason or unknown, and only after the body decodes. Quality stays at 4.0 because DD-Client-Library-Version is still the committed 3.11.0 constant while the header test expects 3.12.0 from package.json, and the description still names a non-public follow-up.

Review load — Broad (~1–1.5h): The fetch contract, the selection fallback, and the package-wide pin sit in one package and should be reviewed together. This push only realigns the tracking tests with the base.

This run assessed the delta and revalidated prior findings.

Findings

  • [Minor · Correctness] Library version header is one release behind — src/version.ts still exports 3.11.0, so DD-Client-Library-Version and the header test, which imports 3.12.0 from package.json, disagree. Still open: #1508 (comment)
  • [Minor · Conventions] Description links a non-public follow-up — Section 0 of .github/PULL_REQUEST_GUIDELINES.md allows links to public github.com/DataDog repositories and forbids internal codenames and private repositories. The description still names FLEX and links DataDog/rum-sdk-integration-test-framework and its PR 230, which are not publicly resolvable. Still open: #1508 (review)
Open in Web View Automation 

Sent by Cursor Automation: dd-sdk-react-native reviews

@sameerank sameerank added crucible: reviewing A Crucible review is in progress. and removed crucible: reviewing A Crucible review is in progress. labels Nov 21, 2026

@cursor cursor 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.

PR Review — Quality: 4.0 / 5 · Review load: Broad (~1–1.5h)

fetchRulesConfiguration remains an opt-in /rules-based helper: one client-rules request, protobuf decode, optional tag and key-pattern selection, and no native SDK initialization. This push shares site validation with @datadog/flagging-core, sends an optional dd-application-id, records fetchedAt before the request, and turns the legacy FileReader.readAsArrayBuffer failure into an actionable error. It is ready after one remaining edit: commit src/version.ts as 3.12.0 and include that file in the root genversion commands. The previous description issue is gone.

Customer impact: Low — applications that call fetchRulesConfiguration. The helper runs only on that call. Until src/version.ts is updated, those requests send library version 3.11.0. Callers on React Native 0.63–0.71 need a fetch implementation that supports Response.arrayBuffer(). The @datadog/flagging-core pin to 3.3.0 applies to the whole OpenFeature package.

Concern
Client rules fetch contract (URL, sites, headers, binary body, errors, fetchedAt, public export) Risky
Flag selection encoding, limits, full-configuration fallback, and ignored-selection diagnostics Risky
Package-wide @datadog/flagging-core 3.1.1 → 3.3.0 pin Risky

Assessment: The new host call is covered by the same eight site URLs and by rejection before the client token is sent. Ignored-selection logging still reports a known reason or unknown, and only after the body decodes. The header test, the FileReader translation, optional application ID, prefixed warnings, and request-start fetchedAt are asserted in the fetch-helper tests. Quality stays at 4.0 because DD-Client-Library-Version is still the committed 3.11.0 constant while that test expects 3.12.0 from package.json.

Review load — Broad (~1–1.5h): The fetch contract, the selection fallback, and the package-wide pin sit in one package and should be reviewed together.

This run assessed the fetch-helper delta and revalidated prior findings.

Findings

  • [Minor · Correctness] Library version header is one release behind — src/version.ts still exports 3.11.0, so DD-Client-Library-Version and the header test, which imports 3.12.0 from package.json, disagree. Still open: #1508 (comment)
Open in Web View Automation 

Sent by Cursor Automation: dd-sdk-react-native reviews

@cursor cursor 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.

PR Review — Quality: 5.0 / 5 · Review load: Broad (~1–1.5h)

fetchRulesConfiguration stays a one-shot /rules-based helper: one client-rules request, protobuf decode, optional tag and key-pattern selection, and no native SDK initialization. This push commits packages/react-native-openfeature/src/version.ts as 3.12.0 and adds that path to the root prepare, test, and lint genversion commands, matching how packages/core/src/version.ts is generated. DD-Client-Library-Version now matches the OpenFeature package version. Ready to merge as-is. Quality moved from 4.0 because that header constant was the remaining gap.

Customer impact: Low — applications that call fetchRulesConfiguration. The helper runs only on that call. Callers on React Native 0.63–0.71 need a fetch implementation that supports Response.arrayBuffer(). The @datadog/flagging-core pin to 3.3.0 applies to the whole OpenFeature package.

Concern
Client rules fetch contract (URL, sites, headers, binary body, errors, fetchedAt, public export) Risky
Flag selection encoding, limits, full-configuration fallback, and ignored-selection diagnostics Risky
Package-wide @datadog/flagging-core 3.1.1 → 3.3.0 pin Risky

Assessment: The request header reads version from packages/react-native-openfeature/src/version.ts (fetchRulesConfiguration.ts line 76), and the header test expects the 3.12.0 value imported from that package's package.json. Root package.json has no version field; the new command uses the same genversion --es6 --semi <path> shape that rewrites core's module from packages/core/package.json. The nearest manifest above the OpenFeature module is packages/react-native-openfeature/package.json at 3.12.0, and the package prepare script generates the same file before the build. Ignored-selection logging reports a known reason or unknown, and only after the body decodes.

Review load — Broad (~1–1.5h): The fetch contract, the selection fallback, and the package-wide pin sit in one package and should be reviewed together. This push only aligns version generation.

This run assessed the delta and revalidated prior findings. The earlier version-header thread is addressed: #1508 (comment)

Open in Web View Automation 

Sent by Cursor Automation: dd-sdk-react-native reviews

@sameerank
sameerank added this pull request to stack #1577 November 23, 2026 16:14
Reuse core 3.3.0 selection canonicalization, preserve best-effort fallback with diagnostics, and encode selection without URL polyfills. Cover shared SDK vectors and RN transport edge cases.
Explain unsupported binary response readers, share endpoint validation, add application attribution, and use prefixed warning diagnostics. Cover the real fetch body reader and request-start timestamps, and retain rules on refresh failure in the example.
Generate both SDK version modules before root prepare, test, and lint commands. Keep the generated OpenFeature version aligned with package 3.12.0 so request metadata is correct without a prior build.
@sameerank
sameerank force-pushed the sameerank/rn-rules-configuration-fetch branch from 7c2f0e1 to 6bc5a85 Compare November 23, 2026 17:24

@cursor cursor 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.

PR Review — Quality: 5.0 / 5 · Review load: Broad (~1–1.5h)

fetchRulesConfiguration stays a one-shot /rules-based helper: one client-rules request, protobuf decode, optional tag and key-pattern selection, and no native SDK initialization. This push follows the target branch to package 3.13.0: src/version.ts exports 3.13.0, which is what DD-Client-Library-Version sends and what the header test reads from package.json. Ready to merge as-is. Quality stays at 5.0.

Customer impact: Low — applications that call fetchRulesConfiguration. The helper runs only on that call. Callers on React Native 0.63–0.71 still need a fetch implementation that supports Response.arrayBuffer(). The @datadog/flagging-core pin to 3.3.0 applies to the whole OpenFeature package.

Concern
Client rules fetch contract (URL, sites, headers, binary body, errors, fetchedAt, public export) Risky
Flag selection encoding, limits, full-configuration fallback, and ignored-selection diagnostics Risky
Package-wide @datadog/flagging-core 3.1.1 → 3.3.0 pin Risky

Assessment: The request header reads version from packages/react-native-openfeature/src/version.ts (fetchRulesConfiguration.ts line 76). That constant matches this package's package.json and lerna.json at 3.13.0, and the header test expects the package.json version. Root prepare, test, and lint generate this file from the OpenFeature manifest the same way they generate core's module: genversion walks upward from the output path, so the root manifest is not the source. Ignored-selection logging still reports a known reason or unknown, and only after the body decodes. The helper returns the decoded configuration; the base provider strips an embedded assignment token only for its evaluation view when precomputed.context is present, which this rules payload does not set.

Review load — Broad (~1–1.5h): The fetch contract, the selection fallback, and the package-wide pin sit in one package and should be reviewed together. This push only aligns the generated version with the package bump on the target branch.

This run assessed the delta and revalidated prior findings. The earlier version-header thread remains addressed: #1508 (comment)

Open in Web View Automation 

Sent by Cursor Automation: dd-sdk-react-native reviews

@cursor cursor 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.

PR Review — Quality: 5.0 / 5 · Review load: Broad (~1–1.5h)

fetchRulesConfiguration stays a one-shot /rules-based helper: one client-rules request, protobuf decode, optional tag and key-pattern selection, and no native SDK initialization. This push rebases onto the updated native-tracking-hooks branch and commits packages/react-native-openfeature/src/version.ts as 3.13.0, matching that package, lerna, and packages/core/src/version.ts. DD-Client-Library-Version reads that constant, and the header test imports the same 3.13.0 from the OpenFeature package.json. The fetch, selection, and @datadog/flagging-core 3.3.0 pin patches are unchanged. Ready to merge as-is. Quality stays at 5.0.

Customer impact: Low — applications that call fetchRulesConfiguration. The helper runs only on that call. On this base the OpenFeature package peers React Native >=0.75.0 <1.0. The @datadog/flagging-core pin to 3.3.0 applies to the whole OpenFeature package.

Concern
Client rules fetch contract (URL, sites, headers, binary body, errors, fetchedAt, public export) Risky
Flag selection encoding, limits, full-configuration fallback, and ignored-selection diagnostics Risky
Package-wide @datadog/flagging-core 3.1.1 → 3.3.0 pin Risky

Assessment: The request header at fetchRulesConfiguration.ts line 76 uses version from src/version.ts (3.13.0). Root prepare, test, and lint still run genversion against that file, which reads the OpenFeature package.json nearest the target. Ignored-selection logging still allowlists a known reason or reports unknown, and only after configurationFromRulesBinary succeeds. A rules-only fetch result has no precomputed context, so the base provider's assignment-token strip returns the same object and does not drop rules or fetchedAt. The new tracking tests expect serialId decimal strings '7' and '8', which matches the updated bridge parsers. Nothing here needs another change.

Review load — Broad (~1–1.5h): The fetch contract, the selection fallback, and the package-wide pin sit in one package and should be reviewed together. This push only aligns the generated version with the rebased 3.13.0 package.

This run assessed the delta and revalidated prior findings. The version-header thread remains addressed: #1508 (comment). The ignored-selection thread remains addressed: #1508 (comment).

Open in Web View Automation 

Sent by Cursor Automation: dd-sdk-react-native reviews

@sameerank
sameerank marked this pull request as ready for review November 23, 2026 18:05
@sameerank
sameerank requested review from a team as code owners November 23, 2026 18:05
@sameerank
sameerank requested a review from a team as a code owner November 23, 2026 18:05
Copilot AI balanced review requested due to automatic review settings November 23, 2026 18:05
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T18:06:37.266991Z 6bc5a85 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.

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

🔵 Needs a closer look

The new public /rules-based API needs maintainer review, and binary fetching still requires React Native device and Expo validation because existing coverage is limited to host-harness tests.

No open issues 🎉

What changed in this PR

Adds a standalone rules-fetching helper to the OpenFeature /rules-based entry point, allowing applications to obtain portable configurations for local evaluation without initializing the native SDK.

Changes:

  • Adds one-request protobuf fetching with optional application attribution, cancellation, and custom fetch support.
  • Adds validated tag/key-pattern selection, URL-safe encoding, and bounded diagnostics.
  • Adds fetch and tracking integration tests, documents explicit refresh and RN binary-read requirements, and updates dependency/version generation.
File Description
yarn.lock Locks flagging-core 3.3.0 and the version-generation dependency.
packages/​react-native-openfeature/​src/​version.ts Supplies generated SDK version metadata for request headers.
packages/​react-native-openfeature/​src/​rules-based.ts Exports the fetch helper and its public option types.
packages/​react-native-openfeature/​src/​flagSelection.ts Validates and encodes selections with URL limits and safe diagnostics.
packages/​react-native-openfeature/​src/​fetchRulesConfiguration.ts Implements standalone rules fetching, decoding, timestamps, and error handling.
packages/​react-native-openfeature/​src/​__tests__/​tracking.integration.test.ts Covers fetched and refreshed rules with optional tracking hooks.
packages/​react-native-openfeature/​src/​__tests__/​fetchRulesConfiguration.test.ts Covers transport, selections, compatibility, failures, and explicit refresh.
packages/​react-native-openfeature/​src/​__tests__/​datadogCoreProvider.test.ts Updates the exact evaluator-version assertion.
packages/​react-native-openfeature/​src/​__tests__/​__utils__/​flag-selection/​SOURCE.md Records shared-fixture provenance and test scope.
packages/​react-native-openfeature/​src/​__tests__/​__utils__/​flag-selection/​selection-vectors.json Adds pinned shared flag-selection test vectors.
packages/​react-native-openfeature/​README.md Documents fetching, selection semantics, compatibility, and refresh usage.
packages/​react-native-openfeature/​package.json Updates flagging-core and generates version metadata before package builds.
package.json Generates both SDK version modules before root prepare, test, and lint commands.

Review effort: Balanced

@datadog-prod-us1-6 datadog-prod-us1-6 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.

Bits Code Review: PASS

More details

Static review identified no reportable defect in selection fallback or fetch failure handling. Runtime behavior was not exercised because dependencies are not installed.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 6bc5a85

@sameerank sameerank changed the title [FFL-3355] Add standalone rules configuration fetch helper [FFL-3355] feat: add standalone rules configuration fetching Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants