Skip to content

Cache key calculation changes: add project name and name of dependencies

James Ennis requested to merge jennis/add_project_to_proto into master

Description

Part of #1103 (closed) (one of the prerequisites).

  1. The name of dependency's has been included when calculating the strict cache key

  2. 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

Merge request reports