fix(jetbrains): harden CLI startup and install diagnostics - #12060
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Incremental updateThe only change since the last review ( Files Reviewed (3 files)
Previous Review Summaries (3 snapshots, latest commit 585d6ba)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 585d6ba)Status: No Issues Found | Recommendation: Merge Incremental updateThe only change since the last review ( All previously flagged findings were re-verified against current
Files Reviewed (7 files)
Previous review (commit 5a86ca0)Status: 8 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (9 files)
Fix these issues in Kilo Cloud Previous review (commit 6609a76)Status: 8 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (9 files)
Reviewed by claude-sonnet-5-20260630 · Input: 22 · Output: 5.5K · Cached: 542.8K Review guidance: REVIEW.md from base branch |
|
Addressed all 8 findings from the review summary in 23f89aa and 5a86ca0:
All review conversations were replied to individually and resolved. |
…-plugin-startup-issue fix(jetbrains): harden CLI startup and install diagnostics
What
State.Error.kilo-dev.logdiagnostics in release builds, not just sandbox/RC builds.PathManagerpaths,idea.*.pathproperties, cache root, expected executable,.completemarker, and cache checks.Why
A user reported Rider staying on endless loading while the VS Code CLI binary starts normally. Their Rider installation uses custom
idea.system.path,idea.log.path, and related directories, which made it unclear where the JetBrains plugin was trying to cache/downloadkilo.exe. The previous startup path could also block forever on a child-process stdout read or cache lock, causing Core Restart/Reinstall to look like no-ops.This change makes those failure modes bounded and observable: startup now fails loud with diagnostics, release builds produce a stable diagnostic log, and the downloader logs the effective JetBrains system/cache paths so users with custom Rider folder configuration can verify the exact expected
kilo.exelocation.Validation
./gradlew :backend:test --tests ai.kilocode.backend.cli.KiloCliDownloaderTest --tests ai.kilocode.backend.app.KiloBackendAppServiceTest --tests ai.kilocode.backend.cli.KiloBackendCliManagerReadyTest./gradlew :shared:test --tests ai.kilocode.log.KiloLogTest./gradlew typecheckbun turbo typecheck --filter=!@kilocode/kilo-jetbrainsbun turbo typecheck --filter=@kilocode/kilo-jetbrains