fix(awooop): route workflow telegram alerts through ai receipts
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (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 / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled
This commit is contained in:
@@ -21645,13 +21645,13 @@ def validate(root: Path) -> None:
|
||||
"repo_only_scan_no_secret_value_no_telegram_send",
|
||||
)
|
||||
expected_telegram_notification_egress_summary = {
|
||||
"direct_bot_api_file_count": 11,
|
||||
"direct_bot_api_call_count": 18,
|
||||
"workflow_direct_bot_api_call_count": 13,
|
||||
"direct_bot_api_file_count": 5,
|
||||
"direct_bot_api_call_count": 5,
|
||||
"workflow_direct_bot_api_call_count": 0,
|
||||
"ops_script_direct_bot_api_call_count": 4,
|
||||
"ci_script_direct_bot_api_call_count": 0,
|
||||
"api_direct_bot_api_call_count": 1,
|
||||
"gateway_normalized_callsite_count": 56,
|
||||
"gateway_normalized_callsite_count": 57,
|
||||
"gateway_final_exit_formatter_present_count": 1,
|
||||
"required_owner_field_count": 18,
|
||||
"reviewer_check_count": 14,
|
||||
@@ -21680,12 +21680,6 @@ def validate(root: Path) -> None:
|
||||
expected,
|
||||
)
|
||||
expected_telegram_direct_path_counts = {
|
||||
".gitea/workflows/cd-dev.yaml": 3,
|
||||
".gitea/workflows/cd.yaml": 5,
|
||||
".gitea/workflows/code-review.yaml": 2,
|
||||
".gitea/workflows/deploy-alerts.yaml": 1,
|
||||
".gitea/workflows/e2e-health.yaml": 1,
|
||||
".gitea/workflows/run-migration.yml": 1,
|
||||
"apps/api/src/services/channel_hub.py": 1,
|
||||
"scripts/ops/backup-from-110.sh": 1,
|
||||
"scripts/ops/docker-health-monitor.sh": 1,
|
||||
@@ -21767,10 +21761,10 @@ def validate(root: Path) -> None:
|
||||
"metadata_only_no_secret_value_no_telegram_send_no_workflow_change",
|
||||
)
|
||||
expected_telegram_egress_owner_request_summary = {
|
||||
"source_direct_bot_api_call_count": 18,
|
||||
"source_direct_bot_api_file_count": 11,
|
||||
"request_draft_count": 11,
|
||||
"workflow_request_draft_count": 6,
|
||||
"source_direct_bot_api_call_count": 5,
|
||||
"source_direct_bot_api_file_count": 5,
|
||||
"request_draft_count": 5,
|
||||
"workflow_request_draft_count": 0,
|
||||
"ops_script_request_draft_count": 4,
|
||||
"ci_script_request_draft_count": 0,
|
||||
"api_direct_request_draft_count": 1,
|
||||
@@ -21808,12 +21802,6 @@ def validate(root: Path) -> None:
|
||||
expected,
|
||||
)
|
||||
expected_telegram_egress_request_paths = [
|
||||
".gitea/workflows/cd-dev.yaml",
|
||||
".gitea/workflows/cd.yaml",
|
||||
".gitea/workflows/code-review.yaml",
|
||||
".gitea/workflows/deploy-alerts.yaml",
|
||||
".gitea/workflows/e2e-health.yaml",
|
||||
".gitea/workflows/run-migration.yml",
|
||||
"apps/api/src/services/channel_hub.py",
|
||||
"scripts/ops/backup-from-110.sh",
|
||||
"scripts/ops/docker-health-monitor.sh",
|
||||
@@ -21907,22 +21895,22 @@ def validate(root: Path) -> None:
|
||||
"metadata_only_no_workflow_script_api_change_no_telegram_send",
|
||||
)
|
||||
expected_telegram_egress_migration_plan_summary = {
|
||||
"source_request_draft_count": 11,
|
||||
"source_direct_bot_api_call_count": 18,
|
||||
"migration_candidate_count": 11,
|
||||
"workflow_migration_candidate_count": 6,
|
||||
"source_request_draft_count": 5,
|
||||
"source_direct_bot_api_call_count": 5,
|
||||
"migration_candidate_count": 5,
|
||||
"workflow_migration_candidate_count": 0,
|
||||
"ops_script_migration_candidate_count": 4,
|
||||
"api_direct_migration_candidate_count": 1,
|
||||
"proposed_wave_count": 3,
|
||||
"proposed_wave_count": 2,
|
||||
"plan_field_count": 17,
|
||||
"reviewer_check_count": 15,
|
||||
"outcome_lane_count": 9,
|
||||
"blocked_action_count": 21,
|
||||
"owner_response_required_count": 11,
|
||||
"maintenance_window_required_count": 11,
|
||||
"rollback_owner_required_count": 11,
|
||||
"postcheck_required_count": 11,
|
||||
"delivery_receipt_required_count": 11,
|
||||
"owner_response_required_count": 5,
|
||||
"maintenance_window_required_count": 5,
|
||||
"rollback_owner_required_count": 5,
|
||||
"postcheck_required_count": 5,
|
||||
"delivery_receipt_required_count": 5,
|
||||
"owner_response_received_count": 0,
|
||||
"owner_response_accepted_count": 0,
|
||||
"migration_authorized_count": 0,
|
||||
@@ -21947,7 +21935,6 @@ def validate(root: Path) -> None:
|
||||
"telegram_notification_egress_migration_plan_draft.proposed_waves",
|
||||
telegram_notification_egress_migration_plan_draft["proposed_waves"],
|
||||
[
|
||||
"wave_1_workflow_notification_wrapper",
|
||||
"wave_2_ops_notification_wrapper",
|
||||
"wave_3_api_sender_gateway",
|
||||
],
|
||||
@@ -22025,13 +22012,13 @@ def validate(root: Path) -> None:
|
||||
"repo_source_scan_no_secret_value_no_telegram_send",
|
||||
)
|
||||
expected_telegram_egress_no_new_bypass_summary = {
|
||||
"source_direct_bot_api_call_count": 18,
|
||||
"source_direct_bot_api_file_count": 11,
|
||||
"baseline_signature_count": 18,
|
||||
"current_direct_bot_api_call_count": 18,
|
||||
"current_direct_bot_api_file_count": 11,
|
||||
"source_direct_bot_api_call_count": 5,
|
||||
"source_direct_bot_api_file_count": 5,
|
||||
"baseline_signature_count": 5,
|
||||
"current_direct_bot_api_call_count": 5,
|
||||
"current_direct_bot_api_file_count": 5,
|
||||
"guarded_method_count": 9,
|
||||
"sendMessage_call_count": 18,
|
||||
"sendMessage_call_count": 5,
|
||||
"sendDocument_call_count": 0,
|
||||
"sendPhoto_call_count": 0,
|
||||
"sendMediaGroup_call_count": 0,
|
||||
@@ -22053,19 +22040,6 @@ def validate(root: Path) -> None:
|
||||
"telegram_notification_egress_no_new_bypass_guard.current_paths",
|
||||
[item["path"] for item in telegram_notification_egress_no_new_bypass_guard["current_direct_bot_api_calls"]],
|
||||
[
|
||||
".gitea/workflows/cd-dev.yaml",
|
||||
".gitea/workflows/cd-dev.yaml",
|
||||
".gitea/workflows/cd-dev.yaml",
|
||||
".gitea/workflows/cd.yaml",
|
||||
".gitea/workflows/cd.yaml",
|
||||
".gitea/workflows/cd.yaml",
|
||||
".gitea/workflows/cd.yaml",
|
||||
".gitea/workflows/cd.yaml",
|
||||
".gitea/workflows/code-review.yaml",
|
||||
".gitea/workflows/code-review.yaml",
|
||||
".gitea/workflows/deploy-alerts.yaml",
|
||||
".gitea/workflows/e2e-health.yaml",
|
||||
".gitea/workflows/run-migration.yml",
|
||||
"apps/api/src/services/channel_hub.py",
|
||||
"scripts/ops/backup-from-110.sh",
|
||||
"scripts/ops/docker-health-monitor.sh",
|
||||
@@ -22104,11 +22078,11 @@ def validate(root: Path) -> None:
|
||||
"metadata_only_no_secret_value_no_telegram_send_no_workflow_script_api_change",
|
||||
)
|
||||
expected_telegram_egress_owner_response_acceptance_summary = {
|
||||
"source_request_draft_count": 11,
|
||||
"source_migration_candidate_count": 11,
|
||||
"source_direct_bot_api_call_count": 18,
|
||||
"acceptance_candidate_count": 11,
|
||||
"workflow_acceptance_candidate_count": 6,
|
||||
"source_request_draft_count": 5,
|
||||
"source_migration_candidate_count": 5,
|
||||
"source_direct_bot_api_call_count": 5,
|
||||
"acceptance_candidate_count": 5,
|
||||
"workflow_acceptance_candidate_count": 0,
|
||||
"ops_script_acceptance_candidate_count": 4,
|
||||
"api_direct_acceptance_candidate_count": 1,
|
||||
"acceptance_field_count": 33,
|
||||
|
||||
Reference in New Issue
Block a user