Skip to content

perf(ci): reuse verified artifacts and parallelize acceptance - #472

Draft
harryisfish wants to merge 46 commits into
mainfrom
perf/ci-artifact-feedback
Draft

harryisfish wants to merge 46 commits into
mainfrom
perf/ci-artifact-feedback

Conversation

@harryisfish

@harryisfish harryisfish commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

原生编译与 Web 构建并行,各平台独立组包,复用同 run 的不可变 artifact ID。输入绑定源码、producer attempt、target、完整文件摘要和权限,来源不符直接失败。iOS 构建和验收分开,并完善缓存与反馈任务的并发隔离。

沿用主分支新的本机 CLI 架构和桌面更新。完整进程树尚未确认退出时继续保留执行屏障;已持久化的原生终态不因后续清理或回调失败降为 Unknown。Web 输入覆盖桌面共享运行模块,补全 Windows 专用测试类型,并在原轮询预算内等待桌面按钮可操作后单次点击。

保留有界的 XCTest 准备错误摘要,包含本请求首次健康检查错误和启动阶段耗时。只公开固定类别和有限数字,不公开日志、路径或设备 ID。临时 SDK-only workflow、加密采证和尾日志读取均已移除。

Verification

以下历史完整通过记录属于 62a09b6,不代表当前提交已完成整体验收。

  • 本地 10 项配置检查及独立完整源码审查通过,无 P0/P1。
  • 完整 CI 通过,包含 Windows 原生测试和 Mac/Windows 桌面验收。
  • 本地 simslim 原完整流程单次通过,25 项断言全部满足。原始 canonical report 未完整留存,安全摘要和实际清理证据已保存。
  • Mobile 的 Android/iOS 构建通过,但两次消费者验收分别因 Secret snapshot 和 XCTest 准备失败而未通过;未知输入未重放。

本轮三个受控 SDK-only 采证均未运行应用构建或业务 UI,各 source 各 dispatch 一次,原 prepare 命令单次执行,任务清理通过。最后一次记录 SDK startup 为 222734ms,其中 ensure_xctestrun 为 215339ms,首次连接仅剩 16701ms;具体锁等待或缓存校验成本尚未分离,不能将 buildMs=0 当作没有准备工作或下载耗时。Xcode 26.6、SDK/runtime 26.5,没有已证实的版本不匹配修复。

最终删除临时入口后的 CI policy、错误投影自检和 actionlint 通过。当前仍保留原 240 秒 SDK prepare 预算;只提高该准备预算至 420 秒的单行候选已审查,尚待明确同意改变保留全部预算的约束,未应用或执行。业务 UI、Secret、25 项断言、单 worker 和零 retry 保持。

PR 保持 Draft,产品门仍阻塞。当前提交尚无完整的新一轮 CI/Mobile 通过记录。catalog 出站隔离和既有 Codex/Opencode Windows orphan 匹配仍有覆盖缺口。尚未合并、发版、打 tag 或部署。

@harryisfish harryisfish changed the title perf(ci): reuse verified builds and shorten acceptance paths perf(ci): reuse verified artifacts and parallelize acceptance Nov 6, 2026
Project the known driver error fields before the e2e report drops its cause.
Keep the original install error and the existing acceptance gate.
Keep the parallel product release DAG and both acceptance self-tests.
Reuse its existing caches and retain the filtered Product installation.
Record portable archive modes independently of the producer umask.
Keep source files unchanged and retain strict restored-mode validation.
Add a temporary manual mode that records bounded runner startup facts without rebuilding the product or accessing invitations. Keep the normal mobile jobs and acceptance gate unchanged.
Verify native deferred input cancellation through the queue sheet and
owner receipt before stopping active work. Preserve bounded startup
errors when the runner cannot produce a report.
Expect a releasable deferred input before cancellation and an explicit
unsafe-to-retry receipt after cancellation, matching the Core contract.
Use immutable control test executables to avoid Linux ETXTBSY races.
Capture structured iOS runner output for diagnosis while requiring the
canonical report for acceptance.
Keep the input target unavailable until iOS confirms the sheet has closed.
Wait for that state before the existing running-stop assertion. Preserve
bounded failure diagnostics and the full native acceptance flow.
Record fixed startup facts before preserving the original process-exit
failure. Upload only the controlled C Node JSON, with no raw log text.
Keep the exact deferred input ID consistent with the Node fixture and
bind the fallback log before cleanup reads it. Preserve failure when the
canonical report is missing and align the screenshot documentation.

Use an equivalent inclusive range check for current Rust lint rules.
Integrate current main while preserving both native acceptance and Device Hub documentation. Add a temporary disabled SDK-only control to capture bounded encrypted Xcode context without rebuilding product artifacts or weakening the product gate.
Restore the original product workflow after one default-parameter SDK prepare passed. Preserve the earlier Xcode failure as unresolved evidence and integrate main's onboarding selectors for the current one-tap question cards.
retain verified Windows process handles until exit is confirmed within the
existing grace period. keep journals and live owners when shutdown fails,
and propagate the result through provider lifecycle callers.

reuse the existing root reaper for opencode and preserve the original
native assertions. integrate main's publish-product job gate correction.
keep the existing process journal when a process or shutdown future is
dropped. clear it only after the shared tree reaper confirms exit,
including children that outlive the root.

preserve the existing shutdown budgets, unknown prompt outcomes, and
single-send assertions. remove the stale opencode restart comment.
advance the cloned watcher epoch before restarting the relay so stale
connected updates cannot satisfy the reconnection check. preserve the
existing assertions and deadlines without changing grant handling.
preserve main's local CLI and desktop node changes while carrying the
confirmed process-tree shutdown and journal ownership rules. retain known
native terminal results across cleanup and callback failures.

include desktop shared runtime sources in the web build receipt and prove
stale output rejection with the existing self-test. keep native acceptance
assertions and budgets, adapting only the renamed copy-button locator.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

这次不合并。分支和当前 main 冲突,冲突落在 CI workflow、Core runtime、bridge 测试和打包脚本上。描述里的完整 CI 属于旧提交 62a09b6,不能当作当前 head 的验收。

这是一次 CI 结构改动,冲突未解决、验收记录不属于当前提交时不能标成可合并。保持 Draft,下一轮再看是否已经按当前 main 重做并有当前 head 的检查。

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

本轮仍不合并。

对照 main @ 4ca16a8d:仍是 Draft 且 CONFLICTING,与近期 main(含已合并的 #541 mobile/desktop 分 job、delivery_live、多脚本 AST 自检)大面积冲突。artifact 并行与不可变复用的思路还有价值,但 #541 只覆盖了其中一小段范围化检查。

描述里的完整 CI 通过记录指向旧提交 62a09b63,不能代表当前 head。请保持 Draft,在最新 ci.yml / ci.py 上重做并有当前 head 的检查后再谈 Ready。清理轮次不 rebase、不合并。

View PR

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

本轮仍不合并。

对照 main @ 9300b1f:仍是 Draft 且 CONFLICTING。#541、#543、#548 已经把 CI 拆成按用途的 workflow 和分 job 检查;直接合本分支会回退这些结构。描述里的完整 CI 通过记录指向旧提交 62a09b63,不能代表当前 head。

artifact 并行复用的思路还在,但必须在当前 ci.yml / ci.py 上重做并有当前 head 的检查。清理轮次不 rebase、不合并、不另开 CI 结构 PR。

View PR

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

本轮仍不合并。

对照 main @ 8a06a332:仍是 Draft 且 CONFLICTING。#541、#543、#548 已把 CI 拆成按用途的 workflow;直接合本分支会回退这些结构。描述里的完整 CI 通过记录指向旧提交 62a09b63,不能代表当前 head 213594ad。

保持 Draft。需要按当前 main 重做,并有当前 head 的检查后再看。不要 rebase 这条已过时的 CI 结构分支。

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

本轮不合并。

仍是 Draft。描述里的完整 CI 属于旧 head 62a09b63,不代表当前提交。main 已经合入范围化 Core CI,并在 #569 把入口收到 Core / 发布 / 部署。artifact 并行和平台验收重构已过时,不要 rebase 这一大块。

清理轮次不把他人 Draft 改成 Ready,也不另开 CI 结构 PR。

View PR

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

本轮不合并。

仍是 Draft,且对照 main @ 07191092 为 CONFLICTING。描述里的完整 CI 属于旧 head 62a09b63,不代表当前提交。main 已经是六车独立发布(#574 / #585)加 Hourly,直接合本分支会回退 CI / 发布结构。

请作者从当前 main 重做并提供当前 head 的验收;不要把他人 Draft 改成 Ready,也不要代 rebase。等下一轮。

View PR

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本轮不合并。

仍是 Draft,对照 main @ 4ee0dcf2 为 CONFLICTING。描述里的完整 CI 属于旧 head 62a09b63,不代表当前提交。main 已经是六车独立发布和范围化 Core CI;artifact 并行会回退这些结构。请作者自行收窄或关闭。维护侧不会把 Draft 改为 Ready,也不会代 rebase 或另开 CI 结构 PR。

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

This branch has not been deployed

No deployments
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