dvc exp remove --queue -A
: possibly incomplete result returned
#10638
Labels
A: experiments
Related to dvc exp
bug
Did we break something?
good first issue
help wanted
p2-medium
Medium priority, should be done, but less important
Bug Report
Description
As discussed in #10633 (comment),
when using
dvc exp remove
with both--queue
and-A
, an incomplete list of removed experiments might be returned: the queued ones would be missing from the returned list, even if they are effectively removed as expected.This is just a minor inconvenience at the moment, but for the sake of correctness and code cleanliness, I'll put it here.
Reproduce
dvc exp run --queue
)dvc exp remove --queue -A
Expected
The list of all experiments, both queued and committed
Additional Information (if any):
dvc/dvc/repo/experiments/remove.py
Lines 69 to 71 in d38b2db
line 71 should use
removed.extend
just as it is done in the other if / elif code blocksI can start working on it soon.
The text was updated successfully, but these errors were encountered: