easyai-ai-gateway/apps/api/internal/store
chengcheng a312ad880d fix(identity): 完善统一认证配对恢复与安全退役
修复 credentials_saved 状态无法恢复、配对与激活并发冲突,以及 SSF 和身份 Secret 生命周期不完整的问题。新增持久化协调器、取消与清理状态机、事务级并发门禁、受控 SSF 凭据交接、禁用后的延迟 Secret 清理,并对生产环境统一认证及 Discovery 端点强制 HTTPS。

验证:go test ./...;go test -race ./internal/auth ./internal/identity ./internal/identityruntime ./internal/securityevents ./internal/httpapi ./internal/store -count=1;go vet ./...;真实 PostgreSQL 并发及清理成功/冲突回滚测试;pnpm openapi。
2026-07-17 18:31:12 +08:00
..
access_rules.go feat: refine api key permissions and admin routes 2026-05-10 23:22:26 +08:00
api_key_scopes_test.go 完善 API Key 能力范围可视化和维护 2026-06-07 19:01:32 +08:00
audit_logs.go feat: add wallet settlement audit flow 2026-05-11 22:59:26 +08:00
base_models.go 迁移音频生成与语音合成到 gateway 并补充 simulation 测试 2026-06-07 10:26:57 +08:00
cache_affinity.go feat: use message LCP cache affinity keys 2026-06-29 15:47:57 +08:00
candidates_test.go feat: add runner failover rules and cache affinity 2026-06-28 20:50:23 +08:00
candidates.go feat: add Responses API compatibility 2026-07-10 23:33:15 +08:00
catalog_providers.go chore: commit pending gateway changes 2026-05-10 22:34:15 +08:00
cloned_voices.go feat: support cloned voice deletion 2026-06-17 12:03:13 +08:00
conversations.go Add runtime restore and temp asset cleanup 2026-06-05 20:28:26 +08:00
file_storage_channels.go feat(system): 完成客户端自定义与系统设置 2026-06-30 14:53:29 +08:00
identity_admin.go fix: 修复 OIDC 用户预配与跨标签页登录态 2026-07-13 17:07:52 +08:00
identity_configuration_secret_cleanup_integration_test.go fix(identity): 完善统一认证配对恢复与安全退役 2026-07-17 18:31:12 +08:00
identity_configurations.go fix(identity): 完善统一认证配对恢复与安全退役 2026-07-17 18:31:12 +08:00
identity_pairing_integration_test.go fix(identity): 完善统一认证配对恢复与安全退役 2026-07-17 18:31:12 +08:00
identity_pairing.go fix(identity): 完善统一认证配对恢复与安全退役 2026-07-17 18:31:12 +08:00
identity_secret_cleanup_migration_integration_test.go fix(identity): 完善统一认证配对恢复与安全退役 2026-07-17 18:31:12 +08:00
model_billing_filter_test.go feat: support cached input token billing 2026-06-23 17:17:57 +08:00
model_billing_filter.go feat: support cached input token billing 2026-06-23 17:17:57 +08:00
oidc_sessions.go feat: 实现 OIDC 服务端会话与请求刷新 2026-07-13 19:09:10 +08:00
oidc_users_integration_test.go fix: 修复 OIDC 用户预配与跨标签页登录态 2026-07-13 17:07:52 +08:00
oidc_users.go fix: 修复 OIDC 用户预配与跨标签页登录态 2026-07-13 17:07:52 +08:00
platform_models_test.go fix(api): 补全模型能力继承与响应推导 2026-05-25 20:36:32 +08:00
platform_models.go fix(api): 补全模型能力继承与响应推导 2026-05-25 20:36:32 +08:00
postgres.go Merge remote-tracking branch 'origin/main' 2026-06-28 20:50:27 +08:00
pricing_rules.go feat: support cached input token billing 2026-06-23 17:17:57 +08:00
rate_limit_status_test.go fix(rate-limits): treat empty policies as unlimited 2026-05-24 22:28:25 +08:00
rate_limit_status.go Add runtime restore and temp asset cleanup 2026-06-05 20:28:26 +08:00
rate_limits.go feat: add gateway billing estimate and rate limit details 2026-05-15 01:53:52 +08:00
request_assets.go Add runtime restore and temp asset cleanup 2026-06-05 20:28:26 +08:00
response_chains_test.go feat: add Responses API compatibility 2026-07-10 23:33:15 +08:00
response_chains.go feat: add Responses API compatibility 2026-07-10 23:33:15 +08:00
runner_policies.go feat: add runner failover rules and cache affinity 2026-06-28 20:50:23 +08:00
runtime_policies.go feat: add runner failover rules and cache affinity 2026-06-28 20:50:23 +08:00
runtime_types.go feat: add Responses API compatibility 2026-07-10 23:33:15 +08:00
security_event_connections.go fix(identity): 完善统一认证配对恢复与安全退役 2026-07-17 18:31:12 +08:00
security_event_secret_cleanup_integration_test.go fix(identity): 完善统一认证配对恢复与安全退役 2026-07-17 18:31:12 +08:00
security_events_integration_test.go fix(ssf): 支持断开后安全重连 2026-07-16 12:30:14 +08:00
security_events_test.go feat: 接入 SSF 实时会话撤销 2026-07-14 17:06:41 +08:00
security_events.go fix(ssf): 支持断开后安全重连 2026-07-16 12:30:14 +08:00
tasks_runtime.go feat(api): 支持取消本地排队任务 2026-06-09 19:09:20 +08:00
tx.go feat: add wallet settlement audit flow 2026-05-11 22:59:26 +08:00
user_group_policy.go feat: add gateway billing estimate and rate limit details 2026-05-15 01:53:52 +08:00
wallet_reservation_test.go feat(api): 添加多媒体内容支持并优化钱包计费系统 2026-05-22 23:46:08 +08:00
wallet.go 修复模型引用与账单展示 2026-06-15 00:17:20 +08:00