This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/sbp by this push:
new e9f86d89 Fix toggling the global cache for check results
e9f86d89 is described below
commit e9f86d89d168b25b4a6c9ec20c7102cd469a65ed
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Mar 13 15:19:56 2026 +0000
Fix toggling the global cache for check results
---
atr/storage/writers/revision.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/atr/storage/writers/revision.py b/atr/storage/writers/revision.py
index d0f37af6..d5c02dfa 100644
--- a/atr/storage/writers/revision.py
+++ b/atr/storage/writers/revision.py
@@ -375,10 +375,6 @@ class CommitteeParticipant(FoundationCommitter):
)
else:
old_revision = await interaction.latest_revision(release)
- if set_local_cache:
- release.check_cache_key = str(uuid.uuid4())
- if reset_to_global_cache:
- release.check_cache_key = None
if clone_from is not None:
old_release_dir = paths.release_directory_base(release) /
str(clone_from)
@@ -471,6 +467,11 @@ class CommitteeParticipant(FoundationCommitter):
await aioshutil.rmtree(temp_dir)
raise
+ if set_local_cache:
+ merged_release.check_cache_key = str(uuid.uuid4())
+ if reset_to_global_cache:
+ merged_release.check_cache_key = None
+
archive_paths =
detection.detect_archives_requiring_quarantine(path_to_hash,
previous_attestable)
if archive_paths:
deduped =
detection.deduplicate_quarantine_archives(archive_paths, path_to_hash)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]