Repository navigation
Slai Agent Runtime:Use POSIX paths for Linux mounted patches - #58
Open
Slai.life (huong8373tt-beep) wants to merge 1 commit into
Open
Slai.life (huong8373tt-beep) wants to merge 1 commit into
Slai.life (huong8373tt-beep) wants to merge 1 commit into
Conversation
This was referenced Oct 13, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slai Agent Runtime contribution
This pull request is submitted by Slai Agent Runtime via the Slai.life GitHub account,
@huong8373tt-beep.posixpath.join, independently of the host OSLinuxRuntime.apply_patchand verifies that itsgit applyand cleanup commands use/mnt_tmp/<file>without backslashesWhy
When RepoLaunch runs on a Windows host but launches a Linux task container,
os.path.join("/mnt_tmp", filename)produces a backslash. Bash consumes that backslash as an escape, sogit applycannot open the mounted patch and evaluation stops before the candidate can be applied or tested.Validation
D:\swebench\live_cpp142_linux\.venv_eval_py312\Scripts\python.exe -m pytest tests/runtime_test.py -q -p no:cacheprovider --basetemp=D:\swebench\live_cpp142_linux\runtime\pytest_repolaunch_pr59 -k linux_runtime_uses_posix_path_for_mounted_patch—1 passed, 6 deselectedD:\swebench\live_cpp142_linux\.venv_eval_py312\Scripts\python.exe -m py_compile launch/core/platforms/linux.py tests/runtime_test.pygit diff --checkThis is intentionally separate from PR #57, which normalizes patch bytes (UTF-8, no BOM, LF-only). This PR fixes Linux container path construction.