unsloth/.github/scripts
danielhanchen 1dfa31ad04 Judge an absent capability field and a dead -h the way preflight does
The probe left studio_install_ok=absent undecided and judged those installs on
whether the backend booted. preflight/managed.rs:445 tests studio_install_ok
!= Some(true), so an absent field is Stale exactly like a false one; a CLI too
old to carry it is already rejected one check earlier on
desktop_manageability_version. The gap mattered in both directions: a payload
that stopped carrying the field reported HEALTHY on every booting leg and
skipped the re-run assertion this workflow exists to make, and a torn venv with
a working -h was failed as FALSE_READY even though the app would have offered
repair. unsloth_cli/commands/studio.py is in this workflow's path filter
precisely to catch that class of change, so it must not be the thing that
silences it.

The verdict also consulted cli_h_ok only in the repairable arm, so a CLI that
cannot print help was called HEALTHY whenever the backend happened to boot.
probe_managed_bin runs -h first and returns Stale cli_unusable before it ever
reaches the capability probe (managed.rs:465-478), so that install goes to
repair in the real app and the leg must assert it here.
2026-07-28 23:18:48 +00:00
..
agent-guides-drive.sh Give opencode real timeout headroom in Local Agent Guides CI (#7235) 2026-07-19 06:08:54 -07:00
agent-guides-install.sh CLI: Rename unsloth connect to unsloth start (#6613) 2026-07-03 08:17:27 -07:00
assert-llama-loads.sh Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
assert-prompt-cache.sh Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
ci-connect-prompt.txt Add Local Agent Guides CI (#6547) 2026-06-22 04:21:48 -07:00
ci-min-system-prompt.txt Add Local Agent Guides CI (#6547) 2026-06-22 04:21:48 -07:00
hf-download-with-retry.sh Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
interrupt-install.ps1 Run the Windows legs as the desktop does, and judge repair by what preflight reads 2026-07-28 20:11:35 +00:00
interrupt-install.sh Kill the group, and stop the probe blocking on a full pipe 2026-07-28 19:24:53 +00:00
interrupted_install_probe.py Judge an absent capability field and a dead -h the way preflight does 2026-07-28 23:18:48 +00:00
run-studio-permission-browser.sh Studio: clarify tool permission controls (#7181) 2026-07-20 09:55:39 -03:00
serve-unsloth-run.sh CLI: Rename unsloth connect to unsloth start (#6613) 2026-07-03 08:17:27 -07:00