Skip to content

fix(checks): 使用锁定版本运行 SwiftPM 门禁 - #4

Merged
xiaoland merged 1 commit into
feat/mac-capture-peer-reviewfrom
hotfix/swift-locked-check
Oct 25, 2026
Merged

xiaoland merged 1 commit into
feat/mac-capture-peer-reviewfrom
hotfix/swift-locked-check

Conversation

@xiaoland

@xiaoland xiaoland commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

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。

- 防止格式化包清单触发无关依赖升级
@xiaoland
xiaoland marked this pull request as ready for review October 25, 2026 06:43
@xiaoland
xiaoland merged commit 7e2724f into feat/mac-capture-peer-review Oct 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant