V10.524 補 PChome 過期價格刷新入口
Some checks failed
CD Pipeline / deploy (push) Failing after 1m28s

This commit is contained in:
OoO
2026-06-01 00:29:20 +08:00
parent 915b8d061d
commit 87d47f171c
11 changed files with 259 additions and 46 deletions

View File

@@ -26,6 +26,7 @@ ACTIVE_TTL_SECONDS = int(os.getenv("PCHOME_BACKFILL_ACTIVE_TTL_SECONDS", "7200")
STAGE_ORDER = (
"queued",
"refreshing_stale",
"revalidating",
"matching",
"generating_picks",
@@ -36,12 +37,13 @@ STAGE_ORDER = (
STAGE_LABELS = {
"idle": "尚未執行",
"queued": "已排入背景補抓",
"refreshing_stale": "刷新過期 PChome 價格",
"revalidating": "重新評分近門檻候選",
"matching": "比對高優先未配對商品",
"generating_picks": "重算 AI 挑品清單",
"clearing_cache": "清除看板與競價快取",
"completed": "補抓完成",
"failed": "補抓失敗",
"completed": "產線完成",
"failed": "產線失敗",
"stale": "執行狀態逾時",
}