-
Notifications
You must be signed in to change notification settings - Fork 14
[Issue Tree Root] AI Gateway 手动并发门禁:Mock 上游与真实 CLI 验证 #1377
Copy link
Copy link
Open
Labels
area:backendBackend API, service, repository, or runtime workBackend API, service, repository, or runtime workarea:runtimeRuntime and execution behaviorRuntime and execution behaviorarea:testAutomated tests, QA evidence, or validation harnessAutomated tests, QA evidence, or validation harnessgrade:g3Cross-domain decision or implementation workCross-domain decision or implementation workmanual-runneeds-qaNeeds QA or acceptance validationNeeds QA or acceptance validationparent-issueParent tracking issueParent tracking issueperformancePerformance-sensitive behavior or verificationPerformance-sensitive behavior or verificationphase:discussionRequirement discussion and decision shapingRequirement discussion and decision shapingplan:treeLong plan with one Root and vertical Delivery issuesLong plan with one Root and vertical Delivery issuesquality-gate
Description
Metadata
Metadata
Assignees
Labels
area:backendBackend API, service, repository, or runtime workBackend API, service, repository, or runtime workarea:runtimeRuntime and execution behaviorRuntime and execution behaviorarea:testAutomated tests, QA evidence, or validation harnessAutomated tests, QA evidence, or validation harnessgrade:g3Cross-domain decision or implementation workCross-domain decision or implementation workmanual-runneeds-qaNeeds QA or acceptance validationNeeds QA or acceptance validationparent-issueParent tracking issueParent tracking issueperformancePerformance-sensitive behavior or verificationPerformance-sensitive behavior or verificationphase:discussionRequirement discussion and decision shapingRequirement discussion and decision shapingplan:treeLong plan with one Root and vertical Delivery issuesLong plan with one Root and vertical Delivery issuesquality-gate
Issue 元数据
最终结果
建立一个仅由
workflow_dispatch触发、不会进入 schedule 或默认 CI 聚合的 AI Gateway 并发门禁。门禁在 GitHub 托管 runner 上启动临时 PostgreSQL、真实 api-server/plugin-runner、精确 SHA 的官方 Provider、确定性 Mock SSE/WebSocket 上游、隔离 Codex/Claude Code 兼容哨兵与合成负载,输出可复核的 characterize/regression 证据。现状、证据与关键决策
provider_instance + provider_code + protocol + model当前由Semaphore(1)单飞;OpenAIstateful_provider_worker还受同插件 worker mutex 约束;Anthropicprocess_per_call可在不同 pool 间并行。.memory或.env。characterize:正确性、终态、排队/并行契约为硬门禁;绝对性能阈值只记录,不在无基线时臆造。regression只有在 characterize 证据被用户接受并形成 checked-in budget 后才启用性能硬阈值。总范围、权限与非目标
范围内
workflow_dispatchworkflow,输入精确主仓 SHA、official-plugins SHA 与 profile;artifact 与 Job Summary。非目标
ci聚合或每次 PR。已授权动作
需要额外确认的动作
Root 验收点账本
tmp/test-governance/ai-gateway-concurrency/并上传 artifact/Job Summary;绝对性能只记录Delivery Map
验证、回滚与资源边界
Control Ledger
controlled negatives:global env/config isolation、workflow trigger/inputs fail closed、nonce cross-stream、cancel/500/interruption。无本地 Cross/musl/package release 验收;source QA PASS 合入/push 后仅 dispatch 一次 characterize。
生命周期