From 1a3f53ef892e79ea8d60a093cdb41d86195332af Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Fri, 13 Nov 2026 05:54:48 -0600 Subject: [PATCH] Keep bun state out of the installer test HOME (#9529) The claimant install suite asserts the exact listing of its temp HOME after dry-run and rejected invocations. On the CI runner, the bun subprocess writes ~/.bun into that HOME, so the listing gained an entry and three tests failed. Point BUN_INSTALL outside the temp HOME so bun's own state never lands in the asserted directory. --- pm-stack/opencode-claimant/test/install.test.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pm-stack/opencode-claimant/test/install.test.mjs b/pm-stack/opencode-claimant/test/install.test.mjs index 20cefb2ed..6f356fb1c 100644 --- a/pm-stack/opencode-claimant/test/install.test.mjs +++ b/pm-stack/opencode-claimant/test/install.test.mjs @@ -43,7 +43,11 @@ async function makeStores() { function runInstaller(home, args) { return spawnSync(process.execPath, [installer, ...args], { encoding: "utf8", - env: { ...process.env, HOME: home }, + env: { + ...process.env, + HOME: home, + BUN_INSTALL: join(tmpdir(), "opencode-claimant-bun-install"), + }, }); }