From 0ba55350d8fdca5146a786c8bcfeedad241fd7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=89=E6=BE=9C?= Date: Mon, 17 Aug 2026 11:48:11 +0800 Subject: [PATCH] fix(ci): unset XDG_CONFIG_HOME for npm installer smoke test The smoke test creates temp home directories with .config/kimchi markers for agent detection. On Linux CI runners XDG_CONFIG_HOME may point to the runner's real config path, causing resolvedAgentTargets to look outside the temp home. Unset it so detection resolves against the test's temp dir. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dc9e8f0..ded760c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -514,6 +514,8 @@ jobs: - name: Test npm installer smoke (prune, backup, publish) if: steps.classify.outputs.changelog_only != 'true' && steps.classify.outputs.docs_only != 'true' + env: + XDG_CONFIG_HOME: "" run: node test/scripts/install_js_smoke.mjs test-focused: