From 47db80f495668fa984ebbc4543ed7a28331858cb Mon Sep 17 00:00:00 2001 From: OG T Date: Sun, 12 Apr 2026 14:45:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E6=81=A2=E5=BE=A9=20B5=20=E5=9A=B4?= =?UTF-8?q?=E6=A0=BC=E6=A8=A1=E5=BC=8F=20=E2=80=94=20=E7=A7=BB=E9=99=A4=20?= =?UTF-8?q?ADR-073=20Break-Glass=20||=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2026-04-13 ogt: Break-Glass 技術債清償 P0 飛輪搶修期間暫時加入 || true bypass,現已完成部署驗證,恢復嚴格模式 Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/cd.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index a7145912..03fa6057 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -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