fix(cd): keep telegram coverage on controlled profile
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 1m1s
CD Pipeline / build-and-deploy (push) Successful in 4m33s
CD Pipeline / post-deploy-checks (push) Successful in 1m45s

This commit is contained in:
Your Name
2026-07-02 22:34:59 +08:00
parent fb86e2d373
commit 6d1edf666c
3 changed files with 39 additions and 0 deletions

View File

@@ -254,6 +254,18 @@ def test_telegram_alert_ai_automation_matrix_stays_on_controlled_runtime_profile
assert source in text
def test_telegram_alert_monitoring_coverage_stays_on_controlled_runtime_profile() -> None:
text = _workflow_text()
expected_sources = [
"apps/api/src/services/telegram_alert_monitoring_coverage_readback.py)",
"apps/api/tests/test_telegram_alert_monitoring_coverage_readback_api.py)",
"src/services/telegram_alert_monitoring_coverage_readback.py",
"tests/test_telegram_alert_monitoring_coverage_readback_api.py",
]
for source in expected_sources:
assert source in text
def test_alertmanager_webhook_metrics_stays_on_controlled_runtime_profile() -> None:
text = _workflow_text()
expected_sources = [