fix(ci): 恢復 B5 嚴格模式 — 移除 ADR-073 Break-Glass || true
Some checks failed
CD Pipeline / build-and-deploy (push) Failing after 3m53s
Some checks failed
CD Pipeline / build-and-deploy (push) Failing after 3m53s
2026-04-13 ogt: Break-Glass 技術債清償 P0 飛輪搶修期間暫時加入 || true bypass,現已完成部署驗證,恢復嚴格模式 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -157,11 +157,9 @@ jobs:
|
||||
-h "$PG_IP" -p 5432 -U awoooi -d awoooi_test \
|
||||
-f tests/integration/setup_test_schema.sql
|
||||
# 跑測試
|
||||
# ADR-073 Break-Glass: P0 飛輪搶修 — B5 PG 整合測試加 || true,避免 flaky runner 環境卡住部署
|
||||
# TODO: 2026-04-13 恢復嚴格模式(移除 || true)
|
||||
# B5 整合測試嚴格模式 (2026-04-13 ogt: 恢復 Break-Glass 移除)
|
||||
TEST_DATABASE_URL="postgresql+asyncpg://awoooi:awoooi_test_2026@${PG_IP}:5432/awoooi_test?ssl=disable" \
|
||||
/opt/api-venv/bin/pytest tests/integration/test_b5_core_flows.py -v --tb=short || \
|
||||
echo "⚠️ B5 integration test failed (Break-Glass mode) — continuing deploy"
|
||||
/opt/api-venv/bin/pytest tests/integration/test_b5_core_flows.py -v --tb=short
|
||||
# 清理
|
||||
docker rm -f pg-test-b5 || true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user