unsloth/.github/workflows
Daniel Han 7878c655f0 ci(inference): trim tool-calling test wall-time roughly 50%
The "Tool calling, server-side tools, thinking on/off" step was the
single largest cost in the inference smoke jobs:

  Mac:     338s (the user complaint)
  Linux:   176s
  Windows:  85s (variance bounded; macos runner is ~10 tok/s vs ~30 tok/s)

Two surgical cuts that preserve all distinct coverage axes:

(1) Drop the dedicated "Server-side bash (terminal) tool" axis. The
    python-tool axis above already exercises the same server-side
    agentic-loop wiring (SSE streaming + tool dispatch + tool-result
    re-prompting); the only difference between the two axes is which
    entry of the tool registry resolves: python_run vs terminal_run.
    Studio's terminal tool has its own unit tests under
    tests/studio/test_terminal_tool*.py; the smoke axis was duplicated
    coverage. Saves one full SSE round per job (~30 s on macos, ~12 s
    on linux/windows).

(2) Halve max_tokens on the remaining 4 axes. The previous numbers
    (300-600 across the board) were 2-4x what each prompt actually
    needs to land an answer. New caps:

      function calling: 300/120/600 -> 128/96/128 (mac/linux/win)
      python tool:      256/600/600 -> 128/320/320
      web_search:       200/400/400 -> 96/192/192
      thinking on/off:  150/300/300 -> 80/160/160

    All assertions are unchanged. function calling stays grammar-
    constrained by tool_choice='required'; python tool stays gated on
    "56088" appearing in the SSE stream; web_search stays a
    non-blocking probe; thinking on/off stays gated on the think
    marker behaviour.

Expected wallclock:
  Mac     338 -> ~170 s (target: -50%)
  Linux   176 -> ~80 s
  Windows  85 -> ~50 s

If a real Studio regression slips through, the linux/windows axis
still has the hard `assert "56088" in content` (python tool agentic
loop). The python axis remains the canonical proof that tool dispatch
+ tool-result re-prompting both work.
2026-05-08 08:54:08 +00:00
..
consolidated-tests-ci.yml ci(core): factor llama.cpp build out of consolidated matrix into its own job 2026-05-08 08:44:38 +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(inference): trim tool-calling test wall-time roughly 50% 2026-05-08 08:54:08 +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(inference): trim tool-calling test wall-time roughly 50% 2026-05-08 08:54:08 +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 ci(inference): trim tool-calling test wall-time roughly 50% 2026-05-08 08:54:08 +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