From c44c237aae774ff8afa2196f8f314614ac873e65 Mon Sep 17 00:00:00 2001 From: tiandao <2388127316@qq.com> Date: Sun, 4 Oct 2026 06:57:48 +0800 Subject: [PATCH] fix(e2e): align hosted-search version assertion with Pi 1.0.1 PR #1357 bumped the workspace to Pi 1.0.1 but left the hosted-search e2e asserting manifest.version === '1.0.0', so the run fails on the installed 1.0.1 packages. Track the locked version. --- scripts/e2e-hosted-search.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e2e-hosted-search.mjs b/scripts/e2e-hosted-search.mjs index d3d3ffdde..8a9c4492d 100644 --- a/scripts/e2e-hosted-search.mjs +++ b/scripts/e2e-hosted-search.mjs @@ -160,7 +160,7 @@ when the run ends; any change between the two fails the run.`); for (const name of ["pi-ai", "pi-agent-core", "pi-coding-agent"]) { const manifest = JSON.parse(await readFile(join(root, "packages/agent-runtime/node_modules/@earendil-works", name, "package.json"), "utf8")); evidence.installedDependencies[name] = manifest.version; - assert.equal(manifest.version, "1.0.0", `${name} must match the locked pi version`); + assert.equal(manifest.version, "1.0.1", `${name} must match the locked pi version`); } evidence.lockfileSha256 = await hash(join(root, "pnpm-lock.yaml")); evidence.head = git("rev-parse", "HEAD");