Repository navigation
Re-couple the Docker restore hint to the script that prints it - #11262
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
#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.
2639344 to
c9bb275
Compare
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
…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.
What
Backend CI / Repo tests (CPU, python)is red on main atbe95e417b:#11254 reworded
docker/studio_home.sh:35:and left the expectation behind. That expectation dates from #10829 and had not been touched since, so the drift is one-sided. The product change is right and matches #11254's own rule ("Unsloth Studio where the distinction from the core library matters"), and
docker/is not a desktop display surface, so nothing here conflicts with the branding contract. The test is what moves.The change
The wording becomes one named constant,
RESTORE_NEEDS_APP_HINT, asserted twice:docker/studio_home.shitself, in a new test.The second assertion is the point. The old failure compared two long strings and gave no hint that the fix was one line of shell in another directory; the new one says which file stopped printing the sentence and which constant to update if the rewording was deliberate. Keeping both matters: the source check alone would pass on a script that no longer reaches that branch at all.
Verification
be95e417b: 1 failed, 31 passed.docker/studio_home.sh. Restoring it returns 33 passed.tests/pythonfor other drift from Use Unsloth branding in remaining user-facing text #11254's 55 literals: nothing else. The 59 remaining failures are the knowntest_vision_lora_targeting/test_rocm_bf16_capability/test_patch_trl_rl_trainers_defensivegroup, which fail identically on unmodified main on this host and are green in CI.Context
This is the third red on main today from the same pair of copy PRs. The other two are #11255 (the desktop branding contract, 29 offenders from #11251) and #11257 (an unrelated idle-unload race). All three are independent and can land in any order.