feat: refresh model and voice test catalog with favicon

This commit is contained in:
AdamWen95
2026-10-20 11:06:52 +08:00
parent ae7c5bc967
commit 36c228544e
23 changed files with 1026 additions and 42 deletions
+7
View File
@@ -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):