Repository navigation
ci: temporarily pause previous e2e gates - #5309
Conversation
|
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. |
commit: |
The fork's release workflow is gated to MoonshotAI with publishing disabled, and its CI has no desktop-e2e/e2e-smoke/layered-qa workflows; record MoonshotAI#5277, MoonshotAI#5092, MoonshotAI#5088, MoonshotAI#5084, MoonshotAI#5309 and MoonshotAI#5264 accordingly.
Requirement or Bug
Related to #5304.
新的跨端 E2E 套件已经开始落地,旧 E2E / Layered QA 需要在迁移期间暂时退出自动 CI,避免两套入口重复运行。这个 PR 保留所有旧测试、工作流和本地命令,只暂停指定自动入口;KAP Server 测试与
tests/scenarios的自动覆盖继续保留,新tests/e2e套件也不受影响。Bug Reproduction Steps
N/A
Root Cause
N/A
Code Changes
核心思路是“停用入口,不删除覆盖”:旧独立工作流保留手动 dispatch,主 CI 用临时条件跳过指定步骤,普通 Vitest 分片只排除旧 TUI 与客户端重连子进程测试。恢复时只需还原文档中保留的触发器和临时条件。
这样处理是因为 KAP 契约与场景仍需在迁移期间防止回归,而旧 Desktop/TUI 旅程和跨平台 QA 可以按需手动运行,而不是永久失去覆盖。
阅读顺序:
.github/workflows/ci.yml:查看普通分片保留与排除的边界,以及两个临时跳过条件。.github/workflows/{desktop-e2e,e2e-smoke,layered-qa}.yml:查看保留为注释的原自动触发器;job、步骤和产物配置均未删除。tests/AGENTS.md:查看临时状态及下文恢复后行为的说明。Behavior Changes and Affected Users
本 PR 不改变 CLI、Desktop、Web、VS Code、ACP 或 SDK 的运行时行为,也不修改公开契约。受影响的是依赖旧自动 CI 的维护者与贡献者:
Desktop E2E;本地pnpm --filter kimi-code-app run e2e:headless;恢复注释的触发器E2E smoke;本地pnpm test:smoke;恢复注释的触发器Layered QA;本地pnpm qa:layers、pnpm qa:history-perf;恢复注释的触发器TESTKIT_CLI_BUILD=dist跑旧 TUI 与冷恢复if: false&& false恢复汇总;本地仍可使用原 L0 结果检查命令pnpm exec vitest run apps/kimi-code/test/e2e/tui packages/app-core/test/reconnect;移除两个--excludetests/e2eE2E工作流在 PR 自动运行验证覆盖:
workflow_dispatch,并确认新e2e.yml仍保留pull_request。--exclude枚举 Vitest:旧 TUI/reconnect 不再出现;全部 7 个 scenario 测试文件、KAP Server 普通测试及原有*.e2e.test.ts仍被选中。pnpm lint通过,包括 fan-in guard、quarantine、说明文件和新 E2E 边界检查。pnpm run check:duplication d9070b99e1728ab15d758de746f3ed99335535a0通过。完整测试运行记录
pnpm exec vitest run --reporter=agent tests/scenarios packages/kap-server/testtests/scenarios/cold-recovery.test.ts:组合运行时 KAP ready line 等待超过 30 秒;随后隔离运行为 2 passed。packages/kap-server/test/search/searchService.test.ts:组合运行时一个并发刷新断言得到空结果;随后按用例名隔离运行为 1 passed、105 skipped。本次未修改上述实现或测试,也没有为提高通过率而重试整组测试。
Checklist
gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update. (无用户文档变化;仅同步tests/AGENTS.md的临时状态。)