Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate experiments object block from experiment.js code #25169

Merged
merged 4 commits into from Oct 22, 2019

Conversation

cathyxz
Copy link
Contributor

@cathyxz cathyxz commented Oct 21, 2019

We add a new experiment every time we add a new component and remove it post-launch. I wonder if it makes sense to separate the config block for adding/removing experiments from the code that actually runs the experiments. That way we can have more expansive ownership permissions of the experiments config, while locking down permissions to merge into the experimentation code itself.

@amp-owners-bot
Copy link

Hey @rcebulko, these files were changed:

  • tools/OWNERS

@cathyxz cathyxz requested a review from rsimha October 21, 2019 20:38
Copy link
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea!

tools/experiments/experiments-config.js Show resolved Hide resolved
@cathyxz cathyxz requested a review from rcebulko October 21, 2019 22:13
tools/OWNERS Outdated Show resolved Hide resolved
tools/OWNERS Show resolved Hide resolved
Copy link
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@cathyxz cathyxz merged commit f458ddd into ampproject:master Oct 22, 2019
@cathyxz cathyxz deleted the refactor/separate-config branch October 22, 2019 19:05
joshuarrrr pushed a commit to Parsely/amphtml that referenced this pull request Oct 22, 2019
…#25169)

* Separate experiments object block from experiment.js code

* Add @fileoverview

* Change reviewers to working-groups

* Move OWNERS file from tools to tools/experiments
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
…#25169)

* Separate experiments object block from experiment.js code

* Add @fileoverview

* Change reviewers to working-groups

* Move OWNERS file from tools to tools/experiments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants