Repository navigation
Route today's new PowerShell test calls through the shared runner - #11285
Conversation
tests/studio/test_pwsh_calls_use_the_shared_runner.py is red on main. Two changes that landed today added pwsh calls through subprocess.run: the stale-copy sweep and helper tests in #11248, and the temp-scanner tests carried over in #11280. Both share one $XDG_CACHE_HOME/powershell startup cache with every other xdist worker, which is the failure mode that test exists to prevent, and which reads as a Windows-installer regression when it hits. run_pwsh takes the argv the call site already built, so each is a one-word change and no invocation flags move.
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 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. |
|
Codex Review: Didn't find any major issues. Chef's kiss. 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". |
|
Check status for this branch. Green and relevant: Repo tests (CPU, studio) passes here, which is the check this PR exists to restore. It is the only job that runs either of the two files touched. Red and pre-existing, none of it reachable from this diff:
This PR only routes four pwsh invocations in two test files through the existing run_pwsh helper, so no non-Windows job changes behaviour. |
…slothai#11285) tests/studio/test_pwsh_calls_use_the_shared_runner.py is red on main. Two changes that landed today added pwsh calls through subprocess.run: the stale-copy sweep and helper tests in unslothai#11248, and the temp-scanner tests carried over in unslothai#11280. Both share one $XDG_CACHE_HOME/powershell startup cache with every other xdist worker, which is the failure mode that test exists to prevent, and which reads as a Windows-installer regression when it hits. run_pwsh takes the argv the call site already built, so each is a one-word change and no invocation flags move.
tests/studio/test_pwsh_calls_use_the_shared_runner.pyis red on main:Repo tests (CPU, studio)fails on every PR branched off it.Two changes that landed today added
pwshcalls throughsubprocess.run:tests/test_studio_install_workspace_guard.py(Studio: stop a Windows update deleting the venv it is running from #11248) at the stale-copy sweep tests and theGet-SetupHostInterpreterInVenvprobe.tests/python/test_compiler_watch_temp_scan.py(Carry over five temp-scanner fixes that landed after #11217 merged #11280) at its three temp-scan drives.Both share one
$XDG_CACHE_HOME/powershellstartup cache with every other xdist worker, which is the failure the convention test exists to prevent: pwsh dies at startup withStack overflow.orThe given assembly name was invalid, andcheck = Truerenders that as the script having failed, so it reads as a Windows-installer regression.run_pwshtakes the argv the call site already built, so each is a one-word change: no invocation flags move, no test body changes.Locally:
tests/studio/test_pwsh_calls_use_the_shared_runner.py6 passed (1 failed before),tests/test_studio_install_workspace_guard.py98 passed 1 skipped,tests/python/test_compiler_watch_temp_scan.py22 passed. ruff and the repo formatter clean on both files.