Support `$.flags` context values in segment conditions
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by tracing SDK getFlags into the engine and inspect how segments and per-evaluation context are passed. Use the engine-test-data tag containing the flag dependency cases as the first validation point; done means $.flags conditions work for identity-less evaluation, environments without them avoid added per-evaluation cost, and concurrent evaluations do not share resolved flags.
Written by the indexing model from the issue text.
Description
Support $.flags.<feature name>.<enabled|value|variant> conditions.
Acceptance criteria
Engine:
engine-test-datais bumped to the tag containing the flag dependency cases, and they pass.- An environment with no
$.flagsconditions gains no per-evaluation cost. - Resolved flags are scoped to a single evaluation, never shared between concurrent evaluations.
SDK:
getFlagspasses segments to the engine so identity-less evaluation resolves$.flagsand$.environmentconditions.
- Dominant language
- Ruby
- Stars
- 12
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Flagsmith/flagsmith-ruby-client
-
Local evaluation buckets percentage splits with the server key, so results differ from FlagsmithOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
Dependency DashboardOpen
Difficulty 3/5 1-2 days Newbie friendliness 15/100
-
Local evaluation silently drops identity overrides on large environmentsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
All issues in Flagsmith/flagsmith-ruby-client
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
lugassawan/swe-workbench#799 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Homebrew/homebrew-core#317477 · 2 comments ·
Maintainers usually reply within 1 day
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hanami/hanami-cli#453 ·
-
area/web interface
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
mastodon/mastodon#41009 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day