From acaf03056d6b457d85c6b7744565d6c7d56c424c Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Wed, 15 Jul 2026 06:40:23 +0000 Subject: [PATCH] test: keep package setup verification read-only --- scripts/verify-package.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/verify-package.mjs b/scripts/verify-package.mjs index 65598341f..dc34a0a91 100644 --- a/scripts/verify-package.mjs +++ b/scripts/verify-package.mjs @@ -406,7 +406,7 @@ try { const aligned = json(alignedExecution.stdout); const secondExecution = await runWithStatus( cli, - ["setup", "--yes", "--install-hopper", "--json"], + ["setup", "--install-hopper", "--json"], environment, ); const second = json(secondExecution.stdout); @@ -414,15 +414,15 @@ try { const status = process.platform === "linux" ? "needs_human" : "ready"; if ( first.status !== status || - second.status !== status || + second.status !== "needs_confirmation" || firstExecution.status !== (status === "ready" ? 0 : 1) || - secondExecution.status !== (status === "ready" ? 0 : 1) || + secondExecution.status !== 1 || aligned.status !== status || alignedExecution.status !== (status === "ready" ? 0 : 1) || aligned.plannedActions.length !== 0 || aligned.appliedActions.length !== 0 || !second.plannedActions.some(({ kind }) => kind === "install_hopper") || - !second.appliedActions.includes("installed_hopper") + second.appliedActions.length !== 0 ) throw new Error( `packaged setup did not preserve idempotent defaults and explicit Hopper reinstall behavior: ${JSON.stringify({ first, aligned, second })}`,