fix(jetbrains): recover interrupted backend startup#11802
Merged
Conversation
Contributor
Code Review SummaryStatus: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (3 files)
Previous Review Summaries (2 snapshots, latest commit 971a418)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 971a418)Status: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Previous review (commit 90dce3c)Status: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Reviewed by gpt-5.4-20260305 · Input: 86.1K · Output: 15K · Cached: 684.5K Review guidance: REVIEW.md from base branch |
kirillk
approved these changes
Jun 29, 2026
vkeerthivikram
pushed a commit
to vkeerthivikram/kilocode
that referenced
this pull request
Jun 30, 2026
fix(jetbrains): ignore stale canceled startup failures
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 backend startup can be interrupted in two ways that previously left user-visible state stale or stuck.
When the startup event stream stalls, the connection layer delegates a full reconnect. The app layer now allows that delegated reconnect while the app is still in Connecting, so startup can recover instead of staying in Connecting until tests or UI waits time out.
When restart or reinstall interrupts in-flight startup REST loading, canceled HTTP calls can still unwind with stale connection failures. The app now respects coroutine cancellation before converting startup load exceptions into app errors, so canceled loads cannot overwrite the restarted backend state.
The app-service tests use one shared startup wait helper with diagnostics instead of scattered short waits, include regression coverage for startup SSE timeout recovery, and the JetBrains agent guidance now documents deterministic integration-test synchronization with centralized timeout watchdogs only when unavoidable.