Repository navigation
refactor: preserve business contracts while reducing repeated work and gate memory - #2773
Merged
Merged
Conversation
…sions (cherry picked from commit 83b02d964938974c6a53c308a92ff63ed589c48f)
(cherry picked from commit 5bb5d3bbe8769cd96d4123d2c02b8f63c7b9c561)
(cherry picked from commit e02c6617263c1f9d0f202baad621ef31b6229dd3)
(cherry picked from commit f1fdb1505563ed7cd000ff40d37c6f0b85d25907)
…cation (cherry picked from commit 09ffd015aaaaf9a2dec6d4440a9a5677db9b8001)
(cherry picked from commit 7664ccf1b8daf49187303b3f726903815a4532cb)
… coverage (cherry picked from commit eafdce46c6185cc4bfba48cd71766111c7b8034a)
(cherry picked from commit e4ddcc8f0eaeeda24f6b71236e567971324efa9c)
…quisites (cherry picked from commit 201222e550511a1258a8e595806b1eac37e42eeb)
…label (cherry picked from commit 01894e97dc5e93a8ad0d8ba1a9fb72d1ce7d9af8)
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. |
…cit component registration
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.
认证列表重复查询 provider 可用性,已验证的积分命令重复执行前置校验,静态扫描还会读取已排除的 Rust 正文并同时保留全仓正文。本次复用认证 DTO 和积分校验不变量,提前过滤、逐文件扫描,保留原结果顺序、拒绝条件、权限和审计轨迹。
完整回归修复了只读变量投影触发持续渲染,以及空内部工具路径保留大型工具循环 poll 栈的问题。变量投影按权限和服务端源分组缓存;运行时同步选择空工具的原 Provider round 或非空工具的原循环。非空循环主体保持一致,不增加 task。真实 coverage 二进制、原 2 MiB 线程的 20 个路由回归已全部通过,包含此前 9 个栈溢出和 Compact 的原 SSE 完成断言。共享内核的 await-only 装箱包装改为直接返回原 future。
活跃 semantic callback 保持优先于末尾压缩控制标记:完整 wire input/history proof 保留标记,Provider messages 排除标记;运行时消费者保留顺序和完整工具结果校验。补充合法省略 type 消息、完整历史重放、错误标记、结果集合异常及错误时无部分写入的回归。其它 fixture 按现有 DTO、operation 授权、插件注册类型和 callback 模式校正,严格权限、计数、状态和协议断言保留。
quality-gate标签调用既有完整门禁并绑定候选 SHA,原 owner 集合、覆盖率阈值和 review SHA 约束不变。v0.6.1(842605b5e);本轮增量基准为最新保护分支c31ff2e0f。保留其调试消息与日志入口变更。e8f618fe3,采样在最后的前端 fixture 修改前完成;此前90515b168样本尾延迟增加,因此不将单批结果推广为稳定尾延迟收益。c33cfed7c的完整 Quality Gate、PR Verify/认证、合并后 Beta Verify/认证均已 success;24/24 owner 收据、覆盖率 target SHA 与四基座已独立核对。架构与行为边界:
docs/architecture/testing/lean-source-and-gates.md。真实二进制同边界物理栈:Anthropic 1922192→1433328 B、Chat 1924032→1435168 B,均减少488864 B(约25.4%),原协议入口帧不变。旧故障栈顶与新断点栈顶没有直接比较;共同内外边界及存续帧身份经机器核对。
页面 fixture 的完整原 page-regression 已集中执行:75 文件/629 项通过,完整 act 警告为零,完整 React Doctor 1182 项审查通过。测试先卸载组件及弹层再重置认证,所有行为断言保留;本地 4 CPU / 8 GiB cgroup 峰值 3670048768 B,OOM 0。
原生 Dropdown 冷挂载 fixture 等待真实按钮后再交互,保留原弹层隔离与卸载断言;该文件10项原测试及完整Doctor已通过。
最终量化与成本(含失败,不以重跑继承 job 重复计费):
任务累计有记录 Runner 2634.40 job分钟;加发布树对照合计2967.45分钟。PR反馈、完整门禁耗时和代码总量没有改善,收益集中在扫描内存、正文读取、重复计算及真实调用栈。Beta首轮失败注释为hosted runner失联,日志未上传;仅重跑失败作业后成功,首轮资源时间保留。
最终前端412文件/2563通过+1既有跳过,API四分片2126通过+4既有ignored,CP1651通过。page-regression75文件/629通过,Dropdown10通过。普通构建/插件/search标签warning仍按归因保留。证据聚合artifact ID13268244150,SHA256
6dd8cf0d80c95755eb857b011587c476855c46b959b2b9ade92dc477e70f50a2,当前成功attempt上传;同名旧失败产物不用于验收。