Repository navigation
Conversation
Keep independent test and device checks, bound slow downloads and build steps, and retain Cargo timings for seven days. Baseline pushes warm host/device Rust caches while pull requests restore them read-only.
appergb
marked this pull request as ready for review
November 8, 2026 23:06
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
16 of 20 tasks
Collaborator
|
iOS 检查并行、Rust 缓存和下载超时的主要改动已随 #1426 合入 |
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.
问题与结果
iOS 检查没有 Rust 缓存,且设备构建串行等待 host 测试。三个近期成功样本中,host 测试耗时 509–580 秒,设备构建耗时 637–1080 秒,整轮执行窗口约 20–27 分钟。
本 PR 是现有桌面/Android 优化草稿 #1412 的独立补充,不重复其 npm 缓存、浏览器矩阵或 Windows 编译优化。
改动
test、device-build两个 job 名称和各自的失败状态,共享 Rust 变更继续验证真实 device target。验证
历史证据和策略见 iOS CI 耗时与缓存。删除依赖可消除上述样本中 8–10 分钟的串行等待,但实际墙钟收益取决于 macOS runner 容量;并行本身不减少 runner 总时长。新缓存需合并后的 beta 运行预热,首轮 PR 不承诺提速。
本轮远端验证(9177abe1)
No cache found.,PR 未写缓存,符合基线写入策略。设备 job 在测试开始 22 秒后启动,没有再等完整的 host 测试。这个重叠时间直接验证了并行生效;本轮不是受控 A/B,不能把与历史样本的全部时间差归因于改动。设备冷编译本身仍花了19分31秒,稳定缓存命中后的收益与缓存体积尚待 beta 预热后测量。
另对两份 PR 合并后的配置做了静态审查:10 个工作流的实际运行 job 均有超时,20 处 artifact 上传全部有显式 7/14 天保留期;复用工作流调用由被调用 job 管理超时。