Menghuan1918
7ee0b457a3
feat: CI 挂载冒烟门禁 — npm 打包 → 真实挂载 DSH → 无头渲染防 crash
新增 plugin-mount job(pnpm test:mount):
- scripts/e2e-mount.sh:scratch profile 引导(allowBuilds/minimumReleaseAgeExclude 预写)→ 官方
dsh plugin --profile web add file:<tarball> 挂载(dsh.profile.bundles 协调校验)→ keyless
dsh web --port 0 → Playwright 无头渲染 → trap 清理
- tests/e2e/mount.e2e.ts:seed 工作区+会话(宿主 RPC)→ 断言 #root 与 [data-dsh-better-sidebar]
挂载、无崩溃标记(错误条/pageerror/插件 console 错误)→ + 菜单逐个打开内置 tab 深扫
- playwright.config.ts:chromium headless、单 worker、retries 0、失败留 trace/截图/HTML 报告
- vitest exclude 与 *.e2e.ts 命名双保险隔离;exclude 整体替换默认值,须保留默认排除项
- CI 钉住 @deepseek-ai/dsh@0.1.0-rc.6;DSH_TELEMETRY_DISABLED=1;workflow_dispatch + PR 并发取消
已验证:本地端到端全绿;人为注入 tab 组件 crash → 门禁变红(错误条检出),还原后变绿;
typecheck/vitest 全绿;CI 同款 npm 安装 CLI 路径实测通过
2026-08-15 01:21:21 +08:00
..
2026-08-15 01:21:21 +08:00
2026-08-14 23:04:25 +08:00
2026-08-10 21:43:58 +08:00
2026-08-15 00:28:59 +08:00
2026-08-14 20:17:27 +08:00
2026-08-12 18:27:28 +08:00
2026-08-12 18:19:44 +08:00
2026-08-11 19:28:48 +08:00
2026-08-11 19:28:48 +08:00
2026-08-14 22:30:34 +08:00
2026-08-14 22:30:34 +08:00
2026-08-14 22:30:34 +08:00
2026-08-14 22:30:34 +08:00
2026-08-14 21:28:41 +08:00
2026-08-11 11:16:36 +08:00
2026-08-14 16:45:44 +08:00
2026-08-12 01:16:20 +08:00
2026-08-13 09:06:55 +08:00
2026-08-14 22:30:34 +08:00
2026-08-11 19:28:48 +08:00
2026-08-13 00:43:28 +08:00
2026-08-14 22:30:34 +08:00
2026-08-13 10:26:57 +08:00
2026-08-14 14:53:03 +08:00
2026-08-11 11:22:28 +08:00
2026-08-14 23:04:25 +08:00
2026-08-14 23:03:26 +08:00
2026-08-11 19:28:48 +08:00
2026-08-13 01:39:59 +08:00
2026-08-14 21:28:41 +08:00
2026-08-14 14:36:49 +08:00
2026-08-14 22:30:34 +08:00
2026-08-14 18:29:31 +08:00
2026-08-14 23:03:26 +08:00
2026-08-13 09:06:55 +08:00
2026-08-13 09:06:55 +08:00
2026-08-14 22:59:19 +08:00
2026-08-14 14:36:49 +08:00
2026-08-10 21:43:58 +08:00
2026-08-14 23:03:26 +08:00
2026-08-14 00:41:08 +08:00
2026-08-14 22:30:34 +08:00