unsloth/studio/src-tauri/src
Daniel Han 71f7e1087b
Studio: run the src-tauri unit tests in CI and fix the two that never ran (#7558)
studio-tauri-smoke.yml only ever built the crate, so none of its ~100 unit
tests executed. Running them surfaced two that were broken on platforms CI
never exercised:

- non_utf8_import_name_preserves_csv_extension built a filename containing a
  raw 0xFF byte. Linux stores that fine, macOS enforces UTF-8 on APFS/HFS+ and
  refuses to create it, so the test panicked on the unwrap. Skip when the
  filesystem rejects the name; the branch under test is only reachable where
  such a file can exist.

- losing_a_studio_package_changes_the_fingerprint created the posix venv
  layout unconditionally, but site_packages_dirs() only walks
  lib/<pyver>/site-packages on unix and looks at Lib/site-packages on Windows.
  The dist-info was therefore invisible to the fingerprint there, removing it
  changed nothing and the assert_ne could never hold. Build the layout the
  code actually reads for the target platform.

Add the cargo test step to the existing Tauri job, where the toolchain and
WebKit dev packages are already installed.
2026-07-28 07:01:13 -07:00
..
diagnostics Surface actionable installer failures in Studio desktop (#7529) 2026-07-28 10:19:44 +02:00
preflight Studio: run the src-tauri unit tests in CI and fix the two that never ran (#7558) 2026-07-28 07:01:13 -07:00
app_layout.rs Fix Studio desktop reliability (#7255) 2026-07-21 09:51:18 +02:00
commands.rs Fix Studio desktop reliability (#7255) 2026-07-21 09:51:18 +02:00
desktop_auth.rs Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
desktop_backend_owner.rs Studio: detect an interrupted dependency install instead of launching a backend that cannot import (#7492) 2026-07-28 10:57:20 +02:00
desktop_update_policy.rs Harden Tauri release flow (#5341) 2026-05-12 20:30:20 -07:00
install.rs Surface actionable installer failures in Studio desktop (#7529) 2026-07-28 10:19:44 +02:00
main.rs Fix image and file paste in Studio desktop (#7543) 2026-07-28 13:46:51 +02:00
native_backend_lease.rs Update safe Studio Tauri cargo dependencies (#6612) 2026-06-23 16:15:00 +02:00
native_clipboard.rs Fix image and file paste in Studio desktop (#7543) 2026-07-28 13:46:51 +02:00
native_file_dialogs.rs Studio: run the src-tauri unit tests in CI and fix the two that never ran (#7558) 2026-07-28 07:01:13 -07:00
native_intents.rs Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
native_path_policy.rs Fix Studio desktop reliability (#7255) 2026-07-21 09:51:18 +02:00
preflight.rs Studio: detect an interrupted dependency install instead of launching a backend that cannot import (#7492) 2026-07-28 10:57:20 +02:00
process.rs Speed up Studio desktop startup (#6742) 2026-06-29 15:27:39 +02:00
update.rs studio: regenerate desktop launcher on unsloth studio update (macOS + Linux + Windows) (#5577) 2026-05-19 05:49:10 -07:00
windows_job.rs Add tauri (#5144) 2026-04-23 04:50:10 -07:00