Multi-Provider in the SDK (spec Appendix A)

Aperta
#344 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
ruby
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Ruby
Stelle
43
Fork
18
Merge medio
1h 29m
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di open-feature/ruby-sdk

Tutte le issue di open-feature/ruby-sdk

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.