>_
.issue.db
/highway-workflow-engine
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #720
Update issue details
Title *
Description
FIXED: When running sandboxed code execution (tools.code.exec) inside Docker containers with Docker socket mounted (DinD), temp files created in /tmp exist only inside the worker container. When Docker mounts them into sandbox containers, it uses HOST paths where the file doesn't exist, causing 'can't find __main__ module' error. Root cause: tempfile.NamedTemporaryFile creates files in /tmp inside container, but Docker volume mounts use host paths. Fix: Use HIGHWAY_SANDBOX_DEV_MOUNT_PATH environment variable (which is mounted at same path on host and container via ${PWD}:${PWD}) for temp file storage. Created .sandbox_temp subdirectory. File modified: engine/tools/sandbox.py lines 372-396 Also added .sandbox_temp to .gitignore.
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
Won't Do
Due Date (YYYY-MM-DD)
Tags (comma separated)
Related Issues (IDs)
Enter IDs of issues related to this one. They will be linked as 'related'.
Update Issue
Cancel