Randark
22df600d09
fix(channel-monitor): 配额快照识别值通道失败并加 60s 负缓存与 singleflight
- fetchUsage 显式识别 UsageInfo.Error/ErrorCode/NeedsReauth/IsBanned/IsForbidden
(antigravity/grok 等平台失败不走 Go error 通道,此前会被误判为 operational)
- 凭据失效语义(401/403)标记 CredentialInvalid → failed 状态;
grok quota_unknown 已知未知态豁免不判失败
- 失败快照进 60s 负缓存,避免故障/凭据失效期间以最小 15s 间隔打上游
- 同账号并发抓取由 singleflight 合并(脱离调用方 ctx,45s 总超时兜底)
2026-08-18 09:14:20 +00:00
..
2026-08-18 04:14:15 +00:00
2026-08-18 03:50:01 +00:00
2026-08-18 09:14:20 +00:00
2026-08-18 04:51:02 +00:00
2026-08-16 06:17:43 +00:00
2026-08-14 23:25:31 +08:00