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

Prevent infinite loop when trying to open plots #1727

Merged
merged 2 commits into from
May 17, 2022
Merged

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented May 17, 2022

Relates to #1670 & #1649

Previously when an experiment was missing from the returned plots diff output we would continue to try and fetch it until such time that either 1. it was magically found or 2. the user's machine blew up.

We now mark the experiment as "fetched" but will try to get that revision again every time that either the file watcher is triggered or new revisions need to be fetched until such time that the user unselects the experiment.

This will tie in with the design from #1649. We will be able to show that the revision does not contain all data in the top section of the webview. The user can then decide to manually retry or drop the revision from the view.

@mattseddon mattseddon added the bug Something isn't working label May 17, 2022
@mattseddon mattseddon self-assigned this May 17, 2022
@mattseddon mattseddon marked this pull request as ready for review May 17, 2022 03:41
@mattseddon mattseddon requested review from shcheklein and a team May 17, 2022 06:23
@mattseddon mattseddon enabled auto-merge (squash) May 17, 2022 20:47
@codeclimate
Copy link

codeclimate bot commented May 17, 2022

Code Climate has analyzed commit e433bed 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.7% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit 31b7a01 into main May 17, 2022
@mattseddon mattseddon deleted the fetch-revs-once branch May 17, 2022 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants