feat: refresh model and voice test catalog with favicon
This commit is contained in:
@@ -141,6 +141,13 @@ class NativeExecutor:
|
||||
if unit:
|
||||
if not self.wait_stopped(run):return
|
||||
subprocess.run(["/usr/bin/systemctl", "reset-failed", unit_name(run["id"])], capture_output=True, timeout=8)
|
||||
if run.get("execution", {}).get("runtime") == "docker":
|
||||
from .native_container import cleanup
|
||||
try:cleanup(run["id"])
|
||||
except (OSError, ValueError, subprocess.TimeoutExpired):
|
||||
self.store.running_message(run["id"], "本次原镜像客户端收尾未确认,保留运行占位;请核对执行器")
|
||||
self.worker.stopping = True
|
||||
return
|
||||
self.store.finish(run["id"], state, message=message, exit_code=code, artifacts=artifacts)
|
||||
|
||||
def wait_stopped(self, run):
|
||||
|
||||
Reference in New Issue
Block a user