Skip to content

sync_centralized_env_survives_python_patch_upgrade times out on Windows #2713

Open

Description

@astral-automations-bot

The CI workflow, attempt 1, failed in test / cargo test on windows 3 of 3 on the Windows Server 2022 x86-64 runner (namespace-profile-windows-2022-x86-64-16x32).

Run: https://github.com/astral-sh/uv/actions/runs/38580042861
Job: https://github.com/astral-sh/uv/actions/runs/38580042861/job/115908297849

TIMEOUT [120.119s] uv::sync centralized_project_envs::sync_centralized_env_survives_python_patch_upgrade
(test timed out)
Summary [220.986s] 1301 tests run: 1299 passed (6 slow), 2 timed out

This appears intermittent and unrelated to astral-sh#22509. In the earlier successful run on the same PR, this test passed in 5.653 seconds: https://github.com/astral-sh/uv/actions/runs/38561666420/job/115844277645. The intervening two commits only change package-index metadata handling; the test, managed-Python implementation, and CI configuration are unchanged.

The test installs CPython 3.12.9, creates a centralized environment for a dependency-free project, installs 3.12.11, and verifies transparent upgrade and environment reuse. .config/nextest.toml terminates tests after 120 seconds. Its Windows I/O group serializes python_install, python_update, and python_find tests, but does not include centralized_project_envs. Shared Python download caching is already enabled. Captured output does not identify the stalled operation; download or I/O contention remains a hypothesis. Investigating setup timing and whether this test needs the managed-Python concurrency restriction would address the CI flake.

The same job independently timed out in python_find_prerelease_version_specifiers after 120.098 seconds, already tracked by #728. The all required jobs passed failure was only a rollup. Related #424 covers a different environment-reuse test; a common cause is unconfirmed. Historical mitigations include astral-sh#17177 and astral-sh#21632.

Activity

  1. added
    internal:ci-flake
    on Oct 14, 2026
  2. astral-automations-bot commented on Oct 15, 2026

    @astral-automations-bot
    Author
  3. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/38939212711

    Attempt 3 adds a four-test cluster in Windows shard 3: https://github.com/astral-sh/uv-dev/actions/runs/38939212711/job/117112727385. Alongside the centralized-environment timeout, the job reproduced #2715, #2729, and #2608. The centralized test emitted no completed command output; the three installation tests completed earlier commands before reaching their 120-second limits. A shared cause remains unconfirmed.

  4. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author
  5. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal:ci-flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions