The best way to control Claude Code, Codex and more from any computer or phone
fix(marketing): typecheck cache no longer misses when the shell env changes (#22735)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Theo Browne committed
Oct 21, 2026 at 00:49 UTC
ea1c49419e742c688cc4951d63545046a06ac8c0
1 file changed
+6
apps/marketing/astro.config.mjs
+6
@@ -1,5 +1,11 @@
1
import { defineConfig } from "astro/config";
2
3
+// Astro loads env with an empty prefix, and under `vp run` Vite+'s loadEnv then reports every
4
+// variable to the task cache. Any env difference (TERM, VP_RAW_SUBCOMMAND, an agent's session
5
+// vars) would rerun `astro check`. Without the runner client, loadEnv reads process.env directly;
6
+// file tracking does not use this client.
7
+delete process.env.VP_RUN_NODE_CLIENT_PATH;
8
+
9
export default defineConfig({
10
site: "https://t3.codes",
11
server: {