This directory contains a minimal repro that shows how environment overrides stopped
working in mise:
MISE_ENV=tunnelshould apply.mise.tunnel.toml, but theVITE_UI_ORIGINvalue should differ from the basemise.toml.- In the latest releases the value now matches the base config, so the tunnel override is silently ignored.
Run ./repro.sh to watch the regression. The script first installs mise 2025.9.25
(a known good release) and runs both cases, then updates to the latest version and
shows how Case 2 regresses by matching the Case 1 output.
=== Testing with mise 2025.9.25 (expected OK) ===
[00:00:01] [========================================] 18.67 MiB/18.67 MiB (0s) Done
____ ___ (_)_______ ___ ____ ____ / /___ _________
/ __ `__ \/ / ___/ _ \______/ _ \/ __ \______/ __ \/ / __ `/ ___/ _ \
/ / / / / / (__ ) __/_____/ __/ / / /_____/ /_/ / / /_/ / /__/ __/
/_/ /_/ /_/_/____/\___/ \___/_/ /_/ / .___/_/\__,_/\___/\___/
/_/ by @jdx
2025.9.25 macos-arm64 (2025-09-30)
mise WARN mise version 2025.10.6 available
mise WARN To update, run mise self-update
Case 1: default mise.toml env (expected http://localhost:5173)
[print-example] $ printf 'VITE_UI_ORIGIN=%s
VITE_UI_ORIGIN=http://localhost:5173
Case 2: MISE_ENV=tunnel (expected https://tunnel.example)
[print-example] $ printf 'VITE_UI_ORIGIN=%s
VITE_UI_ORIGIN=https://tunnel.example
mise 2025.9.25 result: OK - Case 2 differed from Case 1 as expected.
=== Testing with latest mise (expected BUG) ===
[00:00:05] [========================================] 19.56 MiB/19.56 MiB (0s) Done
____ ___ (_)_______ ___ ____ ____ / /___ _________
/ __ `__ \/ / ___/ _ \______/ _ \/ __ \______/ __ \/ / __ `/ ___/ _ \
/ / / / / / (__ ) __/_____/ __/ / / /_____/ /_/ / / /_/ / /__/ __/
/_/ /_/ /_/_/____/\___/ \___/_/ /_/ / .___/_/\__,_/\___/\___/
/_/ by @jdx
2025.10.6 macos-arm64 (2025-10-08)
Case 1: default mise.toml env (expected http://localhost:5173)
[print-example] $ printf 'VITE_UI_ORIGIN=%s
VITE_UI_ORIGIN=http://localhost:5173
Case 2: MISE_ENV=tunnel (expected https://tunnel.example)
[print-example] $ printf 'VITE_UI_ORIGIN=%s
VITE_UI_ORIGIN=http://localhost:5173
Latest mise result: BUG - Case 2 matched Case 1 (tunnel override missing).