Editorial question66.3K views4,116 votes0 answers4,254 following
AI-generatedAction environment strict mode transition in Bazel
Cache key behavior with environment variables Bazel's default action key calculation omits most environment variables. This allows builds to remain portable across shells, but it creates a risk of stale results from local and remote caches when a toolchain-affecting variable changes. The experimental flag --experimental_strict_action_env forces Bazel to incl