Repository navigation
Repair two more backend checks red on main - #15003
Merged
Merged
Conversation
- test_route_llama_streaming_async_clients_disable_proxy_env: #14546 routes the five local llama-server clients through gated_async_client, which wraps httpx.AsyncClient, so the AST walk found none. Count both spellings, still require trust_env=False on each, and pin that the wrapper forwards its kwargs to httpx.AsyncClient. - test_diffusion_zimage_cfg_split: name the encoding on the diffusion.py read (#14868), which test_checked_in_file_reads_name_an_encoding requires.
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. Keep them coming! 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". |
danielhanchen
added a commit
that referenced
this pull request
Oct 23, 2026
…mage_cfg_split (#15040) `tests/test_source_read_encoding.py::test_checked_in_file_reads_name_an_encoding` fails on `main` again, for example in `Repo tests (CPU, rest)` on #15033: ``` studio/backend/tests/test_diffusion_zimage_cfg_split.py:551: read_text() studio/backend/tests/test_diffusion_zimage_cfg_split.py:748: read_text() ``` #14955 added two more reads of `diffusion.py` with the platform default encoding to the same test file #15003 fixed earlier. Both now pass `encoding = "utf-8"`. ## Verification - On `main`: `-k checked_in_file_reads` gives 1 failed, 15 passed. - On this branch: 16 passed. - `studio/backend/tests/test_diffusion_zimage_cfg_split.py`: 35 passed.
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.
Two more backend checks fail on
main(60c7715). Both reproduce on a cleanmainworktree, and in both the test needed to change, not the product.studio/backend/tests/test_inference_dispatcher_resilience.py::test_route_llama_streaming_async_clients_disable_proxy_env(assert 0 == 5)routes/inference.pythroughgated_async_client. It wrapshttpx.AsyncClientso that conversation-archive embedding pauses for the request. The AST walk only matchedhttpx.AsyncClient(...), so it found none. It now counts both spellings and still requirestrust_env=Falseon each of the five. It also pins thatgated_async_clientpasses its**kwargsto thehttpx.AsyncClientit builds, which is the step that keeps a proxy setting from reaching the local server.tests/test_source_read_encoding.py::test_checked_in_file_reads_name_an_encoding[6]test_diffusion_zimage_cfg_split.pyreaddiffusion.pywithread_text(). That read now passesencoding = "utf-8".The product side checks out: all five
gated_async_client(...)calls passtrust_env = False, and the wrapper forwards it.Verification
test_inference_dispatcher_resilience.pyandtest_diffusion_zimage_cfg_split.py: 38 passed.tests/test_source_read_encoding.py: 16 passed.trust_env = Falsefrom one of the five calls;gated_async_clientdrop its**kwargs;read_text().