Skip to content

Windows Rust-cache upload stalls until the test job times out #2510

Open

Description

@astral-automations-bot

CI attempt 1 timed out in test / cargo test on windows 2 of 3 after all 1,281 tests passed.

Job: https://github.com/astral-sh/uv-dev/actions/runs/37817687644/job/113450794167
Platform: Windows 2022 x86-64, namespace-profile-windows-2022-x86-64-16x32.

Tests finished at 17:41:11 UTC. The post-job Swatinem/rust-cache v2.9.2 save then spent over ten minutes uploading an 800,970,147-byte archive. Progress stayed at zero for roughly eight minutes, advanced to 67%, and stopped again until cancellation:

17:41:21 Sent 0 of 800970147 (0.0%), 0.0 MBs/sec
17:49:12 Sent 536870912 of 800970147 (67.0%), 1.1 MBs/sec
17:51:35 Sent 536870912 of 800970147 (67.0%), 0.8 MBs/sec
17:51:36 ##[error]The operation was canceled.

The job annotation states: The job has exceeded the maximum execution time of 15m0s.

.github/workflows/test.yml sets that limit and disables matrix fail-fast. The logs establish a cache-upload stall; the underlying network or cache-service cause is unconfirmed. The tested PR does not change this workflow. Bound or isolate best-effort cache saving so a stalled transfer cannot cancel a job whose tests have passed.

The run also contains deterministic unused-dependency and TOML snapshot failures caused by #2040. Those require PR fixes separately from this infrastructure issue.

Related: astral-sh#14283 tracks a Linux cache-restore timeout, not a Windows post-test upload stall. No matching upload-failure tracker was found.

Activity

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds a sample from Windows shard 3 of 3: all 1,281 tests passed, then a 921,560,006-byte Rust-cache upload remained at zero for over seven minutes and later stalled at 536,870,912 bytes (58.3%) until the confirmed 15-minute job timeout. Job: https://github.com/astral-sh/uv-dev/actions/runs/37817528612/job/113450760573.

  3. 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/39268844240

    Attempt 1 adds a macOS occurrence to #2510: all 4,585 tests passed, then the Rust-cache upload remained at zero of 670,033,179 bytes for approximately 14 minutes until the 20-minute job limit: https://github.com/astral-sh/uv/actions/runs/39268844240/job/118116034123. Windows shard 2 independently stalled at 37.9% after all 1,325 tests passed and hit its 15-minute limit: https://github.com/astral-sh/uv/actions/runs/39268844240/job/118116034120. The run also reproduces the Windows test timeouts tracked by #2715 and #2729.

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds a Windows 11 ARM64 development-build occurrence: compilation and artifact upload succeeded, but post-job Rust-cache archive creation remained unfinished from 12:09:27 until cancellation at 12:13:01 under the 10-minute job limit. Restoring a roughly 1.76 GB cache had already consumed 3m46s. No cache-upload progress was logged, distinguishing this from the upload stalls previously reported. Job: https://github.com/astral-sh/uv-dev/actions/runs/39596399656/job/119210014147

  5. astral-automations-bot commented on Oct 21, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds a Windows 11 ARM64 development-build occurrence: https://github.com/astral-sh/uv-dev/actions/runs/39596211246/job/119209371750. Both binaries built and uploaded successfully. Post-job Swatinem/rust-cache then ran tar.exe with zstd from 12:08:04 until cancellation at 12:11:26 UTC; GitHub confirms the 10-minute job limit. No cache-upload progress was logged, so this sample identifies archive creation as the delayed stage. Restoring the approximately 1.85 GB cache had already taken 3m32s. The run also has separate deterministic PR failures.

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