Generate full-depth JSON Schemas for FML features
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- json, python, yaml
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 152
- フォーク
- 231
- 平均マージ
- 23時間 54分
- マージ済み PR(30日)
- 201
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mozilla/experimenter のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
mozilla/experimenter#18288 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mozilla/experimenter#18281 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
mozilla/experimenter#18132 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
mozilla/experimenter#18079 ·
メンテナーはふだん 1 日以内に返信
-
Targeting version check uses whichever version was cached first: `TargetingContextFields.for_application` ignores version再び着手できるかも @user-Param が 21 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mozilla/experimenter#17974 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
mozilla/experimenter の issue をすべて見る
似ている issue
-
eegprep-lean: set channel types from the Zarr group's channel_type対応中かも @claude が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
blacklanternsecurity/bbot#3679 ·
メンテナーはふだん 2 日以内に返信
-
Link Checker ReportオープンBot Type: Bug Type: Documentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
speakeasy-api/speakeasy#2159 ·
メンテナーはふだん 1 日以内に返信