Skip to content

Linux cargo-test job exhausts its 10-minute timeout after a cache miss #588

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/31189540277
Job: https://github.com/astral-sh/uv/actions/runs/31189540277/job/92902734259

The CI workflow's test / cargo test on linux job was canceled on the Depot Ubuntu 24.04 runner during attempt 1 of a push to main:

The job has exceeded the maximum execution time of 10m0s
Step canceled by GitHub

The Cargo test step ran for 9m15s before the job-level timeout. The workflow configures this job with timeout-minutes: 10, and Record Cargo cache freshness ran, establishing that this execution did not have an exact Cargo cache hit. By comparison, the immediate-parent run completed Cargo tests in 2m17s with an exact cache hit, and the pull-request check for astral-sh#20998 completed the Linux cargo-test job successfully in 4m16s.

The triggering version bump changed the root Cargo.toml, which participates in the cache key. It is therefore plausible, but not proven from the canceled log, that additional compilation after the cache miss consumed the available time. No individual test failure or test timeout was identified before GitHub canceled the job. The configured limit should accommodate legitimate cache-miss executions or the job should preserve enough diagnostics to identify unexpected stalls.

The same run independently reproduced the Artifactory-only 401 tracked by #490. The required-jobs failure was a downstream rollup of the canceled Linux test job.

Activity

  1. added
    internal:ci-flake
    on Aug 7, 2026
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