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

Fix experiment table live updates in non-checkpoint experiments #2203

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Aug 17, 2022

2/2 main <- #2202 <- this

This PR fixes live updates in the experiments table for projects which use dvclive for logging.

Demo

Screen.Recording.2022-08-17.at.4.25.19.pm.mov

The bug was caused by files being moved from the watcher when they were deleted. When an experiment is started the dvclive.json (or equivalent) file is deleted. This meant that until the experiment was finished the watcher would not be fired at all.

@mattseddon mattseddon added the bug Something isn't working label Aug 17, 2022
@mattseddon mattseddon self-assigned this Aug 17, 2022
@mattseddon mattseddon changed the base branch from main to handle-uncommitted-deps August 17, 2022 06:24
@mattseddon mattseddon force-pushed the fix-live-metric-update branch from 7c295e6 to b775b23 Compare August 17, 2022 06:29
@mattseddon mattseddon marked this pull request as ready for review August 17, 2022 06:43
@mattseddon mattseddon force-pushed the fix-live-metric-update branch from b775b23 to e80267d Compare August 17, 2022 22:17
Base automatically changed from handle-uncommitted-deps to main August 17, 2022 22:34
@mattseddon mattseddon force-pushed the fix-live-metric-update branch from e80267d to 4edbebf Compare August 17, 2022 22:35
@mattseddon mattseddon enabled auto-merge (squash) August 17, 2022 22:36
@codeclimate
Copy link

codeclimate bot commented Aug 17, 2022

Code Climate has analyzed commit 4edbebf 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%.

View more on Code Climate.

@mattseddon mattseddon merged commit ffe81ce into main Aug 17, 2022
@mattseddon mattseddon deleted the fix-live-metric-update branch August 17, 2022 22:39
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.

3 participants