-
Notifications
You must be signed in to change notification settings - Fork 41
Add command to coder ping a workspace #749
Copy link
Copy link
Description
coder ping is useful to diagnose connection problems to workspaces. We should add support to the plugin to invoke it on a workspace.
Scope
Implement a Coder: Ping Workspace command that:
- Executes
coder pingagainst the currently connected workspace via the CLI. - Shows progress using VS Code's progress notification (
vscode.window.withProgress) while the command runs. - Outputs results in a VS Code terminal — similar to how a build command works. The user can see the live ping output (latency, P2P diagnostics, DERP info, etc.) streaming in real-time.
- The command should be available in the Command Palette when connected to a workspace.
UX
- Command Palette:
Coder: Ping Workspace - Opens a terminal and runs
coder ping <workspace>with live output. - Progress indicator shown while the command is active.
Follow-up
- ENG-2302 — Proactive slowness detection (prompt users to run this command automatically) and speedtest visualization.
Reactions are currently unavailable