fix(agent): consume log writeback receipts
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 1m50s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped

This commit is contained in:
Your Name
2026-07-01 20:41:42 +08:00
parent cf2822529f
commit 6580bbd641
6 changed files with 878 additions and 10 deletions

View File

@@ -3535,6 +3535,9 @@ def _attach_runtime_receipt_readback(
"live_log_controlled_writeback_consumer_dispatch_ledger_count": (
log_consumer_dispatch_ledger_count
),
"live_log_controlled_writeback_consumer_apply_receipt_count": _int_value(
log_consumer_rollups.get("consumer_apply_receipt_row_count")
),
"live_log_controlled_writeback_consumer_binding_count": _int_value(
log_consumer_rollups.get("consumer_binding_count")
),
@@ -3559,6 +3562,14 @@ def _attach_runtime_receipt_readback(
"live_log_controlled_writeback_consumer_verifier_ref_count": _int_value(
log_consumer_rollups.get("post_apply_verifier_ref_count")
),
"live_log_controlled_writeback_target_context_receipt_write_count": (
_int_value(log_consumer_rollups.get("target_context_receipt_write_count"))
),
"live_log_controlled_writeback_runtime_target_write_count": (
1
if log_consumer_rollups.get("runtime_target_write_performed") is True
else 0
),
"live_log_controlled_writeback_km_consumer_binding_count": _int_value(
log_consumer_rollups.get("km_consumer_binding_count")
),