This commit is contained in:
2026-01-19 06:24:09 -08:00
parent a961ac3ce7
commit 7ddf0065d1
45 changed files with 627 additions and 411 deletions

View File

@@ -5,7 +5,7 @@ import io
import sys
import uuid
from pathlib import Path
from typing import Any, Dict, Optional, Set, TextIO
from typing import Any, Dict, Optional, Set, TextIO, Sequence
from SYS.config import get_local_storage_path
from SYS.worker_manager import WorkerManager
@@ -189,9 +189,7 @@ class WorkerManagerRegistry:
manager.expire_running_workers(
older_than_seconds=120,
worker_id_prefix="cli_%",
reason=(
"CLI session ended unexpectedly; marking worker as failed",
),
reason="CLI session ended unexpectedly; marking worker as failed",
)
except Exception:
pass