fix(jetbrains): recover stalled startup event streams#11796
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Previous Review Summary (commit 8c37da0)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 8c37da0)Status: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (4 files)
Reviewed by gpt-5.4-20260305 · Input: 49.5K · Output: 4.1K · Cached: 191K Review guidance: REVIEW.md from base branch |
chrarnoldus
approved these changes
Jun 29, 2026
vkeerthivikram
pushed a commit
to vkeerthivikram/kilocode
that referenced
this pull request
Jun 30, 2026
fix(jetbrains): recover stalled startup event streams
NJ-2020
pushed a commit
to NJ-2020/kilocode
that referenced
this pull request
Jul 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JetBrains startup currently assumes the SSE event stream either opens or fails through OkHttp. When that callback never arrives, connection state stays
Connectingand downstream workspace or session flows can wait until their own timeouts.This adds a bounded SSE-open timeout that cancels the stalled source and goes through the existing reconnect path. The test fakes now avoid cross-thread mutable list races, and the chat manager malformed-event test waits until its collection subscription is attached before emitting events. That keeps the suite focused on the intended behavior instead of scheduler timing.