Skip to content

Fix Studio desktop reliability - #7255

Merged
wasimysaid merged 8 commits into
mainfrom
fix/studio-desktop-reliability
Jul 21, 2026
Merged

wasimysaid merged 8 commits into
mainfrom
fix/studio-desktop-reliability

Conversation

@wasimysaid

Copy link
Copy Markdown
Collaborator

Summary

  • route Studio chat and prompt exports through native save dialogs in Tauri while retaining browser downloads
  • add bounded native chat import for JSONL, NDJSON, and CSV, plus raw byte IPC for exports
  • separate full app layout restoration from setup window state, including migration of compatible legacy state
  • fix expanded and collapsed sidebar and titlebar alignment and rounded corner compositing
  • validate model directory targets and open them in a detached file manager process
  • add macOS microphone entitlement and usage metadata for existing dictation

Testing

  • cargo test --manifest-path studio/src-tauri/Cargo.toml --no-fail-fast (63 passed)
  • cd studio/frontend && npm run typecheck
  • cd studio/frontend && npx biome check src/components/tauri/window-titlebar.tsx src/lib/native-files.ts
  • ~/.unsloth/studio/unsloth_studio/bin/python -m pytest -q tests/studio/test_desktop_reliability_frontend_contract.py (3 passed)
  • cargo fmt --manifest-path studio/src-tauri/Cargo.toml -- --check
  • git diff --check

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces native file dialog support for saving and importing files in Tauri, falling back to standard browser downloads and uploads on the web. It adds new Tauri commands for managing the application window layout initialization state, requests macOS microphone permissions for local voice dictation, and refactors directory opening to use detached processes. Additionally, titlebar styling was adjusted for pinned/unpinned states, and Python contract tests were added to ensure reliability. I have no feedback to provide as the changes are well-implemented and covered by tests.

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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8fc1838328

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread studio/src-tauri/src/app_layout.rs Resolved
@wasimysaid

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5b65557a34

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread studio/src-tauri/src/app_layout.rs Resolved
@wasimysaid

Copy link
Copy Markdown
Collaborator Author

@codex review

@wasimysaid
wasimysaid force-pushed the fix/studio-desktop-reliability branch from 17c92e4 to 1dcd369 Compare July 20, 2026 12:06
@wasimysaid
wasimysaid force-pushed the fix/studio-desktop-reliability branch from 1dcd369 to 6c3e824 Compare July 20, 2026 12:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6c3e824dbd

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread studio/frontend/src/lib/native-files.ts Resolved
Comment thread studio/src-tauri/src/app_layout.rs Resolved
@wasimysaid

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 75cbbc4fa9

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@wasimysaid
wasimysaid merged commit 5f92658 into main Jul 21, 2026
48 of 50 checks passed
@wasimysaid
wasimysaid deleted the fix/studio-desktop-reliability branch July 21, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant