Skip to content

Security review cannot fetch uncached Cargo dependencies #829

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/32421097507
Job: https://github.com/astral-sh/uv/actions/runs/32421097507/job/96593299934

The CI workflow's review / security review job on ubuntu-latest, attempt 1, could not perform targeted test discovery while reviewing astral-sh#21223:

warning: failed to write cache ... Read-only file system (os error 30)
error: failed to create directory `/home/runner/.cargo/registry/cache/...`
error: command `cargo metadata ...` failed with exit status: 101

The workflow installs cargo-nextest, but its Codex sandbox leaves the default Cargo registry cache read-only and the workflow does not assign a writable CARGO_HOME. Consequently, a security review that needs an uncached dependency cannot run Cargo validation. This is a workflow limitation rather than a uv test failure caused by astral-sh#21223.

The review continued after this error, so it did not directly produce the red conclusion. The job later exhausted five reconnects on a transient TPM rate limit, which is already tracked by #382.

astral-sh#21219 fixed the same read-only-cache condition for the bug-fix automation by setting CARGO_HOME to a runner temporary directory. astral-sh#20557 prepared cargo-nextest for security reviews but did not address writable dependency downloads.

Activity

  1. added
    bug
    on Aug 20, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions