feat(jetbrains): download pinned Kilo Core releases at runtime - #11975
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge OverviewThis increment adds two commits since the last review: pruning stale cached CLI versions after a successful resolve (keeping only the pinned/active version and deleting the extracted archive), and splitting the collapsed "release did not include asset" error into distinct, logged messages for missing asset / missing digest / malformed digest cases. Both changes are covered by new unit tests exercising the real Files Reviewed (3 files in this increment)
Previous Review Summaries (4 snapshots, latest commit 33ddc72)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 33ddc72)Status: No Issues Found | Recommendation: Merge The previously flagged SUGGESTION (cache-hit path re-hashing the entire archive on every Files Reviewed (10 files in this increment)
Previous review (commit a435bae)Status: 1 Issue Found | Recommendation: Address before merge All 12 previously reported issues in this PR have been verified as fixed in the latest commit (SHA-256 digest verification against GitHub release asset metadata added to both the runtime and build-time CLI downloaders, Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (11 files in this increment)
Fix these issues in Kilo Cloud Previous review (commit 891a7a5)Status: 12 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)CRITICAL
WARNING
SUGGESTION
Files Reviewed (44 files)
Fix these issues in Kilo Cloud Previous review (commit 2746e69)Status: 12 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)CRITICAL
WARNING
SUGGESTION
Files Reviewed (44 files)
Reviewed by claude-sonnet-5-20260630 · Input: 42 · Output: 13.6K · Cached: 1.4M Review guidance: REVIEW.md from base branch |
Each pinned CLI version was cached under the IDE system dir forever, so old versions accumulated across plugin updates. After a version resolves successfully, delete every other cached version and drop the downloaded archive after extraction. Reinstall still deletes and re-downloads the active version.
The collapsed metadata lookup threw a misleading "did not include" error whether the asset was absent, had no digest, or had a malformed digest. Split into distinct, logged messages so the actual cause is clear, including the nullable-digest case where GitHub has not published a checksum.
feat(jetbrains): download pinned Kilo Core releases at runtime
What
Why
Validation
./gradlew typecheck./gradlew :backend:test --tests ai.kilocode.backend.cli.KiloCliDownloaderTest --tests ai.kilocode.backend.app.KiloBackendAppServiceTest --tests ai.kilocode.backend.workspace.KiloBackendWorkspaceTestbun run script/check-workflows.tsbun run script/check-md-table-padding.ts