fix: bad_credentials after 150s of inactivity#212
Conversation
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
📜 Recent review details⏰ Context from checks skipped due to timeout. (4)
🧰 Additional context used📓 Path-based instructions (2)**/*.go📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/!(ltsm)/**/*.go📄 CodeRabbit inference engine (AGENTS.md)
Files:
🔇 Additional comments (3)
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdds SSE idle-timeout detection in ChangesSSE Idle Timeout Handling
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant ListenSSE
participant pollLoop
participant LineClient
participant AuthServer
ListenSSE-->>pollLoop: ErrSSEIdleTimeout
pollLoop->>LineClient: handleReceiveIdleTimeout(ctx)
LineClient->>AuthServer: getLastOpRevisionWithClient probe
alt probe returns errLoggedOut
LineClient->>LineClient: invalidate token and mark session invalidated
LineClient-->>pollLoop: stop=true
else probe succeeds
LineClient-->>pollLoop: stop=false
pollLoop->>ListenSSE: reconnect listenSSEWithClient
end
Possibly related PRs
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Tools execution failed with the following error: Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error) Comment |
No description provided.