Skip to content

Use Unsloth branding in remaining user-facing text - #11254

Merged
shimmyshimmer merged 1 commit into
mainfrom
fix/unsloth-studio-wording
Sep 18, 2026
Merged

shimmyshimmer merged 1 commit into
mainfrom
fix/unsloth-studio-wording

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

Backend errors, installer and Docker output, API descriptions, and documentation still refer to Unsloth Studio as just "Studio". Use "Unsloth" for short app messages and "Unsloth Studio" where the distinction from the core library matters.

Update exact-text test expectations and preserve the existing documentation heading anchors. This is a text-only change. Commands, paths, environment variables, translation keys, API fields, and application logic are unchanged.

Validation:

  • Python AST comparison confirms that all 55 changed literals are wording changes, with no other code structure changes.
  • 81 chat generation and recovery tests passed; 99 installer shell checks passed.
  • Ruff lint and repository formatting, Bash and PowerShell syntax, and git diff --check passed.
  • Additional Docker and installer suites had 238 passes and 66 failures; documentation and dependency-step tests had 179 passes, 1 skip, and 2 failures. All 68 failures also reproduce on unchanged main at 6803a826: the Docker suites require Linux utilities unavailable on macOS, and the two pip-probe tests fail in the isolated test environment.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 18, 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-18T08:55:54.877947Z 12c0a26 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.

@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 12c0a26cd6

ℹ️ 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".

@shimmyshimmer
shimmyshimmer merged commit be95e41 into main Sep 18, 2026
73 of 75 checks passed
@shimmyshimmer
shimmyshimmer deleted the fix/unsloth-studio-wording branch September 18, 2026 08:58
danielhanchen added a commit that referenced this pull request Sep 18, 2026
#11254 reworded studio_home.sh line 35, "an image that has the Studio code" ->
"an image that has the Unsloth Studio code", and left the expectation in
test_docker_studio_home_volume.py behind. Main has been red in Backend CI /
Repo tests (CPU, python) since, on

  test_restore_without_a_legacy_dir_or_an_app_dir_says_which_image_to_use

The product change is right and matches that PR's own rule, so the test is what
moves. The wording is now one named constant, asserted against the script's
source as well as against the stderr a real run produces. That is the part worth
having: the old assertion compared two long strings and said nothing about the
fix being one line of shell, and the new test names the file and the constant.
Both halves fail when the script wording is reverted.
danielhanchen added a commit that referenced this pull request Sep 18, 2026
…11255)

* Say "Unsloth" on desktop surfaces, and sweep the whole crate for it

#11251 replaced bare "Studio" with "Unsloth Studio" in user-facing copy. The
complaint was right, the replacement was not: the desktop app displays itself
as "Unsloth", so tests/studio/test_tauri_branding_contract.py has been red on
main since that merge with 29 offenders. Use "Unsloth" in the swept surfaces,
which is also the rule #11254 wrote down half an hour later ("Unsloth for short
app messages, Unsloth Studio where the distinction from the core library
matters"). The app's own quit menu in main.rs already said "Quit Unsloth".

The i18n change is the two keys the sweep flags, in en plus 11 locales. The
remote-server keys keep the full name: they name a server the user points this
app at, which really is an Unsloth Studio. The log-export sentinel moves in
lockstep in native_file_dialogs.rs and debug-logs.ts, as its own Rust test
requires.

The test half is the more useful half. Its Rust sources were a hand-kept list
of six files, and two live violations sat in files nobody had added to it:
native_file_dialogs.rs owned the sentinel the settings tab renders, and
staged_update.rs told the user to "Quit Unsloth Studio". The sweep now walks
studio/src-tauri/src whole, at line granularity, with one verbatim exemption
for the AMSI stderr transcribed in install.rs from #8523 - rewriting that line
would stop the fixture reproducing the error it was captured from. A coverage
test pins that the crate walk stays non-empty, that the two formerly missed
files stay in it, that the exemption is still spent on a line that exists, and
that nothing is dropped beyond it.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
rhsCZ pushed a commit to rhsCZ/unsloth that referenced this pull request Sep 18, 2026
unslothai#11254 reworded studio_home.sh line 35, "an image that has the Studio code" ->
"an image that has the Unsloth Studio code", and left the expectation in
test_docker_studio_home_volume.py behind. Main has been red in Backend CI /
Repo tests (CPU, python) since, on

  test_restore_without_a_legacy_dir_or_an_app_dir_says_which_image_to_use

The product change is right and matches that PR's own rule, so the test is what
moves. The wording is now one named constant, asserted against the script's
source as well as against the stderr a real run produces. That is the part worth
having: the old assertion compared two long strings and said nothing about the
fix being one line of shell, and the new test names the file and the constant.
Both halves fail when the script wording is reverted.
Lxj74 pushed a commit to Lxj74/unsloth that referenced this pull request Sep 20, 2026
…lothai#11342)

* Point the interrupt legs at the phase label the installer prints

"Interrupted install recovery" has been red on main since unslothai#11254, and every pull
request that runs it inherits the failure. That PR renamed the dependency phase
"studio deps" to "Unsloth Studio deps" for branding, in
studio/install_python_stack.py. The branding change is right; what it could not
see is that .github/ci/interrupted-install-matrix.yml is the only other place
that spells the phase, and three legs still grep the install log for the old
text.

The effect is not a mismatched string in a message. The leg kills the installer
once the marker appears, so a marker that never appears means nothing is
interrupted: the installer runs to completion, exits 0, and the workflow's own
guard fails the leg for asserting nothing (reason=exited-before-marker, then
"installer exited 0 -- it COMPLETED inside the kill window"). Confirmed on main
run 35439142816, both studio-deps legs, with the install log showing the deps
pass finishing 16/16.

