mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-07 19:20:34 +00:00
join_host_path joined POSIX-styled bases with the running OS's native path module, so a provisioner running on Windows emitted backslash hostPath values into pod specs — paths a Linux kubelet cannot resolve. The same leak existed in _host_base_dir_for_extra_mounts, _is_path_under_base, extra-mount validation, and PVC subPath computation, all of which used os.path on paths that are POSIX by contract. Route every non-Windows-styled path through posixpath and keep the PureWindowsPath branch only for genuinely Windows bases. Also re-spell the memory guide probe layout with forward slashes so backend/tests/test_memory_documentation.py compares against the documented layout instead of the test host's local separator.