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

Pause data updates while we queue experiments #1125

Merged
merged 13 commits into from
Dec 6, 2021

Conversation

mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Dec 6, 2021

5/5 master <- #1120 <- #1122 <- #1124 <- #1123 <- this

This PR pauses all data updates while we queue any experiments. It also adds a forceRunQueued method to the ProcessManager which can be used to manually force a data update for experiments. We need to put this in so that we can provide the user with "status" updates as the experiments are being queued. This does make things a bit slower but we would be able to improve the flow if exp show ever became lockless.

Demo

Screen.Recording.2021-12-06.at.4.21.09.pm.mov

@mattseddon mattseddon self-assigned this Dec 6, 2021
@mattseddon mattseddon force-pushed the pause-updates-for-queue branch from 788aa70 to e067082 Compare December 6, 2021 03:37
@mattseddon mattseddon changed the base branch from master to pause-updates December 6, 2021 03:40
@mattseddon mattseddon changed the title Pause data updates while we queue an experiment Pause data updates while we queue experiments Dec 6, 2021
@mattseddon mattseddon force-pushed the pause-updates-for-queue branch from 22b9c23 to 7e52ce8 Compare December 6, 2021 05:32
@mattseddon mattseddon added product PR that affects product and removed 🏠 housekeeping labels Dec 6, 2021
@mattseddon mattseddon marked this pull request as ready for review December 6, 2021 06:37
Base automatically changed from pause-updates to master December 6, 2021 23:19
@mattseddon mattseddon force-pushed the pause-updates-for-queue branch from 7e52ce8 to e345b7a Compare December 6, 2021 23:33
@mattseddon mattseddon enabled auto-merge (squash) December 6, 2021 23:33
@codeclimate
Copy link

codeclimate bot commented Dec 6, 2021

Code Climate has analyzed commit e345b7a and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 92.3% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.7% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit 7e4df80 into master Dec 6, 2021
@mattseddon mattseddon deleted the pause-updates-for-queue branch December 6, 2021 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants