Repository navigation
test(worker): 按 ready 事件隔离 Antigravity 首屏等待 - #3547
Merged
Merged
Conversation
被动 fake CLI 的首帧改由 worker ready IPC 触发,native-error、quota、running 分别等待 ready 与目标状态,避免慢初始化耗尽固定 idle 墙钟。interrupted 同时等待实际 idle 帧后再提交 follow-up。 Co-Authored-By: Kimi Code <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
November 17, 2026 13:49
|
@deepcoldy 合入 master 后的 Midscene E2E 失败:Feishu live Midscene 失败。 这次运行覆盖 cb8ff44。
|
|
🚀 Released in v3.59.20 |
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.
worker-agy-delivery.integration.test.ts的被动屏幕夹具在 worker 尚未完成初始化时,就启动固定 20s 的 idle 等待。CI 首个用例同时承担 worker 与 fake CLI 冷启动,慢路径可能在readyIPC 和First prompt timeout出现前耗尽预算,形成与 #3536、master 上相同的Worker condition timed out。根因证据
CLI PID marker written,没有 workerready或首个 15s 超时日志,说明等待结束时初始化仍未完成,并非 native-error 分类器误判。修复
readyIPC 后打开文件门,首帧只在初始化完成后发布。ready(30s)和目标状态(20s),外层测试预算调整为 60s,避免把两个阶段混在一个 20s 墙钟里。screen_update,保证 follow-up 只在 interrupted composer 已被 worker 消费后提交,避免 ready 文件门改变原有测试语义。验证
bun test test/worker-agy-delivery.integration.test.ts:9/9 通过。bunx vitest run --project unit test/worker-agy-delivery.integration.test.ts:9/9 通过。bun run build通过;test/test-hygiene.test.ts28/28 通过。影响仅限该集成测试文件,不涉及 fleet 文件或其它 CLI 的生产逻辑。
🤖 Generated with Kimi Code