unsloth/.github/workflows
Daniel Han e1345d5f1b Revert: drop Windows cache steps -- measured neutral / negative
The cache plan added in d65f8b19 was meant to shave ~5min off Windows
install time, but a controlled rerun on the same SHA shows it doesn't.
Side-by-side timing of the install step (cache miss vs cache hit on the
same Windows Update CI job, same workflow, same source):

  cache miss (385s)        | cache hit (450s, +65s slower)
  -----------------------  | -----------------------------
  Cache restore     1s     | 83s   (76s Studio venv + 4 + 3)
  Frontend build    159s   | 204s  ("Frontend source changed since
                           |        last build -- rebuilding...")
  PyTorch + 9 deps  81s    | 95s
  llama.cpp install 39s    | 13s   ("prebuilt up to date and validated")
  Cache save (post) 17s    | 0s    (no upload, hash matched)

Root causes:
1. The Studio venv cache is a no-op. install.ps1 line 1097-1120 sees the
   cached venv, calls Start-StudioVenvRollback to MOVE it aside as a
   rollback backup, then unconditionally creates a fresh venv at line
   1167. Cache restore costs 76s for a 398MB venv that is then thrown
   away.
2. The frontend dist cache is a no-op. setup.ps1 line 1281-1296 checks
   `LastWriteTime > $DistTime` for every source file. git checkout sets
   all source mtimes to "now" while restored dist mtimes are from
   cache-creation time, so the staleness check always wins and rebuilds.
3. Only the llama.cpp prebuilt cache works (saves ~26s). Not enough to
   offset the other two.

Reverting the cache plan is safer than partially fixing it and waiting
for a follow-up to land. install.ps1 + setup.ps1 would both need
modification to make the cache useful, and that change touches all
platforms. The non-Windows mirrors of these workflows (-mac-, regular
linux) never had cache steps, so this revert restores parity.

The four other commits in this branch (Recents click bound, jq health
check, sys.stdio explicit handles, setup.ps1 stdout mirror, single-
process Chromium darwin-only, github_blob_to_raw netloc check) all
remain.
2026-05-08 08:18:44 +00:00
..
consolidated-tests-ci.yml CI(Core): expand KNOWN_BROKEN_COMPILE with 7 latest-transformers failures 2026-05-07 09:17:47 +00:00
lint-ci.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
mlx-ci.yml ci(mac): make Mac smoke tests robust to Metal output drift 2026-05-07 05:38:17 +00:00
notebooks-ci.yml CI(notebooks): api-introspect installs unsloth from local checkout 2026-05-07 12:58:34 +00:00
release-desktop.yml Fix Studio desktop tray installer and titlebar and bux fixes (#5179) 2026-04-30 08:40:39 -07:00
security-audit.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
stale.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
studio-api-smoke.yml CI(studio): fix 4 real failures surfaced by the new smoke jobs 2026-05-07 04:20:11 +00:00
studio-backend-ci.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
studio-frontend-ci.yml CI(studio): always-upload artifacts + gate /api/system + path/health plumbing 2026-05-07 04:09:09 +00:00
studio-inference-smoke.yml CI(studio): always-upload artifacts + gate /api/system + path/health plumbing 2026-05-07 04:09:09 +00:00
studio-mac-api-smoke.yml ci(mac): add Mac Studio API/UI/GGUF CI workflows 2026-05-07 05:14:51 +00:00
studio-mac-inference-smoke.yml ci(mac): trim max_tokens + timeouts so tool-calling/json fit in 25min 2026-05-07 08:59:32 +00:00
studio-mac-ui-smoke.yml ci(mac): single-process Chromium + JSON.parse try/catch in pipeTransport 2026-05-07 11:05:32 +00:00
studio-mac-update-smoke.yml ci(mac): add Mac Studio Update CI 2026-05-07 05:08:43 +00:00
studio-tauri-smoke.yml CI(studio): always-upload artifacts + gate /api/system + path/health plumbing 2026-05-07 04:09:09 +00:00
studio-ui-smoke.yml CI(ui): add second Playwright job covering Compare/Recipes/Export/Studio/Settings 2026-05-07 04:09:09 +00:00
studio-update-smoke.yml CI(update-smoke): drop cache: 'pip' to avoid fatal post-step 2026-05-07 07:38:26 +00:00
studio-windows-api-smoke.yml Revert: drop Windows cache steps -- measured neutral / negative 2026-05-08 08:18:44 +00:00
studio-windows-inference-smoke.yml Revert: drop Windows cache steps -- measured neutral / negative 2026-05-08 08:18:44 +00:00
studio-windows-ui-smoke.yml Revert: drop Windows cache steps -- measured neutral / negative 2026-05-08 08:18:44 +00:00
studio-windows-update-smoke.yml Revert: drop Windows cache steps -- measured neutral / negative 2026-05-08 08:18:44 +00:00
wheel-smoke.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00