Local evaluation silently drops identity overrides on large environments
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 58/100
Research direction
Start by locating the Elixir client's local-evaluation environment fetch and comparing its pagination behavior with the reference implementation in Flagsmith/flagsmith-nodejs-client#205. Verify the full environment, including identity overrides, is cached and that refreshes exceeding the configured interval log both durations; confirm single-page environments remain unchanged and local results match remote evaluation.
Written by the indexing model from the issue text.
Description
Server-side SDKs cache the environment document for local evaluation, but the Elixir client today only ingests the first response page. For environments large enough to span multiple pages — typically those with many identity overrides — every override beyond the first page is missing from the local cache. Affected identities are evaluated against an incomplete environment and may receive flags that disagree with remote evaluation, with no error surfaced to the operator.
Acceptance criteria
- Local evaluation returns the same identity-override results as remote evaluation regardless of how large the environment is.
- Existing users on environments small enough to fit a single page see no behaviour or configuration change.
- When fetching a full environment takes longer than the configured refresh interval, the SDK logs a warning naming both durations, so the operator knows to raise the interval or trim the environment.
Parent: Flagsmith/flagsmith#4664
Reference implementation: Flagsmith/flagsmith-nodejs-client#205
- Dominant language
- Elixir
- Stars
- 10
- Forks
- 4
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 12
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-elixir-client
-
Dependency DashboardOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
Flagsmith/flagsmith-elixir-client#65 ·
Maintainers usually reply within 1 day
-
Implement Context ValuesMay be free again @emyller claimed this 442 days ago, and no pull request is open. Open
Flagsmith/flagsmith-elixir-client#46 · 1 assignee ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 5/5 Over a week Newbie friendliness 15/100
Flagsmith/flagsmith-elixir-client#37 ·
Maintainers usually reply within 1 day
All issues in Flagsmith/flagsmith-elixir-client
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
taskforcesh/bullmq#5238 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nerves-hub/nerves_hub_web#3387 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug tests
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
malachi-hq/malachi#387 ·
Maintainers usually reply within 1 day
-
[Bug] Elixir `.formatter.exs`, `.credo.exs`, `config/*.exs` and `priv/**/*.exs` are reported as unreachable filesPossibly taken @ZYZ666-RGB claimed this 1 day ago. Openbug good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
repowise-dev/repowise#6296 · 1 comment ·
Maintainers usually reply within 1 day