Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SSE connections leaked #468

Closed
Closed
Assignees
BrunoQuaresma
Labels
@spikecurtis

Description

@spikecurtis

We leak SSE connections to/api/v2/workspaceagents/{id}/watch-metadata inat least the following scenarios, since v1.4.2.

  • A workspace is restarted while the IDE plugin is tracking it
  • You sign into a different Coder deployment with some workspaces running

I have a strong suspicion that#440 is involved, although possibly not the root cause.

Likely the cause ofhttps://github.com/coder/customers/issues/741

How to reproduce

  1. Connect to a Coder server as a user running at least one workspace.
  2. Monitor thecoderd_api_concurrent_requests gauge via the Prometheus endpoint on Coder server.

Either:

  1. Repeatedly stop and start the workspace
  2. Repeatedly sign into a different Coder deployment and then back into your test deployment

Then:

  1. Observer the concurrent requests guage climb with each cycle
  2. Exit VSCode, and see it drop.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp