Skip to content

feat: add dif.sh provider - #1575

Open
cfowles wants to merge 1 commit into
open-feature:mainfrom
cfowles:feat/add-dif-provider
Open

cfowles wants to merge 1 commit into
open-feature:mainfrom
cfowles:feat/add-dif-provider

Conversation

@cfowles

@cfowles cfowles commented Oct 7, 2026

Copy link
Copy Markdown

Summary

  • Add dif.sh's official JavaScript server provider to the provider catalog.
  • Add a theme-controlled dif logo (static/img/dif-no-fill.svg), validated against lint:svg.

dif.sh keeps feature flags and A/B experiments as .md files in the repo; dif build generates a typed
client, and @dif.sh/openfeature resolves OpenFeature evaluations against it. String evaluation returns
the variant id, and boolean evaluation is false only for the first declared variant.

Sources

Signed-off-by: Chris Fowles <chris@dif.sh>
@cfowles
cfowles requested review from a team as code owners October 7, 2026 22:01
@netlify

netlify Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for openfeature ready!

Name Link
🔨 Latest commit 4b40a37
🔍 Latest deploy log https://app.netlify.com/projects/openfeature/deploys/6ac6c15981b92a00080ae1b3
😎 Deploy Preview https://deploy-preview-1575--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 Oct 7, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

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: fbfe1676-b57d-4c7f-97c4-63db490a649d
📥 Commits

Reviewing files that changed from the base of the PR and between 1a55aeb and 4b40a37.

⛔ Files ignored due to path filters (1)
  • static/img/dif-no-fill.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • src/datasets/providers/dif.ts
  • src/datasets/providers/index.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 provider dataset adds Dif with its logo and JavaScript technology metadata. The provider index imports Dif and adds it to the PROVIDERS array.

Changes

Dif provider

Layer / File(s) Summary
Define and register Dif
src/datasets/providers/dif.ts, src/datasets/providers/index.ts
Adds Dif provider metadata, imports the provider, and adds it to the PROVIDERS array.

Priority: ⬇️ Low

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

Change: Feature

Suggested reviewers: aepfli

Merge Risk: ⚪ Minimal · up to 4b40a

The catalog addition and logo reference are consistent with existing contracts; no actionable merge risk is identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: adding the dif.sh provider.
Description check ✅ Passed The description is directly related to the changeset and explains the provider, logo, package, and evaluation behavior.
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.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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