fischer-agentkit/tests/unit/llm
chiguyong 31c65e01b8
Deploy to Production / deploy (push) Has been cancelled Details
fix(security): P0 安全加固 + 多实例部署一致性 (U1-U4 + U5c)
U1: LLM gateway KB 缓存 fail-closed — 异常时默认禁用缓存防止 KB 数据泄漏
U2: MCP 危险工具黑名单过滤 — 6+1 端点覆盖,防止绕过 chat confirmation
U3: SecretsStore Redis 迁移 — 多 worker 共享凭证,内存降级保留开发模式
U4: channels webhook Redis 状态 — ZSET 滑动窗口限流 + nonce dedup + backpressure
U5c: ce-code-review 修复批次:
  - P0: 统一 MCP 黑名单与 publisher.py 一致 (terminal_execute -> terminal, +file_read)
  - P1: ZSET 限流 member 加 uuid 后缀避免同时间戳碰撞
  - P1: SecretsStore redis 参数 Any -> aioredis.Redis | None (AGENTS.md 合规)
  - P1: Redis client 添加 socket_timeout 防止单点故障请求挂死

测试: 171 scoped tests pass, ruff clean
2026-06-26 04:05:33 +08:00
..
test_cache.py fix(review): ce-code-review P1+P2 修复 — 安全/可靠性/性能 2026-06-26 01:40:31 +08:00
test_config_migration.py fix(review): ce-code-review P1+P2 修复 — 安全/可靠性/性能 2026-06-26 01:40:31 +08:00
test_gateway_cache_failclosed.py fix(security): P0 安全加固 + 多实例部署一致性 (U1-U4 + U5c) 2026-06-26 04:05:33 +08:00
test_litellm_provider.py feat(llm): U15 — LiteLLM unified provider + api_key encrypted secrets migration 2026-06-25 21:41:15 +08:00
test_quota_enforcement.py feat(admin): U7 — usage dashboard + quota enforcement 2026-06-21 17:23:20 +08:00
test_usage_store.py fix(review): U1 Redis quota enforcement — key construction + fail-closed + degradation recovery + async 2026-06-22 16:22:33 +08:00