Open Bug 1280640 Opened 8 years ago Updated 2 years ago

Make sccache cache keys use relative paths


(Firefox Build System :: General, defect)



(Not tracked)


(Reporter: ted, Unassigned)


(Blocks 2 open bugs)


Right now sccache uses full paths to the toolchain and source files in its cache keys. If we want developers to be able to pull from the CI cache we need to make cache keys independent of absolute paths.

This also has the nice property that we'll be able to get cache hits between CI branches, like inbound and fx-team, which currently don't because the branch name is in the source path.
Blocks: 1280641
Before ted can get to this bug, he needs to finish up the Rust rewrite parity work (bug 1281512).
He will be testing the code in production next week.

If everything goes well ted will be able to pick this work in the second half of this month.

The two tiers work (bug 1280641) is relatively trivial.
ted mentioned he will be able to pick it up before making sccache work for devs (bug 1000713) since that project is going to take more work.

Keeping jgriffin in the loop.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.