Files
multica/server/internal/daemon/execenv
mrlonely 6194a8b3a7 MUL-7226 fix(daemon): decline Codex reuse when home preparation fails (#8236)
When the task-local Codex home cannot be prepared on the reuse path, Reuse
now returns nil so the daemon falls back to a fresh Prepare, instead of
returning an environment with an empty CodexHome that fails at launch with
"task CODEX_HOME is missing".

Declining reuse gives up the prior Codex session and the old workdir's
contents; a fresh Prepare that fails the same way still stops the task.

Co-authored-by: mameikagou <[email protected]>
2026-09-10 15:25:14 +08:00
..