Skip to content

feat: add Flagward web provider - #1562

Open
basb7 wants to merge 2 commits into
open-feature:mainfrom
basb7:feat/add-flagward-provider
Open

basb7 wants to merge 2 commits into
open-feature:mainfrom
basb7:feat/add-flagward-provider

Conversation

@basb7

@basb7 basb7 commented Sep 29, 2026

Copy link
Copy Markdown

This PR

Adds the Flagward web provider to the ecosystem, for the static-context (web) paradigm.

Flagward is an open-source, self-hostable feature flag service. The provider downloads the flag rules once and evaluates them locally and synchronously, and flag changes arrive over SSE and are emitted as PROVIDER_CONFIGURATION_CHANGED.

Package: @flagward/openfeature-web on npmjs (browser, @openfeature/web-sdk)
Source: https://github.com/basb7/flagward-sdk-js/tree/main/packages/openfeature-web
Flagward: https://github.com/basb7/flagward

Notes

  • Adds src/datasets/providers/flagward.ts, registers it in PROVIDERS, and adds static/img/flagward-no-fill.svg (single path, no fill).
  • yarn lint and yarn build pass locally; the provider shows up on /ecosystem as a JavaScript client provider.

Signed-off-by: Brian <68973587+basb7@users.noreply.github.com>
@basb7
basb7 requested review from a team as code owners September 29, 2026 22:17
@netlify

netlify Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for openfeature ready!

Name Link
🔨 Latest commit 61f7842
🔍 Latest deploy log https://app.netlify.com/projects/openfeature/deploys/6abd783c60059f00080bbb39
😎 Deploy Preview https://deploy-preview-1562--openfeature.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 3f31694b-949b-4d42-97e1-2471b7758b4b

📥 Commits

Reviewing files that changed from the base of the PR and between baff8ba and 61f7842.

📒 Files selected for processing (1)
  • src/datasets/providers/flagward.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/datasets/providers/flagward.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The change adds the Flagward provider definition, including its logo and official JavaScript client metadata. It imports the definition and adds it to PROVIDERS.

Changes

Flagward provider

Layer / File(s) Summary
Define and register Flagward
src/datasets/providers/flagward.ts, src/datasets/providers/index.ts
Adds Flagward provider metadata and registers it in PROVIDERS after Superposition.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Feature

Suggested reviewers: aepfli

Merge Risk: ⚪ Minimal · up to 61f78

Flagward is correctly registered as a JavaScript web provider with its logo. No actionable merge-blocking risk remains, subject to normal build checks.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the main change: adding the Flagward web provider.
Description check ✅ Passed The description directly explains the Flagward provider, its integration, added files, package references, and validation results.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

Comment thread src/datasets/providers/flagward.ts Outdated
category: ['Client'],
},
],
description: 'Official OpenFeature web provider for Flagward, open-source feature flags with local evaluation.',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you drop the description, this will be auto-generated with vendorOfficial set.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks for the review! Done, I removed the description so it's generated from vendorOfficial like the other providers.

Comment thread src/datasets/providers/flagward.ts Outdated
{
technology: 'JavaScript',
vendorOfficial: true,
href: 'https://www.npmjs.com/package/@flagward/openfeature-web',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there a docs page this can point to?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Good call, thanks! Yes, the link now points to our OpenFeature docs: https://docs.flagward.com/sdks/openfeature

Signed-off-by: Brian <68973587+basb7@users.noreply.github.com>
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