Skip to content

fix(studio): restore eager Settings and keep startup splash until ready - #10629

Merged
wasimysaid merged 4 commits into
unslothai:mainfrom
wasimysaid:fix/settings-loading-card
Sep 9, 2026
Merged

wasimysaid merged 4 commits into
unslothai:mainfrom
wasimysaid:fix/settings-loading-card

Conversation

@wasimysaid

@wasimysaid wasimysaid commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Restore eager SettingsDialog/FloatingMonitor imports and mounting after auth/credential readiness, removing the outer lazy loading card and interim overlay introduced by Lazy-load Studio entry surfaces #10236. Preserve later monitor extraction and auth safety.
  • Keep the existing branded desktop startup screen (Unsloth logo and Loading models status) through backend auth, credential bootstrap, and initial route readiness. Previously it disappeared after backend auth, exposing a second plain Loading screen.
  • Mount the app underneath the same splash with preserved geometry, hidden and inert until the existing app-shell-ready event. Defer native intents until reveal. Keep native titlebar controls accessible.
  • Reset readiness on backend/auth unavailability; use a 15-second escape to expose recovery UI if readiness hangs, without bypassing credential gating. Normal startup goes from branded splash directly to app.
  • Web startup and unrelated lazy-route/Find behavior unchanged. Shared RouteFallback remains available for non-startup navigation/recovery.

Verification

  • 68 focused tests pass: startup-handoff, startup-messages, credential-persistence, monitor-frame-ownership, window-layout.
  • Production TypeScript and git diff --check pass. New source-contract assertions failed against the earlier implementations.
  • Earlier eager Settings revision also passed 60 focused tests.
  • No native visual startup recording/full build for this quick pass. Timeout may expose the original fallback on a genuinely hung startup. Earlier broad suite checks found failures in unchanged chat tests and number-format expectations; those checks are not claimed green.

Follow-up to #10236 plus the reported duplicate desktop startup screen. Supersedes the initial label-only approach.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@wasimysaid

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-09T15:41:11.429039Z b4025cd Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 1b0d2ba0bd

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wasimysaid wasimysaid changed the title fix(studio): remove flashing Settings and startup loading labels fix(studio): restore eager Settings and monitor opening Sep 9, 2026
@wasimysaid wasimysaid changed the title fix(studio): restore eager Settings and monitor opening fix(studio): restore eager Settings and keep startup splash until ready Sep 9, 2026
@wasimysaid

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@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: d076dbad89

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread studio/frontend/src/app/provider.tsx Resolved
Comment thread studio/frontend/src/app/provider.tsx Resolved
@wasimysaid

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@wasimysaid
wasimysaid merged commit e3e457a into unslothai:main Sep 9, 2026
2 of 29 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: b4025cda6a

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

danielhanchen added a commit that referenced this pull request Sep 10, 2026
Frontend CI has been red since main crossed the 1,582.0 KB eager-transfer
ceiling, and it is not one change that did it. Four builds on one machine, same
toolchain, transfer / raw / chunks:

  3f2c895  #10629's parent          1,574.7 / 5,260.1 / 91
  e3e457a  #10629 eager Settings    1,579.9 / 5,288.8 / 82
  19c86b3  last green Frontend CI   1,576.5 / 5,267.6 / 91
  7436c10  main                     1,585.6 / 5,306.4 / 82

#10629 is the largest single contributor at +5.2 KB. It statically imports
SettingsDialog and FloatingMonitor, which is the fix it shipped, and which is
what folds nine chunks into the eager graph and takes settings-*.js from
158.0 KB raw to 208.2 KB. Making Settings lazy again would undo that PR rather
than fix anything. It landed with 2.1 KB of headroom left; the commits after it
spent it.

So this is the other branch the guard's own message offers: raise the budget with
the measurement. 1,645,000 bytes leaves 20.9 KB spare, about the headroom the
previous raise took. Raw is untouched at 5,500,000, still 64.7 KB clear.
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