fix(awooop): write outbound sent timestamp as parameter
All checks were successful
Code Review / ai-code-review (push) Successful in 10s
CD Pipeline / tests (push) Successful in 1m18s
CD Pipeline / build-and-deploy (push) Successful in 3m48s
CD Pipeline / post-deploy-checks (push) Successful in 1m24s

This commit is contained in:
Your Name
2026-05-13 12:20:15 +08:00
parent e2785899a2
commit d449ba4720
3 changed files with 6 additions and 4 deletions

View File

@@ -7307,6 +7307,6 @@ OK
**production smoke 途中補修**
- rollback transaction smoke 抓到 asyncpg bind parameter 型別推論問題:`CASE WHEN :send_status = 'sent'` 會被推成 text/varchar ambiguous。
- 已改成 `CASE WHEN CAST(:send_status AS text) = 'sent' THEN NOW() ELSE NULL END`,避免 outbound mirror 在 production 寫入時失敗。
- 第一版 `CAST(:send_status AS text)` 仍會因同一 bind param 同時插入 varchar 與比較而 ambiguous最終改成 Python 端計算 `sent_at` 參數SQL 只插入 `:sent_at`,避免 outbound mirror 在 production 寫入時失敗。
**目前整體進度**:約 69%。