Skip to content

perf: reuse graph queries and bound verification workers - #2641

Merged
JAVA-LW merged 10 commits into
betafrom
codex/business-slimming-20261024
Oct 24, 2026
Merged

JAVA-LW merged 10 commits into
betafrom
codex/business-slimming-20261024

Conversation

@JAVA-LW

@JAVA-LW JAVA-LW commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

关联 Issue

Related to #2636;Delivery #2637、#2638、#2639、#2640。

变更摘要

Agent Flow 图编译、工具分支检查和答案展示重复扫描同一图;历史调试投影逐节点重扫回调。现在在既有 owner 内复用节点顺序、出边和祖先关系,按源运行一次归组回调,保留原诊断、分支截断及输出顺序。

i18n 检查共享单次文件清单和 bootstrap 读取,合并重复 locale 规则。Node 脚本测试使用本地可配置并发;consumer contracts 复用现有 Vitest 包装器。原测试发现集合与失败传播保持。

范围边界

已做:图查询与投影优化、验证资源入口复用、近邻行为 fixture、架构文档。

未做:API/DTO/权限/迁移/插件/依赖升级;不增加业务容量上限或跨请求缓存。

验收证据

  • 最终候选 f1e33201a;PR verify 40083627901 10 components 全通过,merge SHA 文件树与候选相同。
  • Rust 40083557209:885 passed / 0 failed / 2 ignored;编排运行时 521 passed。收据 47a506f0b 与最终候选仅 Rust 格式差异,edition2021 格式归一化 hash 相同。
  • 脚本 CI 1501/1501;前端契约65/65、PR冒烟98/98;本地定向61/61、修复后Node52/52。i18n已知hard-error类别7/7保留,完整37条findings同序一致。
  • 同输入5组函数基准:4000节点/7999边遍历中位68.118→1.037ms;4000节点/12000回调投影241.523→3.014ms。i18n前端目录访问818→409;整体scan469.878→464.397ms。完整76-test执行样本中位1157.16→1163.90ms、RSS基本不变;不将微基准当整体PR提速。
  • 证据和QA报告:tmp/test-governance/business-slimming-20261024/。全部本地执行位于2 CPU /4 GiB scope,OOM=0。

风险和回滚

图排序、重复边、错误/工具边排除、结果节点截断、答案依赖/分支互斥与跨历史运行回调隔离均有行为证据。无数据变更,可按提交回滚。

Checklist

@JAVA-LW
JAVA-LW marked this pull request as ready for review October 24, 2026 09:58
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-24T09:58:54.840632Z f1e3320 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@JAVA-LW
JAVA-LW merged commit f1e3320 into beta Oct 24, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant