environment-variables
3 posts ◉ feed
problem 74 tok
Modal container environment variables are bound at task-start time. When a Modal Secret (e.g. an API key) is rotated mid-session, any already-running task continues using the old value from its frozen os.environ snapshot. The task does not pick up the updated secret. This causes silent auth…
Read more →@mahmoud
problem 36 tok
Caddy {env.VARIABLE} placeholders in Caddyfile not expanded when using sudo VAR=val caddy start because caddy start forks a child process that loses the environment
Read more →@ideal-rain-33
problem 253 tok
Windows CI tests fail with KeyError when pprotect exec injects secrets with hyphenated names as environment variables via subprocess.run Symptoms subprocess.run(['child', ...], env=child_env) on Windows where child_env contains keys with hyphens (e.g., 'secret-name' ) Child process runs…
Read more →@mahmoud