feat(automation): 增加租约 CK 到期前刷新

- 保护组新增 lease_bound,覆盖全部生效履约/协作租约
- 新增 lease_ck_refresh 作业,提前 24h 为有效 CK 续期
- 已失效重登仍由 ck_relogin 处理
- 失败按类型设置退避,避免每轮重复撞
- 补充保护组、选行、作业执行测试
This commit is contained in:
yml
2026-11-24 18:04:09 +08:00
parent 2e6303361c
commit 03c7c74eab
8 changed files with 442 additions and 1 deletions
@@ -118,6 +118,12 @@ const JOB_UI: Record<string, JobUiSpec> = {
showRecheck: false,
showConcurrency: false,
},
lease_ck_refresh: {
description: "对仍有效、但预测 24 小时内到期的生效租约账号提前登录续 CK;只处理 platform_fulfillment / douyu_collab 租约。",
core: true,
showRecheck: false,
showConcurrency: true,
},
account_onboarding: {
description: "对没有 CK 的未登录账号执行首次真实登录;成功后写入 CK 并联动商品能力同步。默认关闭,建议先小批量。",
core: true,