Skip to content

Schedule Windows Python upgrade tests with managed tests - #1190

Draft
zaniebot wants to merge 1 commit into
mainfrom
zb/ci-speed-windows-managed-tests-20260909
Draft

zaniebot wants to merge 1 commit into
mainfrom
zb/ci-speed-windows-managed-tests-20260909

Conversation

@zaniebot

@zaniebot zaniebot commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

The Windows nextest profile names python_update::, but the managed-Python upgrade tests are named python_upgrade::. Those tests therefore bypass the I/O-limited group introduced in astral-sh#17177. Match the existing test names so upgrades run early under the same concurrency limit; native-auth serialization and the overall worker count stay unchanged.

The actual production test.yml was invoked at c4be691531385fd7563e2a29d9bfa2e19b4c2025 and e311378339bd5c0ecc2614a96b9c77a2801e8d1a. Five paired, exact-cache-hit Windows pipelines per variant (3 → 3 shards) covered the same 3,555 tests. Ratios are candidate/control geometric means with paired log-ratio Student-t 90% confidence intervals. The prespecified primary elapsed metric includes runner admission; secondary intervals are not multiplicity-adjusted. All rows use current → candidate medians.

Metric Median Ratio (90% CI)
Windows pipeline elapsed 4m06s → 4m22s 1.053 (1.031–1.077)
Execution span 3m47s → 3m51s 1.047 (1.001–1.096)
Slowest nextest shard 1m12s → 1m18s 1.090 (1.068–1.112)
Summed runner time 10m35s → 10m56s 1.035 (1.016–1.054)
Modeled VM unit-minutes (prepaid USD) 416 ($0.416) → 416 ($0.416) 1.061 (1.002–1.124)

The actual-pipeline interval shows a slowdown; keep this experimental. The priority-only alternative in #946 avoids lengthening the serial group and should be evaluated separately. Modeled cost uses the unchanged 16x32 shape and Namespace's VM-lifetime billing rules. The public conversion is $0.001 per unit-minute prepaid or $0.0015 in overage, not Astral's invoice pricing.

During nextest execution, median per-shard CPU utilization was 68.9% → 65.9%; peak whole-job RAM was 8.24 → 8.51 GiB. The Windows traces do not expose disk-I/O wait, so they do not directly establish an I/O-contention change. Every accepted sample used cargo-nextest 0.9.143 (60fa45f63 2026-08-04) and Rust 1.98.1 x86_64-pc-windows-msvc 48a229ceaefd4985c50990b14116b6d856af0985.

Across 8 attempted pairs, 1 control and 1 candidate pipelines failed ssl_certs::test_ssl_cert_file_bundle with Windows PermissionDenied when creating a temporary file. Failed pairs are retained separately and excluded from the timing interval. The reported timing is conditional on successful complete pipelines; these samples do not establish failure-rate nonregression.

@astral-automations-bot astral-automations-bot Bot added internal A refactor or improvement that is not user-facing internal:testing Internal testing of behavior labels Sep 10, 2026
@zaniebot zaniebot added priority:5 Backlog: speculative, cosmetic, or low-value work that can comfortably be deferred. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect. risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. labels Sep 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:testing Internal testing of behavior internal A refactor or improvement that is not user-facing priority:5 Backlog: speculative, cosmetic, or low-value work that can comfortably be deferred. risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants