Repository navigation
Fix three tests red on main after #12431, #12408 and #12382 - #12441
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. Nice work! 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.
Problem
Three tests are red on main (
407246cc9), so every PR picks them up (seen on #12433). Each comes from a deliberate product change that a test pinned too tightly. In every case the product is right and the test is wrong.tests/studio/test_settings_compact_overflow_contract.py::test_api_monitor_entries_and_expanded_text_can_shrinkscroll-roundedinside the API monitor's text box class string, which the test matched as one exact substringstudio/backend/tests/test_diffusion_memory.py::test_top_level_group_counts_against_the_running_pin_total_pin_top_level_groupto pin, butTensor.pin_memory()raisesCannot access accelerator device when none is availableon the CPU runners, so the function correctly returnsFalsestudio/backend/tests/test_video_chat_completions_behaviour.py::test_the_text_of_the_turn_survives_translation[Current date: YYYY-MM-DD]\n\n, so the user text arrives as[Current date: 2026-10-01]\n\nwhat colour?Fix (tests only)
max-h-72,overflow-autoandbreak-words; added tokens such asscroll-roundedno longer matter.Tensor.pin_memory(monkeypatched for this test only). The accounting now actually runs on CPU CI instead of failing at the pin. The real pinning is still covered by the two..._on_a_real_gputests, which skip without CUDA.what colour?, optionally preceded by that one date note. Any other rewrite of the user's text still fails.Verification
max-h-72from the API monitor text box;_pin_top_level_groupignore the running total (already = 0), which lets the over-budget call pin;_translate_video_parts.