Repository navigation
Conversation
…ecked-subviews-20261029
11 tasks done
This was referenced Oct 30, 2026
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.
关联 Issue
见 #521。基于 Core 中文注释 PR #522;不自动关闭全仓发版体检议题。
改了什么
开放子图在挂载后新增必需入口时,原挂载会因漏绑而被流事件模型跳过;Topology 仍展示这个子图,却可能将其他图层的检查结果误当成本层已检查,导致子视图漏报真实依赖环或流问题。
新增
新增漏绑后子视图回归:普通环、原生/受管流缺读者、生命周期环、合法反馈、切面继承与截断、skip 传播、父侧读者、同容量独立池、多挂载和返回副本隔离。无新增导出 API、依赖或公开包。
影响范围
仅修复 Topology 在无效挂载下仍可见的子视图诊断。Validate/Start 继续使用正常模型并拒绝漏绑;失败不封口、不安装部分模型。Topology 保持逐层非原子采样,不持有 assemblyMu。
原绑定的有效性来自现有公开装配约束:Sub 初装校验并复制绑定,后续只能追加声明和节点,不能删除端口、改型或给入口添加内部 provider。未改变错误字符串、父层首错、Problems 类别顺序及返回副本隔离。
测试
Go 1.26.10、Windows amd64,设置
GOWORK=off GOTOOLCHAIN=local。go build -mod=readonly ./...通过。go vet -mod=readonly ./...通过。go test -mod=readonly -race -count=1 -timeout=240s ./...四包通过;root 78.627s、observe 4.037s、tests 3.315s、yaml 2.217s。该耗时为本地正确性检查,非性能结果。go test -mod=readonly -count=1 -run '^TestTopologyBindFailure' .再次通过,2.423s。审查关注点
补充模型只服务 Topology,不能影响 Validate/Start 的接受范围;真实父侧上下文必须保留;nil 检查标记不变成错误;父层绑定错误、逐挂载 skip 和 Problems 顺序保持兼容。
自审