fix(awooop): avoid sparse apply column reads in learning backfill
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 19s
CD Pipeline / build-and-deploy (push) Successful in 4m43s
CD Pipeline / post-deploy-checks (push) Successful in 58s

This commit is contained in:
Your Name
2026-06-29 17:19:10 +08:00
parent d50263bed2
commit f60f66396c
2 changed files with 0 additions and 5 deletions

View File

@@ -1007,9 +1007,6 @@ async def backfill_missing_auto_repair_execution_receipts_once(
apply.error,
apply.duration_ms,
apply.status,
apply.catalog_id,
apply.playbook_path,
apply.risk_level,
apply.created_at
FROM automation_operation_log apply
WHERE apply.operation_type = 'ansible_apply_executed'

View File

@@ -1624,8 +1624,6 @@ def test_ansible_apply_receipt_backfill_queries_existing_apply_rows() -> None:
assert "operation_type = 'ansible_apply_executed'" in source
assert "auto_repair_executions existing" in source
assert "executed_steps::text LIKE" in source
assert "apply.catalog_id" in source
assert "apply.playbook_path" in source
def test_ansible_auto_repair_receipt_insert_casts_asyncpg_parameters() -> None: