From d5bbb52c892a6fb28a33e06584348b6a5d8f522a Mon Sep 17 00:00:00 2001 From: Menghuan1918 Date: Fri, 11 Sep 2026 12:18:34 +0800 Subject: [PATCH] docs(plans): record the two consecutive green Windows runs (rc.2 baseline) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ci-windows is green twice on 5451f5c — the PR-triggered run 34561189320 and a follow-up workflow_dispatch run 34561457067, both 126 files / 1318 passed / 3 skipped with zero `Unhandled Errors` and zero `Worker exited unexpectedly` (the window that motivated this work saw two of the latter). plugin-mount is green twice as well: `added 521 packages in 24s` with no ERESOLVE lines against 3062 in the historical OOM run, mount smoke 7 passed, aggregate lane passed. Also records the falsification this PR went through — the first cut still failed on real CI in two places (the third 5000 ms default victim, tests/git.spec.ts:85 at 9607 ms, and `--legacy-peer-deps` breaking the CLI install with ERR_MODULE_NOT_FOUND) — and states plainly that two green runs do not prove the worker-death root cause, only that it stopped reproducing once concurrency was bounded and the timeout budgets were corrected. --- docs/plans/2026-09-10-dsh-0.1.5-rc.2-adaptation.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/plans/2026-09-10-dsh-0.1.5-rc.2-adaptation.md b/docs/plans/2026-09-10-dsh-0.1.5-rc.2-adaptation.md index ed5ceac..984e314 100644 --- a/docs/plans/2026-09-10-dsh-0.1.5-rc.2-adaptation.md +++ b/docs/plans/2026-09-10-dsh-0.1.5-rc.2-adaptation.md @@ -81,8 +81,10 @@ DSH `dsh-v0.1.5-rc.1..dsh-v0.1.5-rc.2`(上游 4 个 commit / 300 个变更文 - **门禁(rc.2 钉版,macOS arm64)**:`pnpm install` 成功且锁文件对齐 rc.2;`pnpm peers check` = `No peer dependency issues found`;`pnpm typecheck` / `pnpm lint` / `pnpm check:consumer-types` 全绿;`pnpm test` = **126 files / 1312 passed / 9 skipped**(与 rc.1 基线同数,无新增 skip)。 - **真机挂载冒烟(rc.2)**:`DSH_CMD` 指向 `npx -y --package @deepseek-ai/dsh@0.1.5-rc.2 dsh`;见"落地"节的实测计数。 -- **真实 Windows 收敛**:推分支后对 `ci-windows` 反复 `workflow_dispatch`,连续两次全绿为准;见"落地"节。 -- **本地 3080 真机**(DSH 0.1.5-rc.2 + 插件 0.19.1):由用户人工验证;见"落地"节。 +- **真实 Windows 收敛**:`ci-windows` **连续两次全绿**(同一 commit `5451f5c`)——`pull_request` 自动触发的 run [34561189320](https://github.com/omdsh-dev/DSH-better-sidebar/actions/runs/34561189320) 与随后 `workflow_dispatch` 的 run [34561457067](https://github.com/omdsh-dev/DSH-better-sidebar/actions/runs/34561457067),两次都是 **126 files / 1318 passed / 3 skipped / 0 errors**(`Unhandled Errors` 与 `Worker exited unexpectedly` 出现次数均为 **0**;同环境的 2026-09-09/10 窗口里这两行出现过 2 次)。同一分支的 `plugin-mount` 两次都绿:`added 521 packages in 24s`(**0 条 ERESOLVE**,与历史 OOM run 的 3062 条对比)、`test:mount` **7 passed**、聚合双挂载通过。 +- **首次真实结果的证伪(已修正)**:本 PR 的第一版修复在同一 commit 上仍红两处,`.github/workflows/ci.yml` 的改动因此被真实证据改过一轮——见 C 节的「一次被真实结果否掉的中间方案」与 A 节第三个文件(`tests/git.spec.ts:85`,9607ms)。 +- **B 类的实测结论**:连续两次 Windows 全绿、0 次 worker 死亡,但这**不等于证明了 B 类的根因**(只有 2 次历史样本、无可比对照);记为「并发收敛 + 超时预算到位后未再复现」,若将来复现按 §B 的升级路径继续收敛。 +- **本地 3080 真机**(DSH 0.1.5-rc.2 + 插件 0.19.1):部署与路由探针已完成(见"落地"节),GUI 人工验证由用户执行。 ## 不做 @@ -96,4 +98,5 @@ DSH `dsh-v0.1.5-rc.1..dsh-v0.1.5-rc.2`(上游 4 个 commit / 300 个变更文 - PR:[#626](https://github.com/omdsh-dev/DSH-better-sidebar/pull/626)(`feat/dsh-0.1.5-rc.2`)。 - 本地真机挂载冒烟(rc.2,macOS arm64):`pnpm test:mount` **7 passed**(含 tab 体填充断言、指南 ≤4 条说明渲染断言、mermaid / README 预览与 sidechat 路由烟测);`pnpm test:mount:aggregate` 通过(聚合双挂载下插件自动退让,`/sidebar/api` 未知方法 404 与 `terminal.deps` 契约均符合)。 - 本地 3080 实例部署(`~/.dsh/profiles/web` + `~/.dsh/dsh-web.sh`):profile 依赖从 `dsh-better-sidebar-0.19.0.tgz` 改指 0.19.1 tarball 并 `pnpm install`(`node_modules/dsh-better-sidebar/package.json` = **0.19.1**);`dsh-web.sh` 的 npx 钉版改 `@deepseek-ai/dsh@0.1.5-rc.2`,旧进程(PID 99521/99509/99507)定向 kill 后由 LaunchAgent `com.pm2.dshweb.resurrect` 自动拉起(新 PID 36025,npx 缓存 hash 因版本变更从 `1da1392061ab1944` 变为 `c40503fdf38a82ea`)。**已核**:新缓存里的 `@deepseek-ai/dsh` = **0.1.5-rc.2**,`/sidebar/api/shell.get` → `{"ok":true,"value":{"shell":"zsh","name":"zsh"}}`、`settings.get` 回默认设置、`terminal.deps` → `{"ok":true}`(三条插件路由在生产实例上工作);GUI 人工验证由用户执行,结论回填到本节的下一步。 -- 待回填:PR 三个 check(`ci` / `ci-windows` / `plugin-mount`)的结论与 `ci-windows` 的收敛次数、3080 人工验证结果、发版情况。 +- PR:[#626](https://github.com/omdsh-dev/DSH-better-sidebar/pull/626)(`feat/dsh-0.1.5-rc.2`)。PR 三个 check(`ci` / `ci-windows` / `plugin-mount`)在 run 34561189320 与 run 34561457067 上均绿。 +- 待回填:3080 人工验证结果(用户执行)、发版情况(v0.19.1 的 tag / npm 发布由用户决定)。