Never start sccache unless asked; compact reasons panel
A server started from the dashboard has the dashboard's environment, not the builds'. It came up with the 10 GB default beside a 250 GB cache and sccache trimmed the cache. Starting is now opt-in (SCCACHE_DASH_START_SCCACHE=1) and the README says why. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
c2b07734c6
commit
e3b56cb213
3 files changed
+45
-4
No files matched your search
@@ -74,8 +74,14 @@ reading ever is a baseline and counts for nothing.
|
||||
|
||||
## Notes on sccache
|
||||
|
||||
When no sccache server is running, sccache-dash starts one (`sccache --start-server`); if that
|
||||
fails it shows "not running" with the error and tries again a minute later.
|
||||
sccache-dash never starts or stops sccache's server by itself. When none is running it shows
|
||||
"not running"; sccache starts its own server on your next build, with your build's settings.
|
||||
|
||||
To have sccache-dash start the server when none is running, set `SCCACHE_DASH_START_SCCACHE=1`
|
||||
in its environment. Be careful with this: a server started that way gets sccache-dash's
|
||||
environment, not your build's. If your cache size or folder is set only in your build's
|
||||
environment, the server comes up with sccache's defaults, and sccache deletes cache entries
|
||||
until the cache fits the 10 GB default.
|
||||
|
||||
While sccache-dash runs, sccache's server stays up: being asked for its stats every 10 seconds
|
||||
keeps it from shutting itself down after 10 idle minutes.
|
||||
|
||||
Reference in new issue
Block a user