fix: align deploy health checks with live endpoint
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s

This commit is contained in:
ogt
2026-06-25 14:45:02 +08:00
parent 83561c8530
commit 903cf1a27a
12 changed files with 76 additions and 45 deletions

View File

@@ -85,5 +85,5 @@ def test_compose_prometheus_blackbox_targets_health_only():
assert "- http://momo-pro-system:80/health" in uat_block
assert "- https://mo.wooo.work\n" not in uat_block
assert "- http://192.168.0.110:5001\n" not in uat_block
assert "- https://momo.wooo.work/health" in prod_block
assert "- https://momo.wooo.work\n" not in prod_block
assert "- https://mo.wooo.work/health" in prod_block
assert "- https://momo.wooo.work" not in prod_block

View File

@@ -9,3 +9,4 @@ def test_webcrumbs_loader_has_safe_fallback_response():
assert "status=200, mimetype='application/javascript'" in source
assert "X-Webcrumbs-Fallback" in source
assert "upstream-unavailable" in source
assert "Loader upstream unavailable; serving local fallback" in source