Skip to content

Cache check failure with ErrorKind::RateLimited sets cache to read-only mode #2593

Open

Description

@Renegade334

Encountered in relation to #2566, specifically the new 200 requests/minute GHA rate limit for cache writes.

With concurrent builds running on different VMs, we've found that it's not uncommon for the initial cache read/write check to occur during a window where the service is rate-limited. When this occurs, the cache is failed over into read-only mode, which then persists.

RateLimited errors are by definition recoverable, and so this case should ideally be handled differently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions