ai-credits-breakdown: server keeps running and Running list keeps stale entries after closing a canvas
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, vscode
- Área
- backend
Línea de trabajo
Start by reading ai-credits-breakdown's extension.mjs, especially the canvas close handler and its servers and stopServer logic; the issue does not identify a test file. Reproduce the three-canvas case and check whether closing one tab releases its port and removes its Running entry. Done means both happen for the closed instance while the other canvases keep running.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Each ai-credits-breakdown canvas instance starts its own local HTTP server. Closing a canvas tab does not stop that server, and the canvas stays listed under "Running".
Environment
- VS Code 1.148.0, macOS (arm64)
ai-credits-breakdownfrom thegithub-awesome-copilotmarketplace, installed under~/.copilot/installed-plugins/awesome-copilot/ai-credits-breakdown
Steps to reproduce
- Open three AI Credits Breakdown canvases, each with a different
instanceId. - Confirm three listening ports on
127.0.0.1owned by one extension-host process (lsof -nP -iTCP -sTCP:LISTEN). In my run these were 47820, 47821 and 47822 under PID 11804. - Close one AI Credits Breakdown tab.
- Re-run the
lsofcheck.
Expected
The closed instance's server stops (onClose calls stopServer), its port is released, and the Running list drops that entry.
Actual
- All three ports are still listening after the close.
- The Running list still shows three AI Credits Breakdown entries.
- Killing the extension-host process removes all three entries from the Running list and frees the ports.
Notes
extension.mjsonCloseremoves the instance fromserversand callsstopServer. The plugin logs nothing on close, so it is not confirmed whetheronCloseruns. Either the handler is not reached, or the host does not call it.- The servers return HTTP 403 to unauthenticated requests, so the ports can be identified without contacting the canvas.
- Lenguaje dominante
- JavaScript
- Estrellas
- 41.8k
- Forks
- 5.5k
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 149
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/awesome-copilot
-
external-plugin ready-for-review third party
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/awesome-copilot#6780 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[External Plugin]: iquota-hotelsAbiertoexternal-plugin needs-review:MEDIUM ready-for-review
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
github/awesome-copilot#6751 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[External Plugin]: everme-memoryAbiertoexternal-plugin requires-submitter-fixes third party
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
github/awesome-copilot#6661 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[External Plugin]: consiliumAbiertoexternal-plugin ready-for-review
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
github/awesome-copilot#6659 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[External Plugin]: a11iedAbiertoexternal-plugin needs-review:HIGH ready-for-review third party
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/awesome-copilot#6654 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de github/awesome-copilot
Issues similares
-
[workshop-sync] workshop/06-install-gh-aw.md: example version output is outdated (0.81.6 vs v1.2.2)Abiertodocumentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
githubnext/gh-aw-workshop#6467 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue help wanted up-for-grabs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ClickHouse/loom#2075 ·
Los mantenedores suelen responder en 1 día
-
fix
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
idean3885/claude-ops-agent#1367 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
cytoscape/cytoscape-web#1032 ·
Los mantenedores suelen responder en 1 día
-
Add: ANTENNA New ReleasesAbiertochannels:add check:passed
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día