mirror of
https://github.com/coder/coder.git
synced 2026-10-30 18:12:29 +08:00
The dogfood Dockerfiles consume the repo-root `mise.toml` and `mise.lock` at build time (see `.dockerignore` allowlist), but the template's `pull_triggers` list ignored them, so mise-only changes (tool bumps, new tools) didn't roll out to existing workspaces. Mirror the `nix.hash` pattern: a Makefile rule writes the sha256 of both files into `dogfood/coder/mise.hash`, and `main.tf` hashes that in-module file via `filesha1`. Run `make dogfood/coder/mise.hash` after editing `mise.toml`/`mise.lock`. Signed-off-by: Thomas Kosiewski <tk@coder.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>