Skip to content

ccache GitHub action generates excessive caches #113858

Open
@encukou

Description

@encukou

The ccache action speeds up *nix builds considerably (though not enough that we could do without it).
The issue with it is that every build uploads a new cache, filling up our quota very quickly. GitHub removes caches that weren't used recently, but ccache is aggressive enough that it's crowding out smaller, useful entries. Specifically, the action to mark stale-PRs (which only runs every once in a while), has its state removed before the next run.

  • Solve this in main. (It's hard to test locally, iterating on main seems to be the best way to do it. Sorry for the noise!)
  • Backport to bugfix branches

Linked PRs

Metadata

Metadata

Assignees

Labels

infraCI, GitHub Actions, buildbots, Dependabot, etc.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions