Repository navigation
fix(checks): 使用锁定版本运行 SwiftPM 门禁 - #4
Merged
Merged
Conversation
- 防止格式化包清单触发无关依赖升级
xiaoland
marked this pull request as ready for review
October 25, 2026 06:43
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.
SwiftPM 默认比较 Package.swift 原文的 originHash,纯格式变化也会触发重新解析,使检查期间出现无关依赖升级。现有共享检查入口改为 swift test --disable-automatic-resolution,使用完整且满足约束的原 pins;锁定版本缺失或不满足实际依赖图时仍失败。
直接父 PR 为 #1,base 为 feat/mac-capture-peer-review;承接 #3 治理。固定 Xcode 的 GitHub macOS CI 通过。子候选 #2 在干净构建目录中通过 61 项测试,整个 Package.resolved 保持原样,并已继承此更新。
仅一行检查入口变化,不调整依赖、业务、签名或数据库。可单独撤销该 squash 提交回退;不会将 Capture 功能候选合入 main。