github / github/copilot-cli

plugin update and reinstall do not pull fresh code on Windows — restores from local cache instead

Abierto
#3,627 1 comentario 0 reacciones 0 asignados Ver en GitHub
area:platform-windows area:plugins
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

## Environment
- OS: Windows
- Copilot CLI version: 1.0.57
- Reproduced with plugin: `https://github.com/upld-internal/burnrate-copilot.git`

## Description

On Windows, Copilot CLI stores installed plugins in two locations:
- `%USERPROFILE%\.copilot\installed-plugins\_direct\\`
- `%LOCALAPPDATA%\copilot\marketplaces\\`

Running `/plugin update `, or uninstalling and reinstalling, does **not** re-clone from GitHub. It restores files from the `%LOCALAPPDATA%\copilot\marketplaces\\` cache. Plugin updates are never applied.

## Steps to reproduce

1. Install a plugin: `/plugin install https://github.com/upld-internal/burnrate-copilot.git`
2. Push a change to the plugin's GitHub repo
3. Run `/plugin update burnrate-copilot` (or uninstall and reinstall)
4. Check file timestamps: `dir "%USERPROFILE%\.copilot\installed-plugins\_direct\https---github-com-upld-internal-burnrate-copilot-git\scripts\"`
5. Files retain the original install timestamp — updated code is never pulled

## Expected behavior

`/plugin update` re-clones or pulls from GitHub and installs the latest code.

## Actual behavior

Both cache directories retain the original install content. Even after manually deleting `installed-plugins\_direct\\` and reinstalling, files are restored from the `marketplaces` cache rather than fetched from GitHub.

## Workaround

Manually delete **both** cache directories before reinstalling:
```
%USERPROFILE%\.copilot\installed-plugins\_direct\
%LOCALAPPDATA%\copilot\marketplaces\
```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza por los puntos de entrada `/plugin update`, desinstalación y reinstalación, y luego sigue cómo se rellenan `%USERPROFILE%\.copilot\installed-plugins\_direct\\` y `%LOCALAPPDATA%\copilot\marketplaces\\`. Reprodúcelo en Windows y verifica que la actualización o reinstalación obtenga contenido actualizado del repositorio sin eliminar manualmente ambos directorios de caché.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
shell
Área
cli
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
52/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.