Files
ProxyPilot/internal/runtime
RCDandClaude 2f72e9801a fix: address 6 issues from Codex code review
kiro_request.go:
- Fix panic: safely truncate tokenKey for logging (was slicing [:8] without length check)
- Fix order: check EventStreamError BEFORE string pattern matching in isRetryableError

kiro_auth.go:
- Fix logic: isTokenExpired now returns true on parse failures (matches function contract)

conductor_token.go:
- Fix ignored param: StartAutoRefresh now respects caller-provided interval
- Fix race condition: protect refreshCancel with mutex in Start/StopAutoRefresh
- Fix wrong key: refreshAuth now uses executorKeyFromAuth for compat auths

Co-Authored-By: Claude (gemini-claude-opus-4-5-thinking) <noreply@anthropic.com>
2026-02-01 13:11:51 +07:00
..