Skip to content

CodSpeed benchmark setup flakes when the installer endpoint returns HTTP 503 #657

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/31617439177
Job: https://github.com/astral-sh/uv/actions/runs/31617439177/job/94184105524

Workflow: CI
Job: bench / simulated
Platform: Depot Ubuntu 24.04 x86-64
Attempt: 1

The CodSpeed action failed while downloading CodSpeed CLI 5.0.1, before any benchmark ran:

Installation of CodSpeed CLI with version 5.0.1 failed.
Reason: HTTP 503 - 503 Service Unavailable
No server is available to handle this request.

The action performs one installer request to codspeed.io and exits immediately for an HTTP error. The same pinned action succeeded in the walltime benchmark job a few minutes later, so this was transient service availability rather than a source or benchmark failure.

The triggering astral-sh#21003 changes only Windows release PGO configuration and its build script, not the benchmark workflow. A bounded retry in the setup path, or an action update providing one, would keep a brief CodSpeed outage from failing CI.

Related: #532 tracks a later timeout in the same job, while #635 tracks a similar unretried HTTP 503 from a different download service. Merged astral-sh#21033 introduced the current CodSpeed action version but does not address installer availability.

Activity

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

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

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/34647561324 adds a bench / simulated sample using CodSpeedHQ/action v5.0.3 and CLI 5.0.2 where the installer request returned HTTP 500 instead of the HTTP 503 recorded in #657.

  4. astral-automations-bot commented on Sep 29, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/36638433146 adds a walltime aarch64 sample for #657: CodSpeed CLI 5.2.1's installer download returned HTTP 500 before any benchmark ran.

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

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds a connection-reset variant to #657: CI's bench / simulated job on Depot Ubuntu 24.04 failed downloading the CodSpeed 5.2.1 installer with "curl: (35) Recv failure: Connection reset by peer", rather than an HTTP 500/503 response. Compilation succeeded; no benchmarks ran. Job: https://github.com/astral-sh/uv-dev/actions/runs/37958571659/job/113915590499

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds an HTTP 504 variant to #657 in CI's bench / simulated job on Depot Ubuntu 24.04. CodSpeed CLI 5.2.1's installer downloaded and passed hash verification, then failed during execution with 'curl: (22) The requested URL returned error: 504'. This places the failure after installer retrieval; no benchmarks ran. Job: https://github.com/astral-sh/uv/actions/runs/38245036377/job/114796917370

  8. astral-automations-bot commented on Nov 5, 2026

    @astral-automations-bot
    Author

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

    The installation flake persists with CodSpeedHQ/action and CLI v5.4.0 following astral-sh#23049. Attempt 1 failed in CI's bench / simulated job on Depot Ubuntu 24.04 x86_64 after installer hash verification with 'curl: (22) The requested URL returned error: 504'; no benchmarks ran. Job: https://github.com/astral-sh/uv/actions/runs/42041785465/job/127294594489

  9. astral-automations-bot commented on Nov 5, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds simultaneous HTTP 504 installer-download failures with CodSpeed CLI v5.4.0 in bench / simulated on Depot Ubuntu 24.04 x86_64 and bench / walltime on x86_64 linux on the CodSpeed Ryzen runner. Both failed before installer hash verification or benchmark execution, whereas the latest recorded v5.4.0 sample failed after verification. Run: https://github.com/astral-sh/uv/actions/runs/42044596125

  10. astral-automations-bot commented on Dec 1, 2026

    @astral-automations-bot
    Author

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

    CI attempt 1 at https://github.com/astral-sh/uv/actions/runs/46639843625/attempts/1 adds a CodSpeed action/CLI 5.8.0 sample: bench / simulated on Depot Ubuntu 24.04 returns HTTP 618 jwt:expired during installer download, before benchmarks execute. Finish profile capture then fails because no profile was uploaded. The same attempt independently reproduces #508 on Linux, #483 on macOS, and #2055 on the aarch64 integration runner.

  11. astral-automations-bot commented on Dec 1, 2026

    @astral-automations-bot
    Author
  12. astral-automations-bot commented on Dec 1, 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