Repository navigation
fix(dom): keep form named lookup live without repeated full scans - #732
Closed
lanyue-llk wants to merge 1 commit into
Closed
lanyue-llk wants to merge 1 commit into
lanyue-llk wants to merge 1 commit into
Conversation
This was referenced Sep 22, 2026
Contributor
Author
|
由 #739 替代:基于 main@2793b2407,PR 作者和所有新增提交的 GitHub author/committer 已核验关联 lanyue-llk。原分支、提交和本 PR 的讨论保留;这里只关闭被替代的 PR,不删除分支。新的 CI 与逐 case 验收记录归属替代 PR,旧版本测试结果不冒认为新版本结果。 |
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.
查询不存在的表单命名属性时反复扫描控件,会产生不必要成本;优化不能破坏节点改名、表单归属变化或跨文档收养后的即时查询语义。
修复机制
使用文档的实时名称索引筛选候选,避免读取真实属性时枚举虚拟名称;命中后仍验证归属,不缓存可能过期的最终答案。保持 detached/adopted 文档与控件身份语义。
以上图片为原报告中的机制示意,非本 PR 的实测截图,也不代表本 PR 已通过验收。来源:五方法报告解读。图片链接固定到证据提交,避免报告更新改变 PR 内容。
对应验收
历史 1.1.9 失败 case:不归因于历史 34 个失败 case;通过下述独立功能契约验收。
原大 PR 的历史 90/90 不作为本 PR 的测试结果;本 PR 的独立验收契约是下述专项场景。
功能回归覆盖:missing/present 属性、getter 不被意外执行、in/descriptor/枚举、重复名称、自定义元素升级、detached/adopted 文档;使用计数器正反对照证明避免扫描。
2 个 detached/adopted 表单命名语义测试已在 main 上真实失败;新 HEAD 由 CI 验证。
47a9d9cff13e9f42;其 main 基线为72413280后续真实任务仅针对历史失败集合,保留固定动作与评分规则。功能验收范围为原 1.1.9 的 34 题加 1.1.8 已失败的
386,共 35 题;历史67的传输超时另存证据,不归因本 PR 修复。原 11 类分组与原测试改名/替代对应可供审查。范围与依赖
从 #640 拆出,原 PR 和原分支保留。本 PR 以工程前置 #725 的分支为目标,因此 diff 只显示本功能分区,其他五个功能分区不是当前代码依赖。已随前置 rebase 到 main@72413280。每个分区独立触发 CI;前置合入后可再将本 PR rebase/retarget 到 main。验收发现功能依赖时,先调整边界或明确依赖,再确认 case 归属。
完整对应关系:拆分 PR 索引、逐 case 历史失败及归属。