fix(web): #19 Action Logs AbortController 防止記憶體洩漏
All checks were successful
E2E Health Check / e2e-health (push) Successful in 17s

- 新增 AbortController ref 追蹤請求
- fetchLogs: 每次新請求前取消前一次
- fetchStats: 共用 AbortController signal
- useEffect cleanup: unmount 時取消所有請求
- AbortError 正確忽略 (非錯誤狀態)

首席架構師審查: 98/100 OUTSTANDING (前端 P2)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-03-31 11:30:39 +08:00
parent 723e8ef251
commit e176e063d4
2 changed files with 35 additions and 4 deletions

View File

@@ -16,7 +16,9 @@
| **#15 SSE + 樂觀更新** | ✅ **完成** (`8c8664c`) |
| **#16 DOM Bypass** | ✅ **完成** (`0b87018`) |
| **#17 i18n Hydration** | ✅ **完成** (`f25e94e`) |
| **首席架構師審查** | ✅ **96/100 OUTSTANDING** (前端 P1) |
| **#18 SSE Exponential Backoff** | ✅ **已實作** (4 stores 已含) |
| **#19 Action Logs AbortController** | ✅ **完成** (2026-03-31) |
| **首席架構師審查** | ✅ **96/100 + 98/100 OUTSTANDING** (前端 P1+P2) |
| **Phase A/B/C P1** | ✅ **97/100 OUTSTANDING** |
| **K8sRepository** | ✅ **leWOOOgo 積木化封裝** |
| **OTEL 追蹤** | ✅ **Telegram Gateway 完整 Span** |