mozilla / nimbus-shared

Shared data and schemas for Project Nimbus
https://mozilla.github.io/nimbus-shared
Mozilla Public License 2.0
5 stars 15 forks source link

Schema Change for enrollmentEndDate #200

Closed jaredlockhart closed 2 years ago

jaredlockhart commented 2 years ago

Welcome Change Captain! ⛵️

When making schema changes, follow this guidance to avoid breaking changes:

Proposing Schema Changes

When Client Changes Are Complete

When Client QA is Complete

When Bugs Are Resolved and Clients Are Released

When Experimenter Changes Are Complete

jaredlockhart commented 2 years ago

For Jetstream to perform an experiment analysis, it uses the enrollment period to determine which clients to include in its analysis. When an experiment is launched it includes a proposed enrollment period, and that can be used to compute a proposed enrollment end date, however many experiment timelines deviate from their proposed timelines and so the actual enrollment end date may not match the proposed enrollment end date. For Jetstream to know the actual enrollment end date, we have to include it in the publicly accessible experiment definition and so we should add an enrollmentEndDate: string field to the experiment type.

Related change in the Experimenter API: https://github.com/mozilla/experimenter/issues/7410