Multi-Provider in the SDK (spec Appendix A)

未关闭
#344 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
ruby
领域
api, backend

调研方向

Read the Multi-Provider requirements in Spec v0.9.0 Appendix A, compare them with contrib's openfeature-meta and the referenced work in #300, especially #332 and the lifecycle and isolated API changes. The open questions leave the package location and initial strategy set undecided; agree on those before implementation. Done means the SDK utility wraps uniquely named providers with the specified initialization, status, event, domain and evaluation behavior.

由索引模型根据 Issue 内容生成。

描述

Spec v0.9.0 Appendix A describes a Multi-Provider that SDKs ship as an included utility. It wraps several providers behind one, with unique names, parallel initialization, aggregated status and events, and pluggable evaluation strategies. It's optional for v0.9.0 compliance, and #300 deferred it to after the 0.7.0 release.

Contrib's openfeature-meta_provider covers part of this today, but it differs from the appendix. It initializes children sequentially, its strategy names differ, it doesn't aggregate child status or events (children aren't attached to the configuration), and it doesn't forward the bound domain to children.

Depends on

These are part of the #300 work in progress:

  • Ordered event delivery and handler locking (#332). The Multi-Provider re-emits child events.
  • Provider-owned lifecycle events (Appendix E). Aggregated status needs children to report their own READY/ERROR.
  • Isolated API instances (1.8). This keeps child providers from being registered with more than one API.
Open questions
  • Should it live in the core gem, as other SDKs do, or replace or extend contrib's meta_provider?
  • Which strategies ship first? The appendix describes first-match, first-successful and comparison.
主要语言
Ruby
星标
43
派生
18
平均合并
1 小时 29 分钟
30 天内合并 PR
17

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

open-feature/ruby-sdk 的其他 Issue

查看 open-feature/ruby-sdk 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。