Skip to content

chore: openfeature cloudflare provider scaffold - #1870

Open
joker23 wants to merge 2 commits into
mainfrom
skz/SDK-2947/openfeature-cloudflare-provider-scaffold
Open

chore: openfeature cloudflare provider scaffold#1870
joker23 wants to merge 2 commits into
mainfrom
skz/SDK-2947/openfeature-cloudflare-provider-scaffold

Conversation

@joker23

@joker23 joker23 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

Provide links to any issues in this repository or elsewhere relating to this pull request.

Describe the solution you've provided

Provide a clear and concise description of what you expect to happen.

Describe alternatives you've considered

Provide a clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context about the pull request here.


Note

Overview
Introduces @launchdarkly/openfeature-cloudflare-server (v0.1.0 pre-release) so Cloudflare Workers can use OpenFeature with LaunchDarkly via the KV-backed Cloudflare server SDK.

The LaunchDarklyProvider is a thin subclass of BaseOpenFeatureProvider: it takes clientSideID, a KVNamespace, and optional LDOptions, calls init from @launchdarkly/cloudflare-server-sdk, and deliberately does not wire ConfigurationChanged (documented in README and code comments). Evaluation, context translation, and error mapping come from @launchdarkly/openfeature-js-server-common, same pattern as the Node OpenFeature provider.

The monorepo registers the new workspace and TypeScript project reference. The package ships build/lint/test tooling, README (isolate-scoped provider init, nodejs_compat, flush-per-request), license, and Jest coverage for init failures, all flag types, LD→OpenFeature error codes, tracking, and context logging.

Reviewed by Cursor Bugbot for commit d4dd494. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 26360 bytes
Compressed size limit: 29000
Uncompressed size: 129188 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 41502 bytes
Compressed size limit: 44000
Uncompressed size: 224541 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 32444 bytes
Compressed size limit: 34000
Uncompressed size: 116232 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 179887 bytes
Compressed size limit: 200000
Uncompressed size: 833430 bytes

@joker23 joker23 changed the title skz/SDK 2947/openfeature cloudflare provider scaffold chore: openfeature cloudflare provider scaffold Aug 20, 2026
@joker23
joker23 marked this pull request as ready for review August 20, 2026 23:01
@joker23
joker23 requested a review from a team as a code owner August 20, 2026 23:01

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

cursor[bot]

This comment was marked as resolved.

@joker23
joker23 force-pushed the skz/SDK-2947/openfeature-cloudflare-provider-scaffold branch from a9d647d to d4dd494 Compare August 24, 2026 20:00
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.

2 participants