fix(agent): keep verified closures moving
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m33s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 15s
CD Pipeline / build-and-deploy (push) Successful in 5m49s
CD Pipeline / post-deploy-checks (push) Successful in 1m54s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m33s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 15s
CD Pipeline / build-and-deploy (push) Successful in 5m49s
CD Pipeline / post-deploy-checks (push) Successful in 1m54s
This commit is contained in:
@@ -3805,13 +3805,11 @@ async def backfill_missing_auto_repair_execution_receipts_once(
|
||||
projection.get("verified") or 0
|
||||
)
|
||||
projection_error = str(projection.get("error") or "")[:500]
|
||||
if stats["retry_terminal_projection_scanned"] or projection_error:
|
||||
stats["scanned"] = stats["retry_terminal_projection_scanned"]
|
||||
stats["incident_closure_written"] = stats[
|
||||
"retry_terminal_projection_written"
|
||||
]
|
||||
stats["error"] = projection_error or None
|
||||
return stats
|
||||
stats["scanned"] = stats["retry_terminal_projection_scanned"]
|
||||
stats["incident_closure_written"] = stats[
|
||||
"retry_terminal_projection_written"
|
||||
]
|
||||
stats["error"] = projection_error or None
|
||||
async with get_db_context(project_id) as db:
|
||||
await db.execute(text("SET LOCAL statement_timeout = '5000ms'"))
|
||||
result = await db.execute(
|
||||
@@ -3965,7 +3963,7 @@ async def backfill_missing_auto_repair_execution_receipts_once(
|
||||
},
|
||||
)
|
||||
rows = [dict(row) for row in result.mappings().all()]
|
||||
stats["scanned"] = len(rows)
|
||||
stats["scanned"] += len(rows)
|
||||
for row in rows:
|
||||
reconstructed = _claim_from_apply_operation_row(row)
|
||||
if reconstructed is None:
|
||||
|
||||
Reference in New Issue
Block a user