Skip to content

perf: streamline template planning and MCP directories, combine PR tests - #2658

Merged
JAVA-LW merged 6 commits into
betafrom
codex/template-directory-slimming-20261025
Oct 24, 2026
Merged

JAVA-LW merged 6 commits into
betafrom
codex/template-directory-slimming-20261025

Conversation

@JAVA-LW

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

Copy link
Copy Markdown
Contributor

模板安装规划反复扫描资源包、身份匹配重复线性查找,MCP 目录重复遍历祖先并预排序。改为调用内反向依赖工作队列、惰性首序索引及目录闭包复用,保留跳过原因、动态身份映射、原顺序和所有绑定。PR consumer contracts 与 smoke 合并到一次 Vitest,原13文件/163测试全部保留。

Root #2654;Delivery #2655 #2656 #2657。未新增依赖,未改变 DTO、权限、事务或数据库。

Validation: independent QA_PASS at 6c25476. Node tooling 42/42; MCP 8/8; actual-source differential 9,000 inputs; controlled defects 8/8 rejected (3 existing classes retained plus one added sorting class); PR verify passed; template planner/install/i18n/backup/HTTP 142/142 and API consumer compile passed.

Controlled replay (5 alternating samples, 4 CPU / 8 GiB, workers=2): affected PR test stage P50 31.44→25.60s, P95 32.57→27.84s, identical 163 test identities. Separate resource sample n=1: CPU 63.30→54.11s; RSS 1.763→1.850GiB (+4.9%); OOM0→0. MCP 2,000 bindings/64 shared levels: P50 200.311→0.687ms; ancestor expansion128,000→64.

Production source +62 lines; regression tests +316; governance including its direct tests -4; architecture docs +10. This change reduces repeated work; total LOC is +384.

Evidence: https://github.com/taichuy/1flowbase/actions/runs/40111681201 and https://github.com/taichuy/1flowbase/actions/runs/40111672052. The PR merge tree equals the frozen candidate tree. Latest release comparison uses v0.5.8 (b5d26a2); historical verify runtime is recorded separately from the controlled replay.

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

chatgpt-codex-connector Bot commented Oct 24, 2026 •

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 ✅ Completed 2026-10-24T17:07:59.495305Z 6c25476 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 6c25476 into beta Oct 24, 2026
19 checks passed
@JAVA-LW
JAVA-LW deleted the codex/template-directory-slimming-20261025 branch October 24, 2026 17:11
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