Retargets the three legs, and pins the coupling that was missing, so the next
rename fails in a CPU test rather than in a ten-minute macOS leg: every marker
in the matrix must be an ERE that matches text the installer sources still
carry, read the same way .github/scripts/interrupt-install.sh reads it. The
[TAURI:STEP] tag is put on the line by the logger rather than by the caller
naming the phase, so it is checked once against the sources instead of beside
each phrase.

Checked both ways: restoring the old marker fails exactly the three studio-deps
legs and nothing else, and renaming the phase in the installer while leaving the
matrix alone fails the same three.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Check each interrupt marker against the installer its leg runs

The pooled text let the wrong platform satisfy the assertion: a phrase renamed
only in install.ps1 leaves the Windows leg unreachable while install.sh still
carries it, and the reverse for the POSIX legs. Sources are now per job, with
install_python_stack.py on both because both installers run it, and the
[TAURI:STEP] tag is looked for in that job's sources rather than anywhere.

Checked by renaming "Installing PyTorch" in one installer at a time: renaming it
in install.ps1 fails only the Windows torch leg, and in install.sh only the two
POSIX ones.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
shaojun pushed a commit to shaojun/unsloth that referenced this pull request Sep 29, 2026
shaojun pushed a commit to shaojun/unsloth that referenced this pull request Sep 29, 2026
…thai#11262)

unslothai#11254 reworded studio_home.sh line 35, "an image that has the Studio code" ->
"an image that has the Unsloth Studio code", and left the expectation in
test_docker_studio_home_volume.py behind. Main has been red in Backend CI /
Repo tests (CPU, python) since, on

  test_restore_without_a_legacy_dir_or_an_app_dir_says_which_image_to_use

The product change is right and matches that PR's own rule, so the test is what
moves. The wording is now one named constant, asserted against the script's
source as well as against the stderr a real run produces. That is the part worth
having: the old assertion compared two long strings and said nothing about the
fix being one line of shell, and the new test names the file and the constant.
Both halves fail when the script wording is reverted.
shaojun pushed a commit to shaojun/unsloth that referenced this pull request Sep 29, 2026
…nslothai#11255)

* Say "Unsloth" on desktop surfaces, and sweep the whole crate for it

unslothai#11251 replaced bare "Studio" with "Unsloth Studio" in user-facing copy. The
complaint was right, the replacement was not: the desktop app displays itself
as "Unsloth", so tests/studio/test_tauri_branding_contract.py has been red on
main since that merge with 29 offenders. Use "Unsloth" in the swept surfaces,
which is also the rule unslothai#11254 wrote down half an hour later ("Unsloth for short
app messages, Unsloth Studio where the distinction from the core library
matters"). The app's own quit menu in main.rs already said "Quit Unsloth".

The i18n change is the two keys the sweep flags, in en plus 11 locales. The
remote-server keys keep the full name: they name a server the user points this
app at, which really is an Unsloth Studio. The log-export sentinel moves in
lockstep in native_file_dialogs.rs and debug-logs.ts, as its own Rust test
requires.

The test half is the more useful half. Its Rust sources were a hand-kept list
of six files, and two live violations sat in files nobody had added to it:
native_file_dialogs.rs owned the sentinel the settings tab renders, and
staged_update.rs told the user to "Quit Unsloth Studio". The sweep now walks
studio/src-tauri/src whole, at line granularity, with one verbatim exemption
for the AMSI stderr transcribed in install.rs from unslothai#8523 - rewriting that line
would stop the fixture reproducing the error it was captured from. A coverage
test pins that the crate walk stays non-empty, that the two formerly missed
files stay in it, that the exemption is still spent on a line that exists, and
that nothing is dropped beyond it.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
shaojun pushed a commit to shaojun/unsloth that referenced this pull request Sep 29, 2026
…lothai#11342)

* Point the interrupt legs at the phase label the installer prints

"Interrupted install recovery" has been red on main since unslothai#11254, and every pull
request that runs it inherits the failure. That PR renamed the dependency phase
"studio deps" to "Unsloth Studio deps" for branding, in
studio/install_python_stack.py. The branding change is right; what it could not
see is that .github/ci/interrupted-install-matrix.yml is the only other place
that spells the phase, and three legs still grep the install log for the old
text.

The effect is not a mismatched string in a message. The leg kills the installer
once the marker appears, so a marker that never appears means nothing is
interrupted: the installer runs to completion, exits 0, and the workflow's own
guard fails the leg for asserting nothing (reason=exited-before-marker, then
"installer exited 0 -- it COMPLETED inside the kill window"). Confirmed on main
run 35439142816, both studio-deps legs, with the install log showing the deps
pass finishing 16/16.

Retargets the three legs, and pins the coupling that was missing, so the next
rename fails in a CPU test rather than in a ten-minute macOS leg: every marker
in the matrix must be an ERE that matches text the installer sources still
carry, read the same way .github/scripts/interrupt-install.sh reads it. The
[TAURI:STEP] tag is put on the line by the logger rather than by the caller
naming the phase, so it is checked once against the sources instead of beside
each phrase.

Checked both ways: restoring the old marker fails exactly the three studio-deps
legs and nothing else, and renaming the phase in the installer while leaving the
matrix alone fails the same three.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Check each interrupt marker against the installer its leg runs

The pooled text let the wrong platform satisfy the assertion: a phrase renamed
only in install.ps1 leaves the Windows leg unreachable while install.sh still
carries it, and the reverse for the POSIX legs. Sources are now per job, with
install_python_stack.py on both because both installers run it, and the
[TAURI:STEP] tag is looked for in that job's sources rather than anywhere.

Checked by renaming "Installing PyTorch" in one installer at a time: renaming it
in install.ps1 fails only the Windows torch leg, and in install.sh only the two
POSIX ones.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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