make sure existing project cache id is used when available

This commit is contained in:
Peter Braun
2026-07-30 15:22:38 +02:00
parent f29becbd98
commit 3021d5d408

View File

@@ -639,7 +639,7 @@ class ProjectUpdate(UnifiedJob, ProjectOptions, JobNotificationMixin, TaskManage
@property
def cache_id(self):
if self.branch_override or self.job_type == 'check' or (not self.project):
if self.branch_override or (not self.project):
return str(self.id) # causes it to not use the cache, basically
return self.project.cache_id