refactor: unify data preparations and research input snapshots
Deploy production / deploy (push) Successful in 53s

This commit is contained in:
yuxuanhui
2026-09-12 01:24:02 +08:00
parent 849f86fef7
commit 394438e753
82 changed files with 4146 additions and 2076 deletions
+5 -1
View File
@@ -255,6 +255,10 @@ class Runner:
await self.ensure_connected(force=kind == "connect")
if kind in ("connect", "profile"):
await self.refresh_profile()
elif kind == "catalog_full_sync":
from .catalog.sync import sync_full_catalog
await sync_full_catalog(self, job_id, payload)
elif kind in ("catalog_sync", "field_sync"):
from .catalog.sync import sync_catalog
@@ -298,7 +302,7 @@ class Runner:
await self.checkpoint(
job_id,
{
"status": "waiting_connection" if waiting else "failed",
"status": "waiting_connection" if waiting or (kind == "catalog_full_sync" and exc.code == "network_error") else "failed",
"error": str(exc),
"next_retry_at": None,
},