From 4304a639690f5595b215be33e7db3e07cdf89a1b Mon Sep 17 00:00:00 2001 From: Gustav Hansen Date: Fri, 22 May 2026 10:26:00 +0200 Subject: [PATCH] chore(ci): scope turbo cache by RUNNER_OS Add RUNNER_OS to globalEnv so turbo cache entries are scoped per operating system. Without this, Windows and Linux CI runners share the same cache for tasks whose outputs are OS-sensitive (e.g. resolved symlink paths inside @sanity/cli-test:build's fixtures/** output), which has caused Windows-absolute symlink paths to be replayed on Linux runners and crashed fixture loading. Mirrors the existing NODE_VERSION scoping. Locally RUNNER_OS is unset, so this has no effect on local cache sharing. --- turbo.json | 1 + 1 file changed, 1 insertion(+) diff --git a/turbo.json b/turbo.json index 094a8eb78..00473fd74 100644 --- a/turbo.json +++ b/turbo.json @@ -5,6 +5,7 @@ "SANITY_API_TOKEN", "NODE_VERSION", "NO_UPDATE_NOTIFIER", + "RUNNER_OS", "SANITY_E2E_PROJECT_ID", "SANITY_E2E_TOKEN", "SANITY_E2E_DATASET"