diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-10-27 14:13:24 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-10-27 15:44:40 +0200 |
commit | 180d8d89ffa92f8c3e8b8bcb912ec1a4990569c9 (patch) | |
tree | c645ff2c4b9880b55eb3bf8789a718c455bdc366 /CHANGELOG.md | |
parent | a97bc72f39744a690927f214a47d74634e44e4df (diff) | |
download | justbuild-180d8d89ffa92f8c3e8b8bcb912ec1a4990569c9.tar.gz |
Base export target chache key on the exported target
The cache key for an export target should contain as target name
that of the export target (and its effective configuration) rather
than the exported target. As we computed the repository part of
the cache key for the target included in the key, this was still a
correct cache key except in the case an explicit file reference was
exported (as here, the information that the file was to be taken
rather than the target of the same name got lost). We still fix
this issue by making the implementation match our design (rather
than by including the file-reference bit in the cache key), as the
original design gives the cleaner protocol for target-level caching
as a service.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f48f24fd..ba7b9a1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,13 @@ A feature release on top of `1.2.0`, backwards compatible. ### Fixes +- The cache key used for an export target is now based on the export + target itself rather than that of the exported target. The latter + could lead to spourious cache hits, but only in the case where + an explicit file reference was exported and an regular target + with the same name exists. Where the new cache keys overlap with + the old ones, they refer to the same configured targets; so no + special action is to be taken when updating. - Improved protability and update of the bundled dependencies. - Various minor improvements and typo fixes in the documentation. - Fixed a race condition in an internal cache of `just execute` used for keeping |