Commit Graph

145 Commits

Author SHA1 Message Date
Travis Long
b9fc17fbde Bug 1754527 - Nimbus should call the Glean Experiment API r=chutten,barret
Differential Revision: https://phabricator.services.mozilla.com/D145911
2022-05-17 13:51:55 +00:00
Barret Rennie
3feb5137d8 Bug 1768727 - Add a test to ensure Nimbus feature schemas stay backwards compatible r=emcminn
The new test ensures we do not have any occurrances of `additionalProperties:
false` in any Nimbus Feature schemas.

Differential Revision: https://phabricator.services.mozilla.com/D146029
2022-05-12 21:39:18 +00:00
Punam Dahiya
74fd8b3a3e Bug 1765907 - PBM experiment message should override default promo message r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D144871
2022-05-12 18:24:06 +00:00
criss
9c35b9b500 Backed out 2 changesets (bug 1754527) for turning Bug 1760130 into permafail on windows. CLOSED TREE
Backed out changeset 24ae57f9c2bb (bug 1754527)
Backed out changeset 93e08f7a934a (bug 1754527)
2022-05-11 23:12:05 +03:00
Travis Long
6e32825e20 Bug 1754527 - Adds test coverage for Glean experiment API to browser_remotesettingsexperimentloader_remote_default.js r=barret
Differential Revision: https://phabricator.services.mozilla.com/D145965
2022-05-10 23:19:16 +00:00
Travis Long
f417f3c0fe Bug 1754527 - Nimbus should call the Glean Experiment API r=chutten,barret
Differential Revision: https://phabricator.services.mozilla.com/D145911
2022-05-10 23:19:16 +00:00
Cristian Tuns
9a2ed99397 Backed out changeset eb12cdc5d1e8 (bug 1765907) for causing mochitest failures on browser_privatebrowsing_focus_promo.js CLOSED TREE 2022-05-10 14:38:02 -04:00
Punam Dahiya
daed30958c Bug 1765907 - PBM experiment message should override default promo message r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D144871
2022-05-10 17:12:05 +00:00
Mathieu Leplatre
9c4746ef13 Bug 1767890 - Prevent packaged dump from being loaded r=robwu
Change tests and snippets in documentation to use `Date.now()` instead of an arbitrary number like `42`.
This way, we make sure the packaged dump isn't loaded on top of the tests data. Indeed, since Bug 1718083 we load the packaged dump if it's newer than local data.

Differential Revision: https://phabricator.services.mozilla.com/D145579
2022-05-10 09:51:50 +00:00
Barret Rennie
c1e132a0a3 Bug 1759039 - Replace Ajv with JsonSchema.jsm in toolkit/components/nimbus/test r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D142876
2022-04-06 17:07:34 +00:00
Barret Rennie
cde3bd47ef Bug 1759039 - Port NimbusTestUtils.jsm to JsonSchema.jsm r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D142875
2022-04-06 17:07:34 +00:00
Barret Rennie
2160cfe2a5 Bug 1762947 - Validate all branches when using variables-only features r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D142863
2022-04-04 18:26:03 +00:00
Gijs Kruitbosch
edda40141b Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Norisz Fay
e1d7571cc8 Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch
1214ac636b Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
Barret Rennie
ace0a315bf Bug 1761105 - Validate Nimbus features using variables instead of schemas r=emcminn
Not all features are complicated enough to require full on JSON schema to
describe their variables. For these simpler features, we generate (a lax) JSON
schema based on the contents of their `variables` field to validate them. This
way we can re-use the existing validation mechanism and do not have to write a
bespoke validator.

The schema generated is intended to be compatible with the one generated by
Experimenter.

Differential Revision: https://phabricator.services.mozilla.com/D141892
2022-03-28 16:14:05 +00:00
Barret Rennie
8bdc00cfed Bug 1757611 - Report invalid branch and invalid recipe as reasons for unenrollment r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D139974
2022-03-25 00:01:22 +00:00
Barret Rennie
48e7fe21b4 Bug 1755610 - Validate nimbus experiments via JSON schema r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D138930
2022-03-25 00:01:21 +00:00
Barret Rennie
6e0406c0f8 Bug 1752665 - Validate experiment features where we have schemas r=andreio
A test that tested featureless experiments has been removed, as the experiment
schema dictates that one of `feature` or `features` is required.

Tests have been updated to match the in-tree schema, as they previously did not
validate.

Differential Revision: https://phabricator.services.mozilla.com/D138928
2022-03-25 00:01:21 +00:00
Barret Rennie
62bcac7009 Bug 1757778 - Update NimbusEnrollment schema based off updated NimbusExperiment schema r=emcminn
The result of ExperimentFakes.recipe() has been updated to match the updated schema.

Some unit tests have been updated to pass with the updated schema.

