fix(agents): treat legacy mcp partial readback as auxiliary
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 1m7s
CD Pipeline / build-and-deploy (push) Successful in 5m9s
CD Pipeline / post-deploy-checks (push) Successful in 2m4s

This commit is contained in:
ogt
2026-07-10 00:01:49 +08:00
parent df351cd3c8
commit 0ace0ab652
2 changed files with 2 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ _AUXILIARY_RUNTIME_RECEIPT_QUERY_NAMES = {
"alertmanager_event_counts",
"grouped_alert_event_counts",
"db_context_exit",
"legacy_mcp_counts",
}
_CONSUMER_RECEIPT_FALLBACK_ERROR_TYPES = {
"RuntimeReceiptDbContextTimeout",

View File

@@ -1675,6 +1675,7 @@ def test_runtime_receipt_auxiliary_alert_query_partial_does_not_block_runtime_tr
{"status": "sent", "total": 3, "recent": 1},
],
partial_query_failures=[
{"query_name": "legacy_mcp_counts", "error_type": "DBAPIError"},
{"query_name": "alert_operation_counts", "error_type": "DBAPIError"},
{
"query_name": "alertmanager_event_counts",