Skip to content

Conversation

@mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Feb 3, 2022

This PR updates the logic inside the PlotsModel to always request missing experiment revisions but to leave out checkpoints. Plugs the first bug from #1277:

If an experiment is running and we unselect the experiment then we get unexpected behaviour in the plots because we use getSelectedRevisions to determine which revisions are missing.

Demo

Screen.Recording.2022-02-04.at.10.04.07.am.mov

Once I have added the tree to select revisions I will revisit this logic so that we never request more than 6 revisions at the one time. My initial thought is that if we can persist the selected revisions between sessions, then check them against the exp show data on startup. If there isn't a match then we can dump the preference and have nothing selected as a baseline. Will be easier to work out the behaviour once we have a tree in place.

@qlty-cloud-legacy
Copy link

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

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

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

View more on Code Climate.

@mattseddon mattseddon marked this pull request as ready for review February 3, 2022 23:08
@mattseddon mattseddon requested review from rogermparent and sroy3 and removed request for rogermparent February 3, 2022 23:08
@mattseddon mattseddon merged commit 8a3936a into master Feb 4, 2022
@mattseddon mattseddon deleted the request-all-missing branch February 4, 2022 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants