Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/web-workbench.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ bun run build:web
bun run build
bun run test:web-task-source
bun run test:web-knowledge-context
bun run frontend -- bun scripts/e2e/test-web-round8-approval.ts
bun run frontend -- bun scripts/e2e/test-web-project-route-approval.ts
bun run test:web-guidance-recovery
bun run test:web-research-progress
bun run test:web-mathematical-changes
Expand Down Expand Up @@ -444,7 +444,7 @@ bun run frontend -- bun scripts/e2e/test-web-runtime.ts
`test:web-live-sync` 使用真实本地 HTTP 服务、可控 runner、Chromium 和浏览器原生 EventSource,验证连续变化合并、旧读取期间的新通知、双标签页更新与取消、SSE 不可用时的轮询、连接中断后的自动重连、页面隐藏与恢复,以及迟到的创建响应不覆盖新状态,共 7 个场景。同时检查草稿、焦点和滚动保留及写入不重放;报告写入 `out/web-live-sync/report.json`。`tests/webRunStream.test.ts` 覆盖通知鉴权、会话隔离、版本与 ETag 一致、删除、心跳、退订、过期和服务关闭。两者均不调用模型、Docker 或 Lean。


`test:web-task-source` 验证同任务真实 Git 快照的源码比较、同版本不同 commit、身份绑定、轮询与迟到请求隔离,以及手机布局和大差异降级。`test:web-knowledge-context` 验证检索传入真实任务与环境、保留跨问题材料、环境匹配、版本化引用及切换后的请求隔离。`test-web-round8-approval.ts` 验证原生团队的项目审批在路线修订期间暂停,旧审批请求及回执仍可核对,批准新版本需要再次确认。它们均使用本地 HTTP 与 Chromium,报告分别写入 `out/web-task-source/`、`out/web-knowledge-context/`、`out/frontend-round8/approval/`。
`test:web-task-source` 验证同任务真实 Git 快照的源码比较、同版本不同 commit、身份绑定、轮询与迟到请求隔离,以及手机布局和大差异降级。`test:web-knowledge-context` 验证检索传入真实任务与环境、保留跨问题材料、环境匹配、版本化引用及切换后的请求隔离。`test-web-project-route-approval.ts` 验证原生团队的项目审批在路线修订期间暂停,旧审批请求及回执仍可核对,批准新版本需要再次确认。它们均使用本地 HTTP 与 Chromium,报告分别写入 `out/web-task-source/`、`out/web-knowledge-context/`、`out/web-project-route-approval/`。


`test:web-guidance-recovery` 使用真实本地 HTTP 与 Chromium,覆盖指导的 unknown 到已投递或失败、丢失响应、原快照重试、读取失败不重发、任务版本人工确认、失效目标、同文字更换接收方、跨研究迟到回执及 320 / 375 像素布局,共 12 个场景。报告与截图写入 `out/web-guidance-recovery/`;worker 桥的明确拒绝、原 ID 幂等核对和未知存储错误另由 `tests/webWorkerBridge.test.ts` 覆盖。不调用模型或重新执行 Lean。
Expand Down
2 changes: 1 addition & 1 deletion frontend-revision
Original file line number Diff line number Diff line change
@@ -1 +1 @@
36410a555b2e0df099123566b4b35c6161e37f81
3b23c5e420387e10377e39d8424f09134e93492d
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
"build:web-preview": "bun scripts/frontend.ts preview",
"test:web-review-regressions": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-review-regressions.ts'",
"test:frontend-audit": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-audit-workbench.ts && bun scripts/e2e/test-web-audit-library.ts && bun scripts/e2e/test-frontend-audit-layout.ts'",
"test:frontend-round2": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round2-collaboration.ts && bun scripts/e2e/test-web-round2-workbench.ts && bun scripts/e2e/test-web-round2-routes.ts && bun scripts/e2e/test-web-round2-login.ts'",
"test:frontend-round2": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round2-collaboration.ts && bun scripts/e2e/test-web-round2-workbench.ts && bun scripts/e2e/test-web-round2-routes.ts && bun scripts/e2e/test-web-login-recovery.ts'",
"test:frontend-round3": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round3-approval.ts && bun scripts/e2e/test-web-round3-collaboration.ts && bun scripts/e2e/test-web-round3-library.ts && bun scripts/e2e/test-web-round3-routes.ts && bun scripts/e2e/test-web-round3-workbench.ts'",
"test:frontend-round4": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round4-sharing.ts && bun scripts/e2e/test-web-round4-library.ts'",
"test:frontend-round5": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round5-workbench.ts && bun scripts/e2e/test-web-round5-collaboration.ts && bun scripts/e2e/test-web-round5-people.ts && bun scripts/e2e/test-web-round5-library.ts'",
"test:frontend-round5": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round5-workbench.ts && bun scripts/e2e/test-web-round5-collaboration.ts && bun scripts/e2e/test-web-round5-people.ts && bun scripts/e2e/test-web-library-write-recovery.ts'",
"test:frontend-round6": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round6-people.ts && bun scripts/e2e/test-web-round6-collaboration.ts && bun scripts/e2e/test-web-round6-library.ts && bun scripts/e2e/test-web-round6-routes.ts'",
"test:frontend-round7": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round7-session.ts && bun scripts/e2e/test-web-round7-people.ts && bun scripts/e2e/test-web-round7-library.ts && bun scripts/e2e/test-web-round7-routes.ts'",
"test:frontend-round8": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round8-budget.ts && bun scripts/e2e/test-web-round8-keys.ts && bun scripts/e2e/test-web-round8-approval.ts && bun scripts/e2e/test-web-round8-routes.ts'",
"test:frontend-round9": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round9-availability.ts && bun scripts/e2e/test-web-round9-mobile.ts && bun scripts/e2e/test-web-round9-routes.ts'",
"test:frontend-round10": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round10-workbench.ts && bun scripts/e2e/test-web-round10-math.ts && bun scripts/e2e/test-web-round10-routes.ts'",
"test:frontend-round7": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-session-renewal.ts && bun scripts/e2e/test-web-round7-people.ts && bun scripts/e2e/test-web-library-draft-reload.ts && bun scripts/e2e/test-web-round7-routes.ts'",
"test:frontend-round8": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round8-budget.ts && bun scripts/e2e/test-web-round8-keys.ts && bun scripts/e2e/test-web-project-route-approval.ts && bun scripts/e2e/test-web-round8-routes.ts'",
"test:frontend-round9": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round9-availability.ts && bun scripts/e2e/test-web-round9-mobile.ts && bun scripts/e2e/test-web-route-search-ime.ts'",
"test:frontend-round10": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-round10-workbench.ts && bun scripts/e2e/test-web-round10-math.ts && bun scripts/e2e/test-web-archive-source-links.ts'",
"test:web-ui": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-ui.ts'",
"test:web-product-flow": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-product-flow.ts'",
"test:web-login": "bun scripts/frontend.ts run bash -c 'bun scripts/e2e/test-web-login.ts'",
Expand Down
Loading
Loading