Codespaces init scripts: no built‑in idempotency feature
Codespaces init scripts and duplicate writes When a Codespace starts, the Dockerfile and any postCreateCommand or postStartCommand defined in .devcontainer/devcontainer.json are executed on every launch. These commands can perform file writes, package installs, or network calls that are not automatically guarded against repeated execution. Because the curren