Skip to content

放宽测试中 Swift 编译的时限 - #20

Merged
sudoHG merged 1 commit into
mainfrom
ci/swiftc-timeout
Oct 5, 2026
Merged

sudoHG merged 1 commit into
mainfrom
ci/swiftc-timeout

Conversation

@sudoHG

@sudoHG sudoHG commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Change / 改动

三个原生测试(tests/localizations.test.js、tests/mac-settings-window.test.js、tests/mac-localization-ui.js)里,swiftc 编译 App.swift 的超时从 60 秒放宽到 180 秒。

多个 PR 同时运行 CI 时,macos-15-intel 机器编译会超过 60 秒而被终止(日志中该测试耗时 60,232 ms),导致与改动无关的失败;单独重跑即可通过。只放宽编译步骤的时限,测试断言和其他超时不变。

Tests / 测试

三个文件 node --check 通过;diff 只有三处 60000 → 180000。实际结果以本 PR 的 CI 为准(这些测试会打开窗口,未在本机运行)。

三个原生测试里 swiftc 编译的超时从 60 秒放宽到 180 秒。多个 PR 同时运行时,Intel CI 机器编译 App.swift 会超过 60 秒而被终止;测试断言不变。
@sudoHG
sudoHG merged commit 59b1690 into main Oct 5, 2026
5 checks passed
@sudoHG
sudoHG deleted the ci/swiftc-timeout branch October 5, 2026 01:26
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