summaryrefslogtreecommitdiff
path: root/global.json
diff options
context:
space:
mode:
authortanaka takashi <isazaka@gmail.com>2026-08-09 23:44:35 +0900
committertanaka takashi <isazaka@gmail.com>2026-08-09 23:44:35 +0900
commit5d09f227a745b0c97710004ede07f7bbca418c0c (patch)
tree4180d777d18a5e6b5ad48cdc1ea5981e95bfb731 /global.json
parent788df5e1d86c1bd91571d2b9cd1559599b65c9d6 (diff)
fix(e2e): prevent persistent PATH pollution
Operational E2E assigned a unique fixture directory to DOTNET_CLI_HOME before invoking the .NET SDK. The SDK first-run configurator consequently persisted each fixture .dotnet/tools directory into the interactive user PATH, producing 25 stale agent-mcp-operational-e2e entries and a 5,087-character PATH. Set DOTNET_ADD_GLOBAL_TOOLS_TO_PATH=false for the complete E2E process tree, restore its previous process value in finally, and fail the E2E if the persistent user PATH differs after execution. Recovery removed only the 25 verified AppData/Local/Temp/agent-mcp-operational-e2e entries from the isaza user PATH. The original Environment registry key is backed up under ignored artifacts/recovery. All 27 unrelated entries were retained in their original order. Verification: PowerShell parse errors 0; isolated .NET SDK 10.0.301 first-run probe completed with persistent PATH unchanged.
Diffstat (limited to 'global.json')
0 files changed, 0 insertions, 0 deletions