Repository navigation
perf: streamline template planning and MCP directories, combine PR tests - #2658
Merged
Merged
Conversation
JAVA-LW
marked this pull request as ready for review
October 24, 2026 17:07
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 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.
模板安装规划反复扫描资源包、身份匹配重复线性查找,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.