Commits
Click on a commit to change the comparison rangeFix set_working_directory to return absolute path
When set_working_directory returns a relative path, the flow runner
fails when trying to change to that directory again, as the working
directory has already been changed. This fix makes the function return
the absolute path instead, resolving issue #18182.
Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com>28 days ago
by github-actions[bot] Add tests for set_working_directory absolute path behavior
Added two tests to verify that set_working_directory always returns
an absolute path:
- Test with relative path input
- Test with absolute path input
Both tests verify the function returns the absolute path and correctly
changes the working directory.
Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com>28 days ago
by github-actions[bot] Improve set_working_directory test implementation
- Use tmpchdir context manager for cleaner directory handling
- Remove unnecessary deferred import statements
- Add proper Path type hints to tmp_path parameters
- Simplify cleanup logic
Co-authored-by: nate nowack <zzstoatzz@users.noreply.github.com>28 days ago
by github-actions[bot]