mozilla/sccache

Hitting rate limiting issues due to .sccache_check write checks on GCS

Open

#2,132 opened on Mar 12, 2024

View on GitHub
 (14 comments) (0 reactions) (0 assignees)Rust (677 forks)github user discovery
good first bughelp wanted

Repository metrics

Stars
 (7,329 stars)
PR merge metrics
 (Avg merge 28d 22h) (11 merged PRs in 30d)

Description

We're using sccache v0.7.6, we have a lot of builds running in parallel and each run invokes sccache which in turn tries to do a sccache RW check by reading and writing .sccache_check dummy file. While this is fine for reading but for writing we violate the quota on GCS which allows write on the same object once per second.

Is there a way to bypass this check? We can perhaps create an env var to support this use case?

Contributor guide