Skip to content

Chocolatey Python setup flakes when community feed returns HTTP 503 #570

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/31041333199
Job: https://github.com/astral-sh/uv/actions/runs/31041333199/job/92427370014

The CI workflow failed on attempt 1 in test-system / python3.9 via chocolatey on windows-latest. The Install Python step failed before uv or its tests ran:

ServiceUnavailable https://community.chocolatey.org/api/v2/Packages(Id='python3',Version='3.9.13') 93143ms
Response status code does not indicate success: 503 (Service Unavailable).
python3 not installed.

The triggering main-branch commit changes only AGENTS.md, so this is unrelated to repository behavior under test. The workflow runs the Chocolatey installation once without a bounded retry. An identical feed-503 occurrence was previously documented incidentally in #423, confirming that this is recurrent, though that issue tracks a different test timeout. The logs establish the external 503 but not its underlying cause.

A bounded retry around the Chocolatey installation could mitigate the flake.

The run also had two separately understood failures: the Artifactory-only 401 duplicates #490, and all three Windows trampoline matrix jobs repeated the stale-lockfile failure fixed by merged astral-sh#20975. astral-sh#17524 concerns a different failure in the same Chocolatey job involving runner-image Python path selection.

Activity

  1. added
    internal:ci-flake
    on Aug 5, 2026
  2. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author

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

    Another sample from the same job and feed, this time returning HTTP 504 Gateway Timeout rather than HTTP 503 Service Unavailable.

  3. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author
  4. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author
  5. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author

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

    Attempt 2 failed while fetching the vcredist2015 dependency: an earlier Chocolatey V2-feed request timed out, followed by HTTP 504, rather than the original sample's HTTP 503 for python3.

  7. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author
  8. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author
  9. astral-automations-bot commented on Aug 13, 2026

    @astral-automations-bot
    Author
  10. astral-automations-bot commented on Aug 13, 2026

    @astral-automations-bot
    Author
  11. astral-automations-bot commented on Aug 13, 2026

    @astral-automations-bot
    Author

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

    Another sample from test-system / python3.9 via chocolatey on Windows: the vcredist2015 package download returned HTTP 404, followed by Value cannot be null for packageStream, rather than the previously recorded HTTP 503/504 responses.

  12. astral-automations-bot commented on Aug 13, 2026

    @astral-automations-bot
    Author
  13. astral-automations-bot commented on Aug 14, 2026

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

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

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

  17. astral-automations-bot commented on Oct 14, 2026

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

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

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

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

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

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

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

    @astral-automations-bot
    Author

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

    Attempt 1 returned HTTP 499 () in 14 ms while fetching python3 3.9.13 metadata, adding a response variant to the tracked feed failures. Chocolatey 2.7.4 ran on windows-2025-vs2026 image 20261007.264.1; uv validation never started. Job: https://github.com/astral-sh/uv-dev/actions/runs/39281679764/job/118159705244

  25. astral-automations-bot commented on Oct 19, 2026

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

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

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

    @astral-automations-bot
    Author
  29. astral-automations-bot commented on Nov 2, 2026

    @astral-automations-bot
    Author
  30. astral-automations-bot commented on Nov 4, 2026

    @astral-automations-bot
    Author
  31. astral-automations-bot commented on Nov 29, 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