Skip to content

Commit 98310c3

Browse files
Pigbibicodex
andcommitted
fix: keep receipt gaps from failing LongBridge cycles
Co-Authored-By: Codex <noreply@openai.com>
1 parent 53b686e commit 98310c3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

main.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,13 @@ def run_strategy(*, force_run: bool = False, validation_only: bool = False, vali
815815
message="Strategy signal snapshot",
816816
**signal_snapshot,
817817
)
818-
attach_cycle_execution_receipt(report, cycle_result)
818+
try:
819+
attach_cycle_execution_receipt(report, cycle_result)
820+
except ValueError:
821+
# Test/legacy runtime reports without a release attestation remain
822+
# evidence-missing; receipt metadata must not change a completed
823+
# strategy cycle into a failure.
824+
pass
819825
finalize_runtime_report(
820826
report,
821827
status="ok",

0 commit comments

Comments
 (0)