Repository navigation
Tests: follow the media picker's Chat-aligned height, start pwsh through run_pwsh - #15758
Merged
Merged
Conversation
Member
Author
|
@codex review |
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: Didn't find any major issues. You're on a roll. 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". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repo tests (CPU, studio)fails on main, so it is red on every recent staging CI run (#15680, #15696, #15716, #15723 and others). Of its 6 failures, 4 are tests that no longer match intentional changes; this PR fixes those. The other 2 are real product slips on the login screen and are fixed separately.Media picker contracts (3 failures). #15726 lined the Images, Audio and Video model pickers up with Chat:
className="ml-1.5 max-w-full overflow-hidden !pl-2.5 !pr-1.5 !h-[var(--studio-chat-control-height,34px)]".triggerLabelClassNameoverride.tests/studio/test_desktop_reliability_frontend_contract.pystill pinned the old class string and the old label override, and counted two scaled!h-[calc(34px*var(--ui-space-scale,1))]literals on the Images and Video pages (and one on Audio) that are now the shared token:PowerShell spawn (1 failure).
tests/python/test_installer_compile_bytecode.py:271(from #15646) starts PowerShell withsubprocess.run.tests/studio/test_pwsh_calls_use_the_shared_runner.pyforbids that, because direct spawns share one PowerShell startup cache across xdist workers and can die at startup.Change
test_desktop_reliability_frontend_contract.py:_MEDIA_PICKER_CLASS), and that the label is not overridden, so the trigger reads like Chat's.!h-34pxcounts drop to what the pages still state literally: Images 1, Audio 0, Video 1. The "no bare!h-[34px]" half of that check is unchanged.test_the_media_pickers_take_chats_scaled_control_height: all three pages use the picker class, andindex.cssstill defines--studio-chat-control-heightascalc(Npx * var(--ui-space-scale, 1)). This keeps the original point of the scale check, a pill that grows with the UI scale, attached to the token the height now comes from.test_installer_compile_bytecode.py: the PowerShell case runs throughrun_pwshfromtests/_shared/unsloth_pwsh_runner.py, with the same argv and keyword arguments.Testing
--studio-chat-control-heightchanged to a bare33px, the new scaling test fails.