2 Commits
Author SHA1 Message Date
3d021489f4 MUL-7697: fix(daemon): keep host TMP/TEMP for every Windows task (#9197)
* fix(daemon): keep host TMP/TEMP for every Windows task

Git Bash's /tmp usertemp mount is shared by all live MSYS processes of a
user, whichever runtime started them. #8985 stopped Windows Claude tasks
from seeding it with a task-private dir, but any other provider still
could, and later tasks then lost /tmp once that dir was deleted.

Apply the rule to every provider on Windows: TMP/TEMP inherit the host
temp, TMPDIR stays task-private, and Claude keeps its CLAUDE_CODE_TMPDIR
default. The Git Bash integration test now alternates providers.

Closes #8824

Co-authored-by: multica-agent <[email protected]>

* test(daemon): expect inherited TMP/TEMP on Windows in env test

Co-authored-by: multica-agent <[email protected]>

---------

Co-authored-by: multica-eve <[email protected]>
Co-authored-by: multica-agent <[email protected]>
2026-10-12 15:56:39 +08:00
makesomethingshit eb59a69722 fix(daemon): preserve host temp for Windows Claude Git Bash (#8985) 2026-10-12 15:08:18 +08:00