From ea8ee92527869e3656fb77bb20394afe91d30161 Mon Sep 17 00:00:00 2001 From: hairyfbot <318164157+hairyfbot@users.noreply.github.com> Date: Sat, 21 Nov 2026 12:00:00 +0800 Subject: [PATCH] =?UTF-8?q?test(baseline):=20CI=20=E5=AE=BF=E4=B8=BB?= =?UTF-8?q?=E9=92=89=E7=89=88=E8=B7=9F=E9=9A=8F=20engines.dsh=20=E5=88=B0?= =?UTF-8?q?=20rc.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ci.yml 的宿主钉版已由维护者改为 0.2.2-rc.3,dsh-baseline 的 CI 断言从 dev 钉版 常量 baseline 换成运行侧常量 hostBaseline,与 e2e / 安装脚本同一来源。 --- tests/dsh-baseline.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dsh-baseline.spec.ts b/tests/dsh-baseline.spec.ts index f9429251..fbd20369 100644 --- a/tests/dsh-baseline.spec.ts +++ b/tests/dsh-baseline.spec.ts @@ -51,7 +51,7 @@ describe('DSH host baseline', () => { it.each(['\n', '\r\n'])('pins CI with its heap budget and peer resolution intact (%j)', (eol) => { // Git may check out YAML as CRLF on Windows; the contract is the same. const source = ci.replace(/\r?\n/g, eol) - expect(source).toContain(`NODE_OPTIONS: --max-old-space-size=4096${eol} run: npm install -g @deepseek-ai/dsh@${baseline}${eol}`) + expect(source).toContain(`NODE_OPTIONS: --max-old-space-size=4096${eol} run: npm install -g @deepseek-ai/dsh@${hostBaseline}${eol}`) expect(source).not.toMatch(/^\s*run:.*--legacy-peer-deps/m) }) })