Repository navigation
Improve reliability of certain managed python tests on Windows CI - #17177
Merged
Merged
Conversation
EliteTK
force-pushed
the
tk/remedy_windows_ci_timeouts
branch
from
December 18, 2025 17:07
155f3fd to
efcbc01
Compare
python_install test reliability on Windows
EliteTK
temporarily deployed
to
uv-test-registries
December 18, 2025 17:10 — with
GitHub Actions
Inactive
EliteTK
marked this pull request as ready for review
December 18, 2025 17:24
zanieb
reviewed
Dec 18, 2025
Member
Author
|
Looks like it's only half working now...? (after the change to using |
Member
Author
EliteTK
marked this pull request as draft
December 18, 2025 18:31
EliteTK
temporarily deployed
to
uv-test-registries
December 18, 2025 18:34 — with
GitHub Actions
Inactive
Member
Author
|
Original results with an extra columns for max-threads and for serialising all the python_install tests:
Some of this could be noise, but some tests seem to be slow running when ran with a bunch of other tests, and some seem to be very slow only with other python_install tests. But most seem to fall into the latter group. As a bonus, however, in a full run with no filters, there seems to be almost no overhead to running these all as serialised. (Updated with change %) |
EliteTK
force-pushed
the
tk/remedy_windows_ci_timeouts
branch
from
December 22, 2025 20:50
b2db2ad to
e724c2c
Compare
EliteTK
temporarily deployed
to
uv-test-registries
December 22, 2025 20:52 — with
GitHub Actions
Inactive
EliteTK
temporarily deployed
to
uv-test-publish
December 22, 2025 20:53 — with
GitHub Actions
Inactive
EliteTK
force-pushed
the
tk/remedy_windows_ci_timeouts
branch
from
December 22, 2025 20:58
e724c2c to
405b315
Compare
EliteTK
had a problem deploying
to
uv-test-registries
December 22, 2025 21:01 — with
GitHub Actions
Error
EliteTK
force-pushed
the
tk/remedy_windows_ci_timeouts
branch
from
December 22, 2025 21:02
405b315 to
965d844
Compare
python_install test reliability on Windows
EliteTK
temporarily deployed
to
uv-test-registries
December 22, 2025 21:04 — with
GitHub Actions
Inactive
EliteTK
force-pushed
the
tk/remedy_windows_ci_timeouts
branch
from
December 22, 2025 21:20
965d844 to
a8d2eb2
Compare
EliteTK
temporarily deployed
to
uv-test-registries
December 22, 2025 21:23 — with
GitHub Actions
Inactive
EliteTK
marked this pull request as ready for review
December 22, 2025 21:39
zanieb
approved these changes
Dec 22, 2025
This was referenced Oct 12, 2026
Open
This branch was previously deployed
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
Results:
Comparing https://github.com/astral-sh/uv/actions/runs/20342580132/job/58446553156?pr=17177 against https://github.com/astral-sh/uv/actions/runs/20338690535/job/58431797575.
Overall test time went down from 279.163s to 258.427s - presumably not related though as this should be marginally slower. Here are some local tests (on linux):
Summary [ 34.452s] 45 tests run: 44 passed (12 slow), 1 failed, 3314 skippedthreads-required = "num-test-threads":Summary [ 117.991s] 45 tests run: 44 passed (1 slow), 1 failed, 3314 skippedthreads-required = 4:Summary [ 48.793s] 45 tests run: 44 passed (4 slow), 1 failed, 3314 skippedSummary [ 371.911s] 3357 tests run: 3356 passed (49 slow), 1 failed, 2 skippedthreads-required = "num-test-threads":Summary [ 451.323s] 3357 tests run: 3356 passed (26 slow), 1 failed, 2 skippedthreads-required = 4:Summary [ 386.213s] 3357 tests run: 3356 passed (31 slow), 1 failed, 2 skipped(Failed test is not related)
Conclusion
I think this is a good way to gain more reliability for these tests on all platforms, but I am not certain that we should be setting this override in the config. I think realistically you want something more like
num-test-threads / 3rather than just4.