Problem
rate-limit-proxy 的 _handle 只 catch urllib.error.HTTPError(有 HTTP status 的錯誤)。transport failure(DNS/TLS/socket timeout/connection reset → urllib.error.URLError 或其他 non-HTTPError exception)目前完全不寫 record → 該次「連上游都連不到」的事件在 rate-state 裡消失。
Type
enhancement
Analysis
Source
surfaced during /idd-verify #13 — logic reviewer (Claude) + Codex。Verify report: #13 (comment)
Relates to #13。
Problem
rate-limit-proxy的_handle只 catchurllib.error.HTTPError(有 HTTP status 的錯誤)。transport failure(DNS/TLS/socket timeout/connection reset →urllib.error.URLError或其他 non-HTTPError exception)目前完全不寫 record → 該次「連上游都連不到」的事件在 rate-state 裡消失。Type
enhancement
Analysis
except urllib.error.URLError(或 broad except)分支,記一筆status=null(或 sentinel 如status="transport_error")+ error 類型 → 讓「連不上」也進 rate-state 供分析。Source
surfaced during /idd-verify #13 — logic reviewer (Claude) + Codex。Verify report: #13 (comment)