Windows: uninstall misses the default install.ps1 location, and uninstall --dir exits 1
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c, powershell
- 領域
- cli, operating-systems
調査の方向性
Start at cli_activation_transaction_finalize_committed_or_fail_stop and trace uninstall_transaction_removal_finalize through cli_activation_cleanup_fail_stop; the report identifies this path for the exit code 1 after successful removal. Read the install.ps1 default directory handling and compare it with the native uninstall directory lookup. Reproduce both cases on Windows, then confirm plain uninstall removes the default install and uninstall --dir exits successfully after removal.
索引モデルが issue の本文から書いたものです。
説明
Version
codebase-memory-mcp 0.12.1 and current main (cdfdf264), Windows 11, installed via install.ps1.
Platform
Windows (x64)
Install channel
GitHub release archive / install.sh / install.ps1
Binary variant
standard
What happened, and what did you expect?
1) Plain uninstall does not find the binary installed by install.ps1
install.ps1 installs to %LOCALAPPDATA%\Programs\codebase-memory-mcp by default and passes --dir to the native installer. A plain codebase-memory-mcp uninstall assumes ~/.local/bin, so the binary in the install.ps1 location stays in place, and the command still exits 0.
Steps:
- Install via
install.ps1with default settings. - Run
codebase-memory-mcp uninstall -y. - The binary is still present in
%LOCALAPPDATA%\Programs\codebase-memory-mcp; exit code 0.
Possible directions: uninstall remembers or detects the install directory, or install.ps1 uses the native default location. Happy to help once the preferred approach is clear.
2) uninstall --dir=<dir> exits 1 after a successful removal
codebase-memory-mcp uninstall -y --dir=<install dir> removes everything, but then exits 1 and logs coordination.cleanup_timeout. As far as I can see, the failure comes from cli_activation_transaction_finalize_committed_or_fail_stop("uninstall_transaction_removal_finalize"), which ends in cli_activation_cleanup_fail_stop() → _Exit(1) when finalize returns neither OK nor DEFERRED. One possible cause: on Windows, the running .exe is itself the executable being removed. I have not confirmed this.
Impact: scripted uninstalls report failure although the uninstall worked.
Related
- #2856 (point 2: entries written by a
--dirinstall are left behind) - PR #3019 fixes the agent-entry ownership check for
uninstall --dir; not covered here.
Reproduction
See above please.
Logs
Diagnostics trajectory (memory / performance / leak issues)
Project scale (if relevant)
No response
Confirmations
- I searched existing issues and this is not a duplicate.
- My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.
- 主要言語
- C
- スター
- 45.8k
- フォーク
- 3.8k
- 平均マージ
- 2日 18時間
- マージ済み PR(30日)
- 108
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeusData/codebase-memory-mcp のほかの issue
-
bug ux/behavior
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DeusData/codebase-memory-mcp#3191 ·
メンテナーはふだん 1 日以内に返信
-
documentation enhancement parsing/quality ux/behavior
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
DeusData/codebase-memory-mcp#3131 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
hook-augment: the five-row cap keeps the first five search_graph rows, so variables and modules displace function definitions (v0.12.1)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug editor/integration parsing/quality ux/behavior
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DeusData/codebase-memory-mcp#3062 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug documentation editor/integration parsing/quality
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DeusData/codebase-memory-mcp#3050 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
editor/integration parsing/quality
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DeusData/codebase-memory-mcp#2286 ·
メンテナーはふだん 1 日以内に返信
DeusData/codebase-memory-mcp の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
メンテナーはふだん 1 日以内に返信
-
iOS: the "Edit controls" button never hides, even with a controller connected, and covers the gameオープンgame: 010065A014024000 ios
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
seedds/nxnative#3714 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信