Plugin updates fail with Access is denied when other Copilot CLI or VS Code sessions are open
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Description
Plugin updates fail when multiple Copilot CLI sessions or VS Code windows are open, even when the plugin is not actively invoked or being used by those sessions. The update appears to be blocked by file locks held by unrelated processes or sessions.
Impact
Updating a plugin currently requires closing and reopening every Copilot CLI shell and VS Code window. This is disruptive and can prevent urgent plugin updates from being applied promptly.
Observed error
Installing plugin "Agentic-Workflows@CalOps-Hub"...
Failed to install plugin: Failed to install plugin: Access is denied. (os error 5)
Expected behavior
Plugin updates should succeed when the plugin is not actively in use. If a file lock makes an immediate update impossible, Copilot CLI should identify the process or session holding the lock and provide targeted remediation, or support a deferred or atomic update without requiring all Copilot CLI and VS Code sessions to be closed.
Actual behavior
The update fails with a generic Access is denied (os error 5) message while other Copilot CLI sessions or VS Code windows are open, without identifying the locking process or offering a recovery mechanism.
Screenshot
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ソースファイルもテストも指定されていません。まず、複数の Copilot CLI セッションと VS Code ウィンドウを開いた状態で更新を再現し、次にプラグイン更新のエントリポイントと Windows の「Access is denied」エラーの原因を追跡してください。プラグインが使用されていない場合に更新が成功するか、ロックしているプロセスとリカバリまたは更新延期の経路が明確に報告されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell, vscode
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100