unsloth/unsloth_cli/tests
Lee Jackson a26692612d
Normalize PWD for POSIX agent launches (#7110)
Keep the child process environment consistent with the cwd used to launch native POSIX coding agents. Some Node-based agents use PWD during project-root discovery, so inheriting a stale PWD can make them edit files in a parent or unrelated directory even when the wrapper process cwd is correct.

Only apply this normalization for native POSIX launches. WSL-launched Windows shims stay on the existing WSLENV bridge path so path translation behavior is unchanged.

Add regression coverage that launches an agent with a deliberately stale inherited PWD and asserts the child environment is normalized to os.getcwd().

Co-authored-by: Leo Borcherding <borchborchmail@gmail.com>
2026-07-23 17:54:09 -05:00
..
test_claude_subagent_mcp.py Unsloth start: add local subagents for Claude Code, Codex, OpenCode and Pi (#7326) 2026-07-22 04:34:58 -07:00
test_inference_chat.py Fix local CLI streamed generation error handling (#7135) 2026-07-20 23:14:58 -03:00
test_pi_subagent.py Unsloth start: add local subagents for Claude Code, Codex, OpenCode and Pi (#7326) 2026-07-22 04:34:58 -07:00
test_start.py Normalize PWD for POSIX agent launches (#7110) 2026-07-23 17:54:09 -05:00
test_studio_cloudflare_flag.py Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
test_studio_password_prompt.py Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
test_studio_run_parallel_flag.py unsloth start/run: tool-call flags, positional model, and grouped help (#7328) 2026-07-23 01:44:57 -07:00
test_studio_run_short_alias_clashes.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
test_studio_secure_flag.py Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
test_studio_verbose_flag.py Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00