Skip to content

[CI]: github cache is too aggressive on limiting requests (429) #3733

Open

Description

@apostasie

Description

Github cache will return 429 (Too Many Requests) way too frequently.
We are not the only ones having this problem. A cursory search will show other projects struggling with it.

I just hit this while working on #3636

I do appreciate that I have been pushing quite a few times (as I need a windows env), but honestly, a single contributor being able to trip it up in a few hours is not a good sign.

We have been discussing this over at #3580 and implemented with #3583 for dependencies building.

I am now using it in #3636 as a convenience speed-up to avoid rebuilding busybox every time - but of course, once this is ready, we can remove it as this task will run rarely.

Still, the problem stand - GHA cache feels really tight (not even mentioning the 10G limit).

Any suggestions on what to do?

A. can we somehow convince github to upgrade our tier so we get more horsepower?
B. should we renounce using GH cache (besides the dependency building that is in place and that does give us strong benefits)?
C. should we forbid @apostasie from pushing stuff all the time?
D. can I get a windows laptop? :-)
E. should we consider an alternative cache storage mechanism? like, stuff things into a scratch image and push/pull it to ghcr.io?
F. other ideas?

Steps to reproduce the issue

No response

Describe the results you received and expected

na

What version of nerdctl are you using?

na

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Activity

  1. added
    area/ci
    and removed
    kind/unconfirmed-bug-claim
    on Dec 5, 2024
  2. apostasie commented on Dec 13, 2024

    @apostasie
    ContributorAuthor

    https://github.com/containerd/nerdctl/actions/runs/12322922336

    I am going to look into using scratch images+ghcr.io as an alternative.
    This is just way too aggravating.

  3. apostasie commented on Feb 24, 2025

    @apostasie
    ContributorAuthor

    Adding this: recently, github cache has been very slow.

    It is unclear if we are being throttled, or if it is a GHA systemic issue, or something else. Either way, this is now causing a large number of timeouts on the CI.

  4. changed the title [-]CI: github cache is too aggressive on limiting requests (429)[/-] [+][CI]: github cache is too aggressive on limiting requests (429)[/+] on Apr 16, 2025
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

    area/ciexpert

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions