Skip to content

cargo-dist installation flakes on transient connection reset #441

Closed

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv-dev/actions/runs/30490051263
Job: https://github.com/astral-sh/uv-dev/actions/runs/30490051263/job/90705533755

The CI workflow failed on attempt 1 in check-release / dist plan on ubuntu-latest while the Install dist step downloaded cargo-dist:

curl: (35) Recv failure: Connection reset by peer
Process completed with exit code 35.

The workflow invokes curl once for the cargo-dist GitHub release asset and has no bounded retry. The external cause of the reset is not established, but the workflow can mitigate this transient failure.

The triggering changes in #440 affect lock validation and tests, not the release workflow or cargo-dist installation, so the failure is unrelated to the proposed change.

Related issues #389 and #381 track similar unretried GitHub release downloads for Hawk and mold respectively. astral-sh#18731 introduced the direct cargo-dist download but does not add retry handling.

Activity

  1. added
    internal:ci-flake
    on Jul 29, 2026
  2. zaniebot commented on Oct 15, 2026

    @zaniebot
    Collaborator

    Resolved by astral-sh#21357, which removed the direct GitHub release download and installs cargo-dist through the locked development toolchain.

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