Multi-Provider in the SDK (spec Appendix A)

オープン
#344 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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分
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

open-feature/ruby-sdk のほかの issue

open-feature/ruby-sdk の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。