Skip to content

sync_locked_script flakes when updating a script environment on Windows #1674

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv-dev/actions/runs/34701166711/job/103573143966

Workflow: CI
Job: test / cargo test on windows 3 of 3
Platform: Windows
Workflow attempt: 1

The sync::sync_locked_script integration test failed at snapshot sync_locked_script-8, and the nextest retry produced the same mismatch:

-old: Using script environment at: [CACHE_DIR]/environments-v2/script-[HASH]
+new: Updating script environment at: [CACHE_DIR]/environments-v2/script-[HASH]

The all required jobs passed failure was a dependent rollup. #1636 does not modify this test, script-environment behavior, or interpreter-query caching, so the failure appears unrelated to the proposed change.

The exact test and snapshot transition was previously recorded in astral-sh#13744. That intermittent flake was closed after astral-sh#14331 added the canonical executable path to the interpreter-query cache key. This Windows recurrence suggests either a regression or a platform-specific gap in that mitigation; the current log does not contain enough tracing to confirm the cache as the cause.

Activity

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

    @astral-automations-bot
    Author

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

    This occurrence broadens #1674: Windows shard 1 failed both sync_dry_run and sync_script together, whereas the tracked sample affected sync_locked_script on shard 3.

  3. astral-automations-bot commented on Sep 14, 2026

    @astral-automations-bot
    Author
  4. astral-automations-bot commented on Sep 14, 2026

    @astral-automations-bot
    Author
  5. astral-automations-bot commented on Sep 15, 2026

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Sep 15, 2026

    @astral-automations-bot
    Author
  7. astral-automations-bot commented on Sep 15, 2026

    @astral-automations-bot
    Author
  8. astral-automations-bot commented on Sep 16, 2026

    @astral-automations-bot
    Author
  9. astral-automations-bot commented on Sep 16, 2026

    @astral-automations-bot
    Author
  10. astral-automations-bot commented on Sep 16, 2026

    @astral-automations-bot
    Author
  11. astral-automations-bot commented on Sep 16, 2026

    @astral-automations-bot
    Author
  12. astral-automations-bot commented on Sep 16, 2026

    @astral-automations-bot
    Author
  13. astral-automations-bot commented on Sep 17, 2026

    @astral-automations-bot
    Author
  14. astral-automations-bot commented on Sep 18, 2026

    @astral-automations-bot
    Author
  15. astral-automations-bot commented on Sep 19, 2026

    @astral-automations-bot
    Author
  16. 7 remaining items

  17. astral-automations-bot commented on Sep 28, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv-dev/actions/runs/36421532963. It adds a Windows pyodide on windows setup failure to #2048: installing pyodide-build==0.31.1 failed after three retries when the leb128 Simple API endpoint returned HTTP 503. The simultaneous Windows shard-1 sync_dry_run and sync_script failures are the pairing already recorded in #1674.

  18. astral-automations-bot commented on Sep 30, 2026

    @astral-automations-bot
    Author

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

    This attempt combined the already-recorded Windows shard-1 sync_dry_run/sync_script pairing with an independent #1358 Depot keepalive timeout in build-docker / build uv.

  19. astral-automations-bot commented on Sep 30, 2026

    @astral-automations-bot
    Author
  20. astral-automations-bot commented on Oct 2, 2026

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

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

    @astral-automations-bot
    Author
  23. astral-automations-bot commented on Oct 7, 2026

    @astral-automations-bot
    Author
  24. astral-automations-bot commented on Oct 14, 2026

    @astral-automations-bot
    Author
  25. astral-automations-bot commented on Oct 14, 2026

    @astral-automations-bot
    Author
  26. astral-automations-bot commented on Oct 14, 2026

    @astral-automations-bot
    Author
  27. astral-automations-bot commented on Oct 15, 2026

    @astral-automations-bot
    Author

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

    This occurrence combines the known Windows shard-1 sync_dry_run/sync_script pairing with an independent resolver abort in Python 3.6 on Debian Buster: installing pylint==2.12.2 reaches the priority.rs:167 conflict-handling assertion after repeated Python/platformdirs conflicts. That defect is addressed by #1733. Resolver job: https://github.com/astral-sh/uv-dev/actions/runs/38673461344/job/116222750124 (attempt 1).

  28. astral-automations-bot commented on Oct 15, 2026

    @astral-automations-bot
    Author
  29. 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/38924330035

    Attempt 7 adds direct evidence for #1674 in the managed-python-diagnostics-windows-3 artifact: sync__sync_locked_script/uv-10584-kQcxC1.log reads cached Python 3.12.15 metadata, then reports 'The interpreter in the script environment has a different version (3.12.15) than it was created with (3.9.25)'. This supports the stale-metadata mechanism addressed by #1818. The same job also reproduces #2600; reinstallation received HTTP 200 headers promptly before timing out, leaving transfer versus extraction unresolved. Job: https://github.com/astral-sh/uv-dev/actions/runs/38924330035/job/117165206803

  30. astral-automations-bot commented on Oct 18, 2026

    @astral-automations-bot
    Author
  31. astral-automations-bot commented on Oct 24, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 reproduces the mismatch at snapshot sync_locked_script-9 in the warm-cache comparison job windows-3 / before: https://github.com/astral-sh/uv-dev/actions/runs/40132129715/job/120985892318. Both Windows shard-3 jobs tested source commit 6fe4f0f; windows-3 / after succeeded with a different Rust-cache action revision. This comparison does not establish that the cache-action change fixes the flake.

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