CommandCodeAI / CommandCodeAI/command-code

Auto Update Fails

Open
#547 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the auto-update and /update flow for the command code executable, focusing on how an installation made with bun is replaced and selected after restart. Reproduce the issue on macOS with bun, then verify that the reopened executable reports the updated version rather than 0.25.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, macos, zsh
Domain
cli, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.