Skip to content

fix(cli): resolve latest CLI release when GitHub latest points to non-CLI tag#12148

Merged
marius-kilocode merged 2 commits into
Kilo-Org:mainfrom
umi008:fix/install-jetbrains-tag
Jul 13, 2026
Merged

fix(cli): resolve latest CLI release when GitHub latest points to non-CLI tag#12148
marius-kilocode merged 2 commits into
Kilo-Org:mainfrom
umi008:fix/install-jetbrains-tag

Conversation

@umi008

@umi008 umi008 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

GitHub’s repository-wide latest release can point to a JetBrains release, which leaves the CLI installer without a matching version or binary asset.

Resolve unversioned installs through the @kilocode/cli npm latest dist-tag, which tracks the stable CLI channel independently from prerelease channels and other product releases. Use that version in the explicit GitHub asset URL so the displayed version and downloaded archive always match.

Closes #12125

… tag

The GitHub releases/latest endpoint can point to non-CLI releases
(e.g., jetbrains/v7.0.4), whose tag prefix doesn't match the existing
version regex. Query the paginated releases endpoint, pick the first
tag starting with 'v', and use that version for both display and the
download URL instead of trusting releases/latest.

Closes Kilo-Org#12125
Comment thread install Outdated
@kilo-code-bot

kilo-code-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • .changeset/fix-install-jetbrains-tag.md
  • install
Previous Review Summary (commit 32b0e3d)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 32b0e3d)

Status: 1 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
install 186 Default installs can select a prerelease instead of the latest stable CLI
Files Reviewed (2 files)
  • .changeset/fix-install-jetbrains-tag.md - 0 issues
  • install - 1 issue

Fix these issues in Kilo Cloud


Reviewed by gpt-5.6-sol · Input: 34.1K · Output: 5.4K · Cached: 149.2K

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode enabled auto-merge (squash) July 13, 2026 08:16
@marius-kilocode
marius-kilocode merged commit 77f7983 into Kilo-Org:main Jul 13, 2026
27 checks passed
@marius-kilocode

Copy link
Copy Markdown
Collaborator

Thanks @umi008 , applied the bot finding and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install script broken

2 participants