fix(automation): 租约巡检降为4小时并收紧首次登录样本

- lease_bound 30 分钟会超出 ck_health 吞吐,改为 240 分钟
- 首次登录样本排除缺账号/密码和已判极验/凭证失败的账号
- 补充保护组和首登样本准入测试
This commit is contained in:
yml
2026-11-24 18:36:34 +08:00
parent 03c7c74eab
commit 1081e93522
5 changed files with 36 additions and 4 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ def test_lease_bound_includes_all_active_lease_purposes(db):
assert snapshot.group_account_ids["lease_bound"] == frozenset(
{leased.id, collab_leased.id}
)
assert snapshot.groups["lease_bound"]["probe_interval_minutes"] == 30
assert snapshot.groups["lease_bound"]["probe_interval_minutes"] == 240
assert leased.id in snapshot.relogin_ids