From 0b14aaff65071dcbd0820ef3a445bab65030d649 Mon Sep 17 00:00:00 2001 From: Xeophon <46377542+xeophon@users.noreply.github.com> Date: Thu, 10 Sep 2026 09:17:28 +0200 Subject: [PATCH] fix(v1): report platform run errors --- verifiers/v1/utils/platform.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/verifiers/v1/utils/platform.py b/verifiers/v1/utils/platform.py index 32c5f4f163..bccb5a8100 100644 --- a/verifiers/v1/utils/platform.py +++ b/verifiers/v1/utils/platform.py @@ -166,13 +166,13 @@ def _close( def _losses(run: pr.Run) -> str | None: - """What the uploader could not store, or `None`. A sink that switched itself off - quietly (Prime Traces outside the beta) is not a loss and is not counted here.""" - parts = [ + """What the run could not finish or store, or `None`.""" + parts = list(run.errors) + parts.extend( f"{count} record(s) not stored by the {sink} sink" for sink, count in sorted(run.failed_records.items()) if count - ] + ) if run.dropped_records: parts.append(f"{run.dropped_records} record(s) never queued (uploader overrun)") return "; ".join(parts) or None