Repository navigation
fix: reject finalization of pending virtual file versions - #102
Merged
Merged
Conversation
This was referenced Nov 13, 2026
servicememeai
marked this pull request as ready for review
November 13, 2026 11:39
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.
修复虚拟库写入尚未合并时源库可能定版过时版本的问题。定版持有源 Branch 锁,读取相关虚拟库不可变提交;版本尚未同步时返回 409 VIRTUAL_REPO_SYNC_PENDING,等待原生合并后可按新版本重试。解除保护及 Checkout 语义不变,无新表。
配套 Server #52 实现原生提交屏障,Docker #55 提供真实验收。六项保护单测及源码快速检查通过。
验证:固定 Server
2df0ba1a9645da519177000fb573d1d504388adb、Hub1a7415b674dea5cb16cba32777ea045762a1ebf4、Docker4cba65f2ea9c325c7a40a9061c13604335bc8563的 AMD64 完整流程 全部通过,含完整 C/Go/Web 构建、发行包/镜像、存储与挂载测试、16 项基础原生场景及 11 组扩展验收。18 个源库/虚拟库 Go/C 并发场景覆盖两种锁顺序,普通库零 Protection SQL。ARM64 同样通过,10,000 文件下保护库更新 P95 47.0 ms、500 文件提交 447.1 ms;AMD64 1,000 文件下分别为 15.3 ms、663.5 ms。均为隔离工程数据。未推送 Registry,未部署 DEV/PROD;Etech/SSO 和实际 Windows Agent2 验收另行完成。