fix(cli): preserve Kilo upgrade version lookup - #13199
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The previous suggestion (missing rationale comment in Files Reviewed (4 files)
Previous Review Summary (commit 6131ed2)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 6131ed2)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (4 files)
The extraction is clean: fork hygiene is good (single Reviewed by kimi-k3 · Input: 40.6K · Output: 2K · Cached: 169.1K Review guidance: REVIEW.md from base branch |
Problem
kilo upgradecan resolve the wrong target when GitHub'sreleases/latestpoints to a JetBrains release such asjetbrains/v7.0.16. The curl installer then receives a non-CLI tag and fails instead of upgrading the Kilo CLI.Regression history
releases/latest.Change
Keep the Kilo curl/unknown fallback in Kilo-owned code and leave the shared installation service with a minimal marked integration point. Add a regression test that simulates GitHub returning
jetbrains/v7.0.16and verifies that the Kilo npm registry supplies the version without requesting the polluted GitHub endpoint.This makes the behavior explicit in Kilo-owned code and causes CI to catch any future OpenCode merge that restores the upstream lookup.