remote/correctness: Bazel doesn't track system libraries.
Open
P2
team-Remote-Exec
type: process
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 72
Description
Bazel currently does not track tools outside a workspace. This can be a problem if, for example, an action uses a compiler from `/usr/bin/`. Then, two users with different
compilers installed will wrongly share cache hits because the outputs are different but they have the same action hash.
Contributor guide
Research direction
Start by tracing how Bazel hashes actions and handles remote cache inputs when tools outside the workspace are used, especially compilers such as /usr/bin/. Reproduce the case with two different installed compilers; done means their differing outputs cannot incorrectly share the same remote cache hit.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100