mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 07:18:27 +01:00
Solve the unexpected error at the end of the queued tasks running
fix: #8615 1. This is because, at the end of the tasks, the temp running directly will be deleted 1. Only fetch result during running (not during the result collection) 2. Bump into scmrepo 0.1.4 in which we wrapped `KeyError` into `SCMError`.
This commit is contained in:
@@ -59,7 +59,7 @@ def fetch_running_exp_from_temp_dir(
|
||||
info = ExecutorInfo.from_dict(load_json(infofile))
|
||||
except OSError:
|
||||
return result
|
||||
if info.status < TaskStatus.FAILED:
|
||||
if info.status <= TaskStatus.RUNNING:
|
||||
result[rev] = info.asdict()
|
||||
if info.git_url and fetch_refs and info.status > TaskStatus.PREPARING:
|
||||
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ dependencies = [
|
||||
"rich>=10.13.0",
|
||||
"pyparsing>=2.4.7",
|
||||
"typing-extensions>=3.7.4",
|
||||
"scmrepo==0.1.3",
|
||||
"scmrepo==0.1.4",
|
||||
"dvc-render==0.0.14",
|
||||
"dvc-task==0.1.6",
|
||||
"dvclive>=1.0",
|
||||
|
||||
Reference in New Issue
Block a user