Flags that serve a string, number or JSON value
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 42/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- go, javascript, python
- Domaine
- api, backend-api-design, frontend
Piste de recherche
Start with the feature-flag API and dashboard value models, then trace the evaluation response and the JavaScript, Python, and Go SDK paths, including local evaluators. Locate the tests and documentation that currently state flags are on or off only, especially around GET /feature-flags/user/{user_id} and the published 0.2.0 SDK behavior. Done means typed string, number, and JSON values can be configured and served without changing config, the legacy endpoint stays unchanged, supported SDKs and providers handle the new values and user attributes, and outdated local rulesets do not remain active indefinitely.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
A flag is on or off for each user today: evaluation answers enabled with config: null for every flag, a flag
request with variants is refused with 422, and default_value accepts only false. Serving one of several values
(a copy string, a limit, a JSON configuration) needs a multivariate experiment instead.
Expected:
- A flag can carry a value of one type (string, number or JSON): the value a matching rule or the rollout serves, and
the value the flag serves when it is off, set in the API and the dashboard. A rule or the rollout serves one of these
two values; a weighted split among more values is out of scope here. - Evaluation returns the value in a new field.
configkeeps its current meaning, because existing SDKs read it in
different ways;GET /feature-flags/user/{user_id}keeps answering{key: enabled}. - The JavaScript, Python and Go SDKs read typed values (and the JavaScript and Python local evaluators evaluate them),
and the OpenFeature providers serve string, number and object values and send the user's attributes. - SDKs already published (0.2.0) keep working against a server with value flags, including in local evaluation: a
ruleset they do not understand must not leave them answering from an old ruleset indefinitely. - The limitations page, the claims and the tests that state "on or off only" change with it.
Out of scope here: the other SDKs, which gain values as each is published.
- Langage dominant
- Python
- Étoiles
- 0
- Forks
- 4
- Merge moyen
- 5 h 36 min
- PR mergées (30 j)
- 509
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Controlvar/controlvar
-
bug post-launch
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Controlvar/controlvar#1748 ·
Les mainteneurs répondent en général sous 1 jour
-
Dashboard: the sequential panel's "Ready to stop" banner shows no sample-ratio-mismatch cautionOuvertebug post-launch
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Controlvar/controlvar#1737 ·
Les mainteneurs répondent en général sous 1 jour
-
bug post-launch
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Controlvar/controlvar#1562 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 90/100
Controlvar/controlvar#1447 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Experiment setup: emptying a traffic share box and typing a number shows a leading zero ("034")Ouvertebug post-launch
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Controlvar/controlvar#1428 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Controlvar/controlvar
Issues similaires
-
follow-up needs-triage S3: minor
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
manaflow-ai/cmux#36856 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
documentation good first issue help wanted
Difficulté 1/5 1-3 heures Accessibilité débutants 90/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Shell framework build fails at "copy the shader libraries": the iOS shader libraries are now one file b-<chain>.imgPeut-être pris @xiaofeng-han l’a pris aujourd’hui. Ouvertebuild ios
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour