From bfa17c315ec2e5b6f90f7a00fc228ff41a5abc70 Mon Sep 17 00:00:00 2001 From: Thomas Kosiewski Date: Wed, 27 May 2026 09:54:09 +0200 Subject: [PATCH] fix(dogfood/coder): persist mise user installs (#25720) --- dogfood/coder/main.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dogfood/coder/main.tf b/dogfood/coder/main.tf index 176b99392d..aad65c886f 100644 --- a/dogfood/coder/main.tf +++ b/dogfood/coder/main.tf @@ -518,6 +518,11 @@ resource "coder_agent" "dev" { # (non-MISE keys flow through). Move this back to `[oci.env]` # once upstream mise fixes that. MISE_CONFIG_DIR : "/home/coder/.config/mise", + # Keep user-installed mise tools on the persistent home volume. + # The image still exposes baked tools from /opt/mise/data via + # MISE_SHARED_INSTALL_DIRS, but /opt itself is image-resident + # and is recreated with the container on workspace restart. + MISE_DATA_DIR : "/home/coder/.local/share/mise", }, data.coder_parameter.enable_ai_gateway.value ? { ANTHROPIC_BASE_URL : "https://dev.coder.com/api/v2/aibridge/anthropic",