Generate full-depth JSON Schemas for FML features
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- json, python, yaml
- Área
- api, backend, developer-experience
Línea de trabajo
Start by reading the code that generates and stores feature schemas from experimenter.yaml and the per-channel .fml.yaml files, then trace the branch editor autocomplete, schema display, and features page diffs that consume them. The issue names no specific code files or tests, so first locate those entry points and their existing schema tests. Done means generated schemas represent nested objects, enums, maps, lists, and optional fields, with desktop remaining out of scope.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Experimenter generates a JSON Schema for each mobile/web (FML) feature from experimenter.yaml, which nimbus-fml generate-experimenter produces. That projection flattens every nested FML type (objects, maps, lists) to json, drops Option nullability, and only keeps enum variants on top-level variables. The schema we store, display, and use for editor autocomplete therefore only describes top-level variables. For a feature like messaging, where most of the structure lives in nested objects (MessageData, StyleData, etc.), the schema shows almost nothing useful.
Deep validation of mobile feature values already goes through FmlClient against the full FML, so this is about the schema we generate and expose, not about validation correctness.
Proposal: generate the JSON Schema for FML features from the full FML (the per-channel .fml.yaml files we already fetch) so it covers the whole spec: nested objects, enums, maps, lists, and optional fields. Desktop is out of scope.
This touches several places that consume the stored schema today, including the branch editor's autocomplete (which only handles flat schemas), the schema display in the branch editor, and the feature schema diffs on the features page.
Related: #17675
┆Issue is synchronized with this Jira Task
- Lenguaje dominante
- Python
- Estrellas
- 152
- Forks
- 231
- Merge medio
- 23 h 54 min
- PR fusionados (30 d)
- 201
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mozilla/experimenter
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
mozilla/experimenter#18288 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mozilla/experimenter#18281 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
mozilla/experimenter#18132 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
mozilla/experimenter#18079 ·
Los mantenedores suelen responder en 1 día
-
Targeting version check uses whichever version was cached first: `TargetingContextFields.for_application` ignores versionQuizá libre de nuevo @user-Param la tomó hace 21 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mozilla/experimenter#17974 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de mozilla/experimenter
Issues similares
-
eegprep-lean: set channel types from the Zarr group's channel_typePosiblemente ocupada @claude la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
sccn/eegprep#668 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Upgrade Django to 5.2.18Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
blacklanternsecurity/bbot#3679 ·
Los mantenedores suelen responder en 2 días
-
Link Checker ReportAbiertoBot Type: Bug Type: Documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
speakeasy-api/speakeasy#2159 ·
Los mantenedores suelen responder en 1 día