Repository navigation
Repair the studio-install checks red on main - #14995
Merged
Merged
Conversation
- install.ps1 / setup.ps1: read UV_NO_SYSTEM_CONFIG and UV_NO_CONFIG through Test-UvEnvFlag instead of an inlined copy (#14686). setup.ps1 now defines Test-UvEnvFlag and Test-PipEnvFlag ahead of Test-MirrorConfigured, which Invoke-MirrorFallback -SpareOnly reaches before the old definition ran; a new test pins that order. - test_rocm_native_linux_lib_dirs: follow #14933, which holds the native-Linux ROCm dirs in a local before extending lib_dirs. Still asserts they land ahead of binary_dir and after the WSL DXG decision.
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. Breezy! 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.
Repo tests (CPU, studio-install)fails onmain(c5482a5). Four tests fail in two groups, and both reproduce on a cleanmaincheckout.test_uv_boolish_parity.py::test_every_resolver_variable_in_shipped_powershell_goes_through_a_reader[install.ps1, setup.ps1]#14686 added
Test-MirrorConfigured's uv config discovery. It decidesUV_NO_SYSTEM_CONFIGandUV_NO_CONFIGwith an inlined copy of uv's boolish set, becausesetup.ps1reaches that code before it definesTest-UvEnvFlag. The guard exists so everyUV_*/PIP_*switch goes through the one reader, so the code is what needed to change:Test-UvEnvFlag 'UV_NO_SYSTEM_CONFIG'andTest-UvEnvFlag 'UV_NO_CONFIG'.setup.ps1definesTest-UvEnvFlag/Test-PipEnvFlagahead ofTest-MirrorConfigured. The block moved unchanged, with one added comment line.install.ps1already defines it earlier in the same function.test_setup_defines_the_uv_reader_before_its_first_mirror_probepins that order. This hazard is what led to the inline copy in the first place.Behaviour is unchanged. Under
Set-StrictMode -Version Latest,Test-MirrorConfigured -Tool uvreturns the same answer on base and head, in both scripts, with a useruv.tomlcarrying an index andUV_NO_CONFIGset to each of unset,off,0,no,YES,1,true.test_rocm_native_linux_lib_dirs.py::TestLlamaCppRuntimeNativeOrdering#14933 now holds the native-Linux ROCm dirs in
_system_rocm, so it can skip them when they hide the GPU. The source check still looked for the old one-linelib_dirs.extend(_native_linux_system_rocm_lib_dirs(binary_dir)). The test was out of date. It now finds the helper call, follows the local it is assigned to, and still asserts two orderings:lib_dirs.extend(...), thenlib_dirs.append(binary_dir)Verification
tests/studio/install/test_rocm_native_linux_lib_dirs.pyandtest_uv_boolish_parity.py: 4 failed onmain, 581 passed on this branch.tests/studio/install/test_denied_llama_cpp_preflight.py(byte parity of the shared install/setup helpers): passes.pwsh tests/studio/test_mirror_fallback.ps1: 142 PASS, 0 FAIL.lib_dirs.append(binary_dir)above the native block fails the ROCm ordering test.main'ssetup.ps1fails both the reader test and the new ordering test.