feat(acceptance): 增加生产同构媒体压力验收模式
引入动态流量门禁、隔离验收身份与协议级 Gemini/Volces 模拟器,覆盖双站点 API、Worker、PostgreSQL、River、账务、回调和媒体物化链路。 新增 P24/P28/P32 容量阶梯、Worker 强杀恢复、真实小流量 canary、CAS 放量和失败保持 validation 的生产编排;Worker 执行槽、连接池、媒体并发和双站点副本数改为环境配置。 验证:Go 全量测试、真实 PostgreSQL 迁移集成测试、迁移安全检查、OpenAPI 生成、ShellCheck、Kustomize、gofmt 和 git diff --check。
This commit is contained in:
+2
-2
@@ -461,7 +461,7 @@ Gateway Web Console 默认使用 HttpOnly OIDC Cookie 会话解决标签页隔
|
||||
- `idempotency_key`
|
||||
- `remote_task_id`
|
||||
- `remote_task_payload`:仅保存 provider 显式白名单内、跨进程恢复不可重算的 checkpoint;禁止保存提交响应、最终响应和完整请求副本。
|
||||
- `run_mode`:`production`、`simulation`
|
||||
- `run_mode`:`production`、`simulation`、`acceptance`、`acceptance_canary`
|
||||
- `simulation_profile`
|
||||
- `simulation_seed`
|
||||
- `locked_by`
|
||||
@@ -990,7 +990,7 @@ Provider 原始响应只在内存中参与标准结果转换,不进入 `result
|
||||
| `id` | `uuid` | PK | Gateway 任务 ID |
|
||||
| `external_task_id` | `text` | nullable | 与 `server-main` / 前端兼容的外部任务 ID |
|
||||
| `kind` | `text` | not null | `chat.completions`、`images.generations` 等 |
|
||||
| `run_mode` | `text` | not null | `production`、`simulation` |
|
||||
| `run_mode` | `text` | not null | `production`、`simulation`、`acceptance`、`acceptance_canary` |
|
||||
| `user_id` | `text` | not null | 请求 claim 中的用户 ID |
|
||||
| `gateway_user_id` | `uuid` | nullable | Gateway 用户表 ID |
|
||||
| `user_source` | `text` | not null, default `gateway` | `gateway`、`server-main`、`sync` |
|
||||
|
||||
Reference in New Issue
Block a user