CommandCodeAI / CommandCodeAI/command-code

Auto Update Fails

オープン
#547 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

説明

Summary

When I start command code, I get a message that it's being updated to version 0.41.1 from 0.25.1, but after exiting out of the program and opening it again it still shows version 0.25.1

I used bun to install the command code executable globally, I think this has something to do with it. After manually updating via bun install, I am getting the updated version.

Expected Behavior

The auto update should work, regardless of the package manager was use to install command code.

Actual Behavior

The auto update is updating the command code version, but upon restart it still shows the old version.

Steps to reproduce the issue
  1. Install command code using bun
  2. Run command code, auto update will trigger if it's available or run "/update" to update command code to latest version
  3. Re-open to see we are still at the last version not the latest version
Command Code Version

v0.25.1

Operating System

macOS

Terminal/IDE

iTerm2

Shell

zsh

Additional context

No response

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、コマンド code の実行可能ファイルにおける自動更新と /update のフローを追跡し、bun で行ったインストールが再起動後にどのように置き換えられ、選択されるかに焦点を当てます。macOS 上で bun を使って問題を再現し、再度開いた実行可能ファイルが 0.25.1 ではなく更新後のバージョンを報告することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
bun, macos, zsh
領域
cli, release
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。