Make sccache cache keys use relative paths

NEW
Unassigned

Status

3 years ago
a year ago

People

(Reporter: ted, Unassigned)

Tracking

(Blocks: 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

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.

Updated

a year ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.