Add remove queued experiment command #1454
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2/2
main
<- #1453 <- thisThis PR addresses the first point of #1392 OP: "Removal of an experiment from the queue (dvc exp remove [queued_experiment_hash])."
From speaking to Dave about whether or not this should have been a separate command or included with the existing exp remove command:
"queuing is in the middle of big changes. Right now, it makes some sense to keep them together since the same command removes them in the CLI. But we are moving to separate them more, so ultimately it might be better to not view them as just another experiment."
I did try both ways and having them split out did feel more intuitive.
Demo
Screen.Recording.2022-03-17.at.12.31.03.pm.mov
Note: When removing a queued experiment the only file path that is hit is
/vscode-dvc/.git/logs/refs/exps/stash
I have updated the experiment file system watcher to cater for this.