Cache key calculation changes: add project name and name of dependencies
Description
Part of #1103 (closed) (one of the prerequisites).
-
The name of dependency's has been included when calculating the strict cache key
- See: !1547 (closed) for more detail.
-
The project name of dependencies has been included when calculating the strict cache key
Currently, for each artifact, we store the element name and cache key of all build dependencies. However, in order to walk the dependency tree, given an artifact ref, we need to know which project each artifact came from. Therefore, the project has been added to the artifact proto.
In addition to this, in order to keep the proto and the cache keys from falling out of sync, we must include the project name of build dependencies in the cache key.
Edited by James Ennis