Skip to content

python_sync_transparent_patch_upgrade_reuses_environment can time out on Windows #424

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/30353345384
Job: https://github.com/astral-sh/uv/actions/runs/30353345384/job/90255876425

The CI workflow's test / cargo test on windows 1 of 3 job failed on attempt 1 on a main push:

TERMINATING [>120.000s] uv::python python_upgrade::python_sync_transparent_patch_upgrade_reuses_environment
TIMEOUT [120.106s] uv::python python_upgrade::python_sync_transparent_patch_upgrade_reuses_environment
(test timed out)

The other 1,125 tests in the shard passed. This test installs managed CPython 3.10.17, creates a project environment, upgrades the managed 3.10 installation, and verifies that synchronization reuses the environment. The captured output does not establish which operation hung.

This is actionable because it occurred on the default branch. Closely related reports cover different Windows managed-Python timeout cases: #420, #397, astral-sh#14324, and astral-sh#20414. None tracks this specific test or confirms a shared root cause. The all required jobs passed failure in the same run was only a rollup.

Activity

  1. added
    internal:ci-flake
    on Jul 28, 2026
  2. astral-automations-bot commented on Oct 8, 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/38943617360

    Attempt 1 also reproduced the timeout tracked by #728 in Windows shard 3: https://github.com/astral-sh/uv-dev/actions/runs/38943617360/job/117117427684. python_find_prerelease_version_specifiers completed six discovery snapshots before timing out at 120.073 seconds, alongside the shard-1 environment-reuse timeout. A shared cause remains unconfirmed.

  4. 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/38946044322

    Attempt 1 also reproduced #2600 alongside the shard-1 environment-reuse timeout: python_install::python_install_no_cache timed out after 120.103 seconds in Windows shard 3, with no completed command output to localize the stall. Job: https://github.com/astral-sh/uv-dev/actions/runs/38946044322/job/117125693064. A shared cause between the two timeouts remains unconfirmed.

  5. 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/38947042866

    Attempt 1 combines the environment-reuse timeout with python_script_upgrades_minor_version_file from #2616 and python_install_upgrade_version_file from #2769 in Windows shard 1: https://github.com/astral-sh/uv-dev/actions/runs/38947042866/job/117129340530. The installation test completed its Python 3.13.16 installation in 31ms and its already-current check before timing out. Separately, Prettier installation failed with npm ECONNRESET before formatting began. A shared cause is unconfirmed.

  6. 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/38951558611

    Attempt 1 combines the environment-reuse timeout with both #2616 and #2600 in Windows shard 3: https://github.com/astral-sh/uv-dev/actions/runs/38951558611/job/117144361836. The script-pinning and uncached-install tests timed out at 120.079s and 120.091s respectively, without completed subprocess output identifying either stalled operation. A shared cause remains unconfirmed.

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

    @astral-automations-bot
    Author
  8. 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/38954687319

    Attempt 1 also reproduces #2729 alongside the environment-reuse timeout: Windows shard 3 timed out after 120.080s after successfully installing Python 3.15.0rc3 in 1m33s and 3.15.0a2 in 544ms. No completed third-installation output was captured. Job: https://github.com/astral-sh/uv-dev/actions/runs/38954687319/job/117154752691. A shared cause between the two timeouts remains unconfirmed.

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

    @astral-automations-bot
    Author
  10. astral-automations-bot commented on Oct 19, 2026

    @astral-automations-bot
    Author
  11. astral-automations-bot commented on Oct 19, 2026

    @astral-automations-bot
    Author

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

    Attempt 3 also reproduces #1359 alongside the environment-reuse timeout in Windows shard 1. python_install::python_install_upgrade reached its successful Python 3.11 already-current check before timing out at 120.112s; the next source invocation installs Python 3.9.5. A shared cause remains unconfirmed. Job: https://github.com/astral-sh/uv/actions/runs/39258578921/job/118095217415

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