fix(transfer): expire stale jobs and deduplicate diagnostics

This commit is contained in:
jxxghp
2026-08-07 12:44:04 +08:00
parent 63e492be7c
commit 759b9e47eb
13 changed files with 713 additions and 64 deletions
+3
View File
@@ -114,11 +114,14 @@ class DoctorReport:
"warn": 0,
"error": 0,
"fixed": 0,
"advisory": 0,
}
for finding in self.findings:
counts[finding.severity.value] += 1
if finding.fixed:
counts["fixed"] += 1
elif not finding.affects_report_status:
counts["advisory"] += 1
return counts
def exit_code(self) -> int: