Studio: add UNSLOTH_SKIP_AUTOSTART installer flag - #7093
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the UNSLOTH_SKIP_AUTOSTART environment variable to both the bash (install.sh) and PowerShell (install.ps1) installers, allowing users to bypass the interactive post-install prompt that launches Unsloth Studio. This is useful for automated installations. The changes are documented in the README.md and verified with new tests. Feedback suggests adding a platform check to skip the POSIX-specific test on environments where sh is unavailable (such as native Windows) to prevent test failures.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
d9e7a2b to
6c32ddc
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
UNSLOTH_SKIP_AUTOSTARTto the POSIX and PowerShell Studio installersUNSLOTH_NO_TORCH+ autostart parsing, prompt gating, documentation, and WSL forwardingTests
uv run --no-project --with pytest python -m pytest -q tests/test_installer_skip_autostart.py tests/python/test_cross_platform_parity.py tests/test_studio_install_workspace_guard.pybash tests/sh/test_strixhalo_wsl_reroute.shbash tests/sh/test_tauri_install_exit_order.shbash tests/sh/test_mac_intel_compat.shsh -n install.shinstall.ps1ruff check tests/test_installer_skip_autostart.py45 passed; full workflow tree clean)