Differential Revision: https://phabricator.services.mozilla.com/D140760
2022-03-25 00:01:19 +00:00
Barret Rennie
fe4e32dcf7 Bug 1757778 - Expose Nimbus schemas as resource:// URIs r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D138929
2022-03-25 00:01:19 +00:00
Andrei Oprea
d3095f3036 Bug 1752146 - Disabling studies should unenroll users from any active rollouts r=barret
Differential Revision: https://phabricator.services.mozilla.com/D137051
2022-01-27 12:20:30 +00:00
Andrei Oprea
aa69900fdc Bug 1751046 - Prevent experiment and rollout data from being merged r=barret
Differential Revision: https://phabricator.services.mozilla.com/D136407
2022-01-20 15:20:59 +00:00
Butkovits Atila
138352a5c0 Backed out changeset 2399b32bd5c4 (bug 1751046) for causing failures at test_ExperimentAPI_ExperimentFeature_getAllVariables.js. CLOSED TREE 2022-01-20 14:34:04 +02:00
Andrei Oprea
4418b3c86b Bug 1751046 - Prevent experiment and rollout data from being merged r=barret
Differential Revision: https://phabricator.services.mozilla.com/D136407
2022-01-20 10:39:39 +00:00
Andrei Oprea
15c9a834e8 Bug 1744953 - Add support for rollouts in the Nimbus platform API r=barret
Differential Revision: https://phabricator.services.mozilla.com/D135495
2022-01-18 14:03:48 +00:00
Cristian Tuns
5b1fb6d14e Backed out changeset 70e003e2b5e4 (bug 1744953) for causing hybrid bustages on NimbusFeatures.cpp CLOSED TREE 2022-01-14 08:46:19 -05:00
Andrei Oprea
67bdab91e0 Bug 1744953 - Add support for rollouts in the Nimbus platform API r=barret
Differential Revision: https://phabricator.services.mozilla.com/D135495
2022-01-14 10:52:10 +00:00
Andrei Oprea
0bbd6f190b Bug 1749955 - Studies get installed even though Normandy is disabled r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D135912
2022-01-14 08:23:32 +00:00
Kershaw Chang
6996daa060 Bug 1741425 - Enable more xpcshell tests with socket process, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D134484
2022-01-11 09:50:14 +00:00
Andrei Oprea
79b5bb3d6b Bug 1738286 - New schema and enrollment flow for rollouts r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D129835
2021-12-09 17:58:18 +00:00
Andrei Oprea
134b122cde Bug 1723755 - Nimbus platform API does not read fallbackPrefs r=barret
Depends on D130159

Differential Revision: https://phabricator.services.mozilla.com/D131331
2021-12-08 09:06:36 +00:00
Andrei Oprea
ffb225eca1 Bug 1738937 - Switch FeatureManifest to yaml format and auto-generate the JS file r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D130159
2021-12-01 15:03:21 +00:00
Sandor Molnar
6d446f3f86 Backed out changeset 66f4a3acc86b (bug 1738937) for causing xpc failures in test_quicksuggest_merino. CLOSED TREE 2021-12-01 13:46:34 +02:00
Andrei Oprea
979cf4339a Bug 1738937 - Switch FeatureManifest to yaml format and auto-generate the JS file r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D130159
2021-12-01 10:09:17 +00:00
Andrei Oprea
02d7dc18a9 Bug 1740718 - Switch Messaging System to use the NimbusFeatures API r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D131241
2021-11-26 11:34:50 +00:00
Andrei Oprea
50cfa4b277 Bug 1741250 - Existing cfr experiment results in TypeError 'target.features is undefined' r=k88hudson,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D131176
2021-11-17 17:55:25 +00:00
Andrei Oprea
9ee9fb92d3 Bug 1739666 - Messaging system should use feature.variables.enabled, not feature.enabled r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D130636
2021-11-10 17:29:58 +00:00
criss
80dd432871 Backed out changeset b04b4f5c324d (bug 1739666) for newtab failures. CLOSED TREE 2021-11-10 17:24:28 +02:00
Andrei Oprea
c957bddda2 Bug 1739666 - Messaging system should use feature.variables.enabled, not feature.enabled r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D130636
2021-11-10 14:34:11 +00:00
Andrei Oprea
a3609d96f7 Bug 1733357 - Expose Nimbus API to all platforms r=necko-reviewers,valentin,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127938
2021-10-21 13:48:04 +00:00
Iulian Moraru
6225146ee9 Backed out changeset 6abb8df4efef (bug 1733357) for causing android gtest failures. CLOSED TREE 2021-10-21 05:18:17 +03:00
Andrei Oprea
74e3d58346 Bug 1733357 - Expose Nimbus API to all platforms r=necko-reviewers,valentin,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127938
2021-10-20 17:30:59 +00:00
Andrei Oprea
2ca58a7034 Bug 1732914 - Add new unenrollment reason when targeting is no longer satisfied r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D128716
2021-10-20 17:09:45 +00:00
Alexandru Michis
755bfab0bc Backed out changeset eb276ce17c77 (bug 1733357) for causing bustages in nsHttpHandler.cpp
CLOSED TREE
2021-10-20 19:01:36 +03:00
Andrei Oprea
8c782b9ee4 Bug 1733357 - Expose Nimbus API to all platforms r=necko-reviewers,valentin,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127938
2021-10-20 12:47:34 +00:00
Andrei Oprea
52681e1e34 Bug 1730924 - Upgrade ajv.js from 4.1.1 to 6.12.6 r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127625
2021-10-12 19:41:05 +00:00
Alexandru Michis
b0d4c86fd7 Backed out changeset 837ba61b9975 (bug 1730924) for causing xpcshell failures in services/sync.
CLOSED TREE
2021-10-12 20:13:05 +03:00
Andrei Oprea
256aaa4763 Bug 1730924 - Upgrade ajv.js from 4.1.1 to 6.12.6 r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127625
2021-10-12 14:43:02 +00:00
Andrei Oprea
28d88d09f4 Bug 1732724 - Report targeting expression source in the case of undesired events r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D126776
2021-10-07 19:45:17 +00:00