Repository navigation
Reduce gateway event scans and transient payload copies - #2668
Merged
Merged
Conversation
JAVA-LW
marked this pull request as ready for review
October 25, 2026 03:33
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
工具历史匹配与 committed event 回声存在反复扫描;供应商等待、文件写入和回调恢复又保留多份载荷。本次使用调用内索引与 Rust 所有权减少这些成本,保留完整 JSON 相等、原顺序、ACK/release、上传字节和快照独立性。事件按规范 ID 缩小候选集合,完整正文仍是判重标准;JSON 归一化次数、预算与错误顺序保持原契约。
验证:902项后端测试通过/1项既有忽略、四种传输/六种供应商/330请求契约与压力刻画通过、有效Release资源与编译来源证据、最新PR门禁。7,112,495个有限模型断言通过,受控旧缺陷保留3/3,新增同ID误判和编译收据反例均被拒绝。
Root #2665;Delivery #2666、#2667。架构说明见 docs/architecture/ai-gateway-local-indexes.md 和 ai-gateway-payload-ownership.md。无第三方依赖、插件改动或业务容量上限新增。
集成:已合入并推送 beta
909c053ba;合入后 verify 的10个组件全部通过。最终任务验证成本16次运行/383.20 Runner分钟;PR反馈 n=6,P50 9分58秒/P95 10分32秒。独立 QA 和 GitHub 代码审查已完成。