Support `$.flags` context values in segment conditions
还没有人认领这个 Issue。
评估
调研方向
从 SDK 的 getFlags 路径和引擎集成开始,然后检查 segment 和 evaluation context 的传递方式。运行 engine-test-data 依赖用例,包括 flag 和 environment 条件。完成标准是:无 identity 的 evaluation 能解析出 $.flags 和 $.environment,没有 flag 条件的 evaluation 不产生每次 evaluation 的开销,并发 evaluation 不共享已解析的 flag。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Elixir
- 星标
- 10
- 派生
- 4
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Flagsmith/flagsmith-elixir-client 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 58/100
-
Local evaluation silently drops identity overrides on large environments可能已有人在做 @marc-merino 于 12 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 58/100
-
Implement Context Values可能重新可做 @emyller 于 404 天前认领,目前没有进行中的 PR。 未关闭
Flagsmith/flagsmith-elixir-client#46 · 已指派 1 人 ·
-
good first issue
难度 5/5 一周以上 新手友好度 15/100
查看 Flagsmith/flagsmith-elixir-client 的全部 Issue
相似的 Issue
-
bug(dashboard): gate card last-seen badge shows inventory-sync timestamp, not sweep observation time未关闭
难度 2/5 1-3 小时 新手友好度 77/100
carverauto/serviceradar#5793 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 91/100
expert-lsp/expert#942 ·
维护者通常 1 天内回复
-
npm: file fetcher aborts with "engines.<key> must be a string" when package.json engines contains a nested object (e.g. cordovaDependencies)可能已有人在做 @v-sachin-sandhu 今天认领。 未关闭L: javascript
难度 2/5 1-3 小时 新手友好度 75/100
dependabot/dependabot-core#16615 · 已指派 1 人 ·
维护者通常 1 天内回复
-
bug priority: medium
难度 1/5 1 小时以内 新手友好度 93/100
TomerAberbach/profiler-md#732 ·
维护者通常 1 天内回复