Skip to content

feat: add Rollgate provider - #1421

Open
tech-and-finance wants to merge 1 commit into
open-feature:mainfrom
tech-and-finance:add-rollgate-provider
Open

feat: add Rollgate provider#1421
tech-and-finance wants to merge 1 commit into
open-feature:mainfrom
tech-and-finance:add-rollgate-provider

Conversation

@tech-and-finance

Copy link
Copy Markdown

Adds Rollgate to the provider ecosystem list.

Provider

@rollgate/openfeature-server-provider (npm, v0.1.0) — JavaScript / Server, vendor-official. Wraps @rollgate/sdk-node, mapping its detailed evaluation API onto the @openfeature/server-sdk Provider contract.

Source: https://github.com/rollgate/sdks/tree/main/packages/openfeature-server-provider

Checklist

  • All resolution methods implemented (boolean / string / number / object)
  • Context transformation documented (targetingKey → Rollgate userId, flat attributes; Date → ISO)
  • Reason & error-code mapping to OpenFeature standards; variant + flagMetadata exposed; TYPE_MISMATCH on unexpected type
  • Adequately tested (18 unit tests)
  • Provider releases follow semantic versioning (0.1.0)
  • Named per conventions

Server provider only for now; a web provider (@openfeature/web-sdk) is planned.

Add the Rollgate feature-flag provider to the ecosystem list.

- @rollgate/openfeature-server-provider (JavaScript, Server, vendor-official)
- Wraps @rollgate/sdk-node; published on npm at 0.1.0

Signed-off-by: thejord <domenicogiordano@gmail.com>
@tech-and-finance
tech-and-finance requested review from a team as code owners July 26, 2026 00:44
@netlify

netlify Bot commented Jul 26, 2026

Copy link
Copy Markdown

Deploy Preview for openfeature ready!

Name Link
🔨 Latest commit 8d385af
🔍 Latest deploy log https://app.netlify.com/projects/openfeature/deploys/6a655868f968320008fccfc1
😎 Deploy Preview https://deploy-preview-1421--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 Jul 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f4c212f3-4907-46b2-8e8b-6892784f9210

📥 Commits

Reviewing files that changed from the base of the PR and between 27d0fcf and 8d385af.

⛔ Files ignored due to path filters (1)
  • static/img/rollgate.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • src/datasets/providers/index.ts
  • src/datasets/providers/rollgate.ts

📝 Walkthrough

Walkthrough

Adds a Rollgate provider definition with its logo and JavaScript server technology metadata, then registers it in the shared provider list so derived provider mappings include it.

Changes

Rollgate provider

Layer / File(s) Summary
Define and register Rollgate
src/datasets/providers/rollgate.ts, src/datasets/providers/index.ts
Adds the Rollgate provider configuration and registers it in PROVIDERS, enabling the existing derived mappings and ecosystem exports to include it.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the main change: adding the Rollgate provider.
Description check ✅ Passed The description matches the change by explaining the new Rollgate provider and its ecosystem entry.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

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.

1 participant