Skip to content

docs: route new end-to-end tests to the active suite - #5386

Merged
RealKai42 merged 1 commit into
mainfrom
codex/issue-006-test-guide
Nov 25, 2026
Merged

RealKai42 merged 1 commit into
mainfrom
codex/issue-006-test-guide

Conversation

@RealKai42

Copy link
Copy Markdown
Collaborator

Requirement or Bug

新增端到端回归时,测试指南会把开发者引到已暂停自动运行的 Desktop 和 TUI 目录。开发者按指南补了用例,PR 上的测试也可能根本没有执行到它。

Bug Reproduction Steps

  1. 在原 tests/AGENTS.md 的入口表和 Desktop/TUI 旅程一节查找新用例的放置位置。指南指向 Desktop 和 TUI 的旧套件。
  2. 核对 desktop-e2e.yml 和 ci.yml。旧 Desktop 工作流仅手动触发,主 CI 分片排除了旧 TUI 目录。四端新套件由 e2e.yml 在 PR 上运行。

Root Cause

旧工作流暂停后,指南保留了原有的入口和触发说明,读者需要从顶部的临时说明推断哪些指引仍然适用。

Code Changes

  • tests/AGENTS.md 将 TUI、Web、Desktop 和 ACP 的新端到端场景指向 tests/e2e,并列出主 CI 暂停或排除的项目。旧套件保留手动运行说明和迁移时的覆盖要求。
  • testkit 的假模型和进程夹具指南链接到当前的 Desktop 与 TUI 驱动。桌面取消示例使用 scenario() 和共有的 product 接口。

Behavior Changes and Affected Users

行为 改动前 改动后 受影响人群 旧入口
新增跨端回归 指南会推荐已暂停的旧套件 新场景放在 PR 上会执行的 tests/e2e 编写 GUI、TUI 或 ACP 回归的开发者 仍可手动执行已有旅程
判断检查是否自动运行 总览和各节给出的触发状态不同 按现有工作流注明自动、手动或暂停 测试维护者和评审者 指南保留手动验证命令

在 macOS 上通过 pnpm lint、git diff --check 和基于目标分支的重复检查。Playwright 用 --list stop-mid-turn.spec.ts 枚举出 TUI、ACP、Desktop 和 Web 四个用例。

Checklist

  • 阅读贡献指南并核对问题的复现步骤。
  • 核对受影响的测试入口、工作流和文档链接。
  • 三份仓库文档适用纯文档 changeset 豁免。

@changeset-bot

changeset-bot Bot commented Nov 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3bfcd0c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T05:31:33.591539Z 3bfcd0c PR opened
🔒 Security Review ✅ Completed 2026-11-25T05:33:11.853355Z 3bfcd0c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Nov 25, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@3bfcd0c
npx https://pkg.pr.new/@moonshot-ai/kimi-code@3bfcd0c

commit: 3bfcd0c

@RealKai42
RealKai42 merged commit 2679368 into main Nov 25, 2026
22 checks passed
@RealKai42
RealKai42 deleted the codex/issue-006-test-guide branch November 25, 2026 05:51
RealKai42 added a commit that referenced this pull request Nov 25, 2026
#5386 rewrote tests/AGENTS.md and the testkit docs on main. Keep its
text for tests/AGENTS.md, docs/model.md and docs/fixtures.md, and add
only the two sentences that name legacy-e2e.mjs and test-doubles.mjs.
Drop this branch's testkit README link change, since #5386 kept the
model.md heading it points to.
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