fix(agents): batch monitoring live receipt gaps
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 58s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 58s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -205,7 +205,8 @@ def test_telegram_alert_monitoring_coverage_readback_surfaces_live_gaps():
|
||||
assert summary["runtime_event_type_with_receipts_count"] == 4
|
||||
assert summary["alert_receipt_pipeline_stage_count"] == 7
|
||||
assert summary["alert_receipt_pipeline_ready_count"] == 6
|
||||
assert summary["ai_controlled_gap_queue_count"] == 1
|
||||
assert summary["ai_controlled_gap_queue_count"] == 2
|
||||
assert summary["ai_controlled_live_receipt_batch_count"] == 2
|
||||
assert summary["required_tag_dimension_count"] == 12
|
||||
assert summary["monitoring_asset_config_kind_count"] == 2
|
||||
assert summary["telegram_monitoring_audit_completion_percent"] == 88.9
|
||||
@@ -224,6 +225,14 @@ def test_telegram_alert_monitoring_coverage_readback_surfaces_live_gaps():
|
||||
assert asset_rollups["live_receipt_gap_samples"][0]["surface_id"] == (
|
||||
"prometheus_k8s_base_config"
|
||||
)
|
||||
assert asset_rollups["live_receipt_work_batch_count"] == 2
|
||||
batches = {batch["domain"]: batch for batch in payload["ai_controlled_live_receipt_batches"]}
|
||||
assert set(batches) == {"prometheus", "telegram"}
|
||||
assert batches["prometheus"]["tag_hints"]["project_id"] == "awoooi"
|
||||
assert batches["prometheus"]["tag_hints"]["product_id"] == "awoooi-observability"
|
||||
assert batches["prometheus"]["tag_hints"]["service_name"] == "prometheus"
|
||||
assert batches["telegram"]["tag_hints"]["product_id"] == "awooop"
|
||||
assert batches["telegram"]["target_selector"]["config_kinds"] == ["telegram_gateway"]
|
||||
|
||||
pipeline = {stage["stage_id"]: stage for stage in payload["alert_receipt_pipeline"]}
|
||||
assert pipeline["monitoring_inventory_live_receipts"]["ready"] is False
|
||||
@@ -235,8 +244,12 @@ def test_telegram_alert_monitoring_coverage_readback_surfaces_live_gaps():
|
||||
assert progress["work_item_id"] == "CIR-P0-TG-001"
|
||||
assert progress["completed_check_count"] == 8
|
||||
assert progress["total_check_count"] == 9
|
||||
assert payload["ai_controlled_gap_queue"][0]["work_item_id"] == (
|
||||
"CIR-P0-TG-001-LR-01"
|
||||
)
|
||||
assert payload["ai_controlled_gap_queue"][0]["domain"] == "prometheus"
|
||||
assert payload["ai_controlled_gap_queue"][0]["controlled_next_action"] == (
|
||||
"classify_monitoring_surfaces_and_ingest_metadata_live_receipts"
|
||||
"ingest_metadata_only_live_receipt_batch_then_verify_gap_delta"
|
||||
)
|
||||
|
||||
matrix = {item["surface_id"]: item for item in payload["coverage_matrix"]}
|
||||
|
||||
Reference in New Issue
Block a user