Skip to content

test: remove retired paid UI and strengthen behavioral coverage - #551

Open
cunoe wants to merge 3 commits into
mainfrom
test/remove-retired-and-vacuous-cases-20261111
Open

cunoe wants to merge 3 commits into
mainfrom
test/remove-retired-and-vacuous-cases-20261111

Conversation

@cunoe

@cunoe cunoe commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

旧 Strict/13-proof 付费 UI 流程已停止支持,但两份测试、专用配置和辅助启动代码仍保留。部分现有测试还只检查输入夹具或源码文字,错误实现可以继续通过。本改动清理退役内容,并将已确认的测试盲区改成行为断言。

  • 删除 5 个旧付费 Web/Android UI 文件及 13 个无调用的旧 Python 启动定义。当前 protected 原生证明流程、历史报告/隐私/资源校验及旧参数拒绝保持。
  • 删除重复 URL 用例、夹具字段数和已被入口行为自测取代的源码片段检查。
  • 补强真实 Inbox 焦点、解析目录、头像、桥接拒绝、签名、服务参数和 fetch 策略断言;Pi 测试执行真实扩展,普通 Cargo 测试不新增 Node 依赖。
  • 公证自测覆盖完整成功结果;部署检查在隔离假工具环境中执行实际 step/run,验证预演先于激活且失败会阻断。聊天 E2E 先验证节点存在,再检查顺序。

本地验证通过:Web 380、Client 203、Desktop 139 项单测,相关 TypeScript 与 E2E 类型检查,发布/部署/保护流程自测、Pi 扩展测试和 actionlint。受控变异确认注释 guard、错误目录、空公证配置、禁用预演等错误会被拒绝。独立审查未发现 P0/P1/P2。

最终 HEAD 012a5fdcde06f4eac74c1488b8f6cdc289da5b64 的托管 Rust fast/slow、Clippy/MSRV、格式、Node 22 扩展单测、Web 与三平台包验证均已通过,变更的桥接、签名、地址和服务断言也在日志中逐项显示成功。

完整 CI 尚未全绿:验证运行的 Linux 浏览器依赖安装两次因 archive.ubuntu.com DNS 失败而停止,Chromium 测试尚未开始,后续 npm 验证未执行。仅重跑过失败任务及其依赖。基线 main 的运行 43047462097也有相同下载失败。本机没有安装 Rust 或启动额外基础设施来绕开该问题,未将失败记为通过。

未运行 fresh 付费证明、正式发布或生产部署。旧付费 UI 原本不在普通 CI 中执行,不将删除行数表述为已测得加速。

@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

本轮不合并。Ready,但对照 main @ 9300b1f 是 CONFLICTING。

冲突来自 #544 GPUI:apps/desktop/tests/business-url.test.ts 和 local-nodes.test.ts 已不存在;ci.yml / ci.py / build-desktop.mjs / entry-url.test.ts 也和当前 main 双边修改。描述里的托管检查属于 012a5fd,不能代表 rebase 后的 head。

付费 UI 测试删除仍有价值,不要另开同主题 PR。请按当前 main 重做,并丢掉对 desktop_client_bridge.rs 的测试加码——GPUI 之后这条 stdio 桥没有调用方,#553 会整文件删除。冲突未解、验收未重跑之前不标可合并。

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

本轮不合并。Ready,但对照 main @ 8a06a332 仍是 CONFLICTING。

冲突来自 #544 GPUI:apps/desktop/tests/business-url.test.ts 和 local-nodes.test.ts 已不存在;ci.yml / ci.py / build-desktop.mjs 也改过。apps/core/extensions/pi.test.mjs 在 main 上也不存在。

#553 仍在删除 desktop_client_bridge.rs。本分支给该文件加测试的部分应丢掉,不要 rebase 回已删除的 Electron 路径。

付费 UI 测试清理仍有价值,但验收记录属于 012a5fd。请按当前 main 重做并丢掉已消失的目标文件。不另开付费 E2E 清理 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

本轮不合并。Ready,但对照 main @ 64562374 仍是 CONFLICTING。

冲突来自 GPUI 之后的桌面测试路径与 CI 收缩。描述里的托管检查属于 012a5fd。#571 仍在删除 desktop_client_bridge.rs,本分支给该文件加测试的部分应丢掉。

付费 UI 测试清理仍有价值。请按当前 main 重做并丢掉已消失的目标文件。不另开付费 E2E 清理 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

本轮不合并。

Ready,但对照 main @ 07191092 仍是 CONFLICTING。冲突来自 GPUI 之后的桌面测试路径、CI workflow 和 desktop_client_bridge.rs(该文件已被 #571 从 main 删掉)。描述里的托管检查属于 012a5fd,不能当当前 head 的验收。

付费 UI 测试清理仍有价值,但给已删除的 stdio bridge 加测试的部分应丢掉。请作者从当前 main 重做。不另开付费 E2E 清理,也不代 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.

本轮不合并。

Ready,但对照 main @ 4ee0dcf2 为 CONFLICTING。描述里的托管检查属于 012a5fd。main 已无 desktop_client_bridge.rs,rebase 时必须丢掉对该适配器的测试,不要把死路径加回来。请作者自行 rebase 并复跑相关检查。不会另开付费 E2E 清理 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