feat: receive verification inputs and import project pairs
This commit is contained in:
1 parent
f5d39f6261
commit
76074f8d11
5 files changed
+324
No files matched your search
@@ -152,6 +152,15 @@ def _finish_execution_run(service, root, task_ids, stop, run_id, result, *, base
|
||||
receipt['reporting_errors'].append({'code': getattr(error, 'code', 'schedule_receipt_unavailable')})
|
||||
_persist_execution_receipt(service, journal, run_id, receipt, baseline)
|
||||
raise
|
||||
# Optional downstream delivery follows the durable replacement receipt.
|
||||
# Delivery failure must never turn a saved replacement into a repeat request.
|
||||
try:
|
||||
verification = getattr(service, 'verification', None)
|
||||
if verification is not None:
|
||||
verification.receive_successful_results(receipt, submission_id='run:' + run_id)
|
||||
except Exception as error:
|
||||
receipt['reporting_errors'].append({'code': 'verification_delivery_pending',
|
||||
'error': type(error).__name__})
|
||||
return receipt
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user