Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support `$.flags` context values in segment conditions

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
ruby
Domain
backend

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-data is bumped to the tag containing the flag dependency cases, and they pass.
  • An environment with no $.flags conditions gains no per-evaluation cost.
  • Resolved flags are scoped to a single evaluation, never shared between concurrent evaluations.

SDK:

  • getFlags passes segments to the engine so identity-less evaluation resolves $.flags and $.environment conditions.
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Flagsmith/flagsmith-ruby-client

All issues in Flagsmith/flagsmith-ruby-client

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.