Make sccache cache keys use relative paths

NEW
Unassigned

Status

()

Core
Build Config
2 years ago
2 years ago

People

(Reporter: ted, Unassigned)

Tracking

(Blocks: 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
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.
(Reporter)

Updated

2 years ago
Blocks: 1280641

Comment 2

2 years ago
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.
You need to log in before you can comment on or make changes to this bug.