This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EXP-1865 add isRollout boolean property to Experiment type
Because: * we want to implement support for an isRollout flag in experiments This commit: * adds an isRollout boolean to the NimbusExperiment type * introduces example recipes for both mobile and desktop for testing * adds a test for boolean property schema validation for experiments
- Loading branch information
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"slug": "rollout-desktop-example", | ||
"appId": "firefox-desktop", | ||
"appName": "firefox_desktop", | ||
"channel": "", | ||
"endDate": null, | ||
"branches": [ | ||
{ | ||
"slug": "control", | ||
"ratio": 1, | ||
"feature": { | ||
"value": {}, | ||
"enabled": true, | ||
"featureId": "no-feature-firefox-desktop" | ||
} | ||
} | ||
], | ||
"outcomes": [], | ||
"arguments": {}, | ||
"probeSets": [], | ||
"startDate": null, | ||
"targeting": "version|versionCompare('95.!') >= 0 && 'app.shield.optoutstudies.enabled'|preferenceValue", | ||
"featureIds": ["no-feature-firefox-desktop"], | ||
"application": "firefox-desktop", | ||
"bucketConfig": { | ||
"count": 5000, | ||
"start": 0, | ||
"total": 10000, | ||
"namespace": "firefox-desktop-no-feature-firefox-desktop-rollout-1", | ||
"randomizationUnit": "normandy_id" | ||
}, | ||
"userFacingName": "Testing Rollout Desktop", | ||
"referenceBranch": "control", | ||
"proposedDuration": 28, | ||
"isRollout": true, | ||
"isEnrollmentPaused": false, | ||
"proposedEnrollment": 7, | ||
"userFacingDescription": "Testing Rollout Desktop", | ||
"id": "testing-rollout-desktop", | ||
"last_modified": 1636503830647 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"id": "rollout-mobile-example", | ||
"slug": "rollout-mobile-example", | ||
"application": "reference_browser", | ||
"appId": "org.mozilla.reference.browser", | ||
"appName": "reference_browser", | ||
"featureIds": ["bookmark-icon"], | ||
"channel": "nightly", | ||
"userFacingName": "Mobile Rollout Example", | ||
"userFacingDescription": "An A/A Test to validate rollout in the Rust SDK", | ||
"isRollout": true, | ||
"isEnrollmentPaused": false, | ||
"bucketConfig": { | ||
"randomizationUnit": "nimbus_id", | ||
"namespace": "rollout-mobile-example-rollout-1", | ||
"start": 0, | ||
"count": 5000, | ||
"total": 10000 | ||
}, | ||
"targeting": null, | ||
"startDate": null, | ||
"endDate": null, | ||
"proposedEnrollment": 7, | ||
"referenceBranch": "control", | ||
"probeSets": [], | ||
"branches": [ | ||
{ | ||
"slug": "control", | ||
"ratio": 1, | ||
"feature": { | ||
"featureId": "bookmarkId", | ||
"enabled": true, | ||
"value": {} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters