ai-credits-breakdown: server keeps running and Running list keeps stale entries after closing a canvas
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript, vscode
- Bereich
- backend
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 41.8k
- Forks
- 5.5k
- Ø Merge
- 1 T. 17 Std.
- Gemergte PRs (30 T.)
- 149
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/awesome-copilot
-
external-plugin ready-for-review third party
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/awesome-copilot#6780 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
external-plugin needs-review:MEDIUM ready-for-review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
github/awesome-copilot#6751 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
external-plugin requires-submitter-fixes third party
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
github/awesome-copilot#6661 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
external-plugin ready-for-review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
github/awesome-copilot#6659 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
external-plugin needs-review:HIGH ready-for-review third party
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/awesome-copilot#6654 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in github/awesome-copilot
Ähnliche Issues
-
[workshop-sync] workshop/06-install-gh-aw.md: example version output is outdated (0.81.6 vs v1.2.2)Offendocumentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 84/100
githubnext/gh-aw-workshop#6467 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue help wanted up-for-grabs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
ClickHouse/loom#2075 ·
Maintainer antworten meist innerhalb von 1 Tag
-
fix
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
idean3885/claude-ops-agent#1367 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
cytoscape/cytoscape-web#1032 ·
Maintainer antworten meist innerhalb von 1 Tag
-
channels:add check:passed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag