Multi-Provider in the SDK (spec Appendix A)

Aberta
#344 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
ruby
Domínio
api, backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
Ruby
Estrelas
43
Forks
18
Merge médio
1h 29min
PRs com merge (30d)
17

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de open-feature/ruby-sdk

Todas as issues de open-feature/ruby-sdk

Issues semelhantes

Mais issues de Ruby

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.