Repository navigation
Conversation
EhabY
force-pushed
the
feat/vsc-1-workspace-actions
branch
2 times, most recently
from
October 29, 2026 14:44
af31d97 to
fda9174
Compare
EhabY
force-pushed
the
feat/vsc-1-workspace-actions
branch
from
October 29, 2026 17:16
fda9174 to
0f3a999
Compare
EhabY
force-pushed
the
feat/vsc-1-workspace-actions
branch
from
October 29, 2026 17:21
0f3a999 to
b8691da
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1154. Enables the overflow-menu actions that #1154 left as disabled placeholders.
Workspace menu, following the dashboard's
abilitiesByWorkspaceStatus:/settings/sharing, Coder 2.26+).Agent menu: Ping and Speed Test while the agent is connected, and Support Bundle always, since it still collects server-side data without a connection.
Checked before running: every action re-reads the workspace and checks the same shared rules (
workspaceActions/agentDiagnosticsin@repo/shared). If the status changed since the last list (for example, it started building), the action is skipped with a notification. Stopping or restarting the workspace this window is connected to asks first.CLI or API:
coder start. It applies the template's version policy, cleans up after a failed start, and reactivates dormant workspaces, matching the server version it was downloaded from.updateWorkspace.{ workspace, agent }target. Ping and speed test now target the chosen agent (owner/ws.agent) instead of the workspace's first agent, which also fixes sidebar agent items.Live status: "All" and "Shared" list only on demand, so the store re-reads just the workspace you acted on every 5s until its build settles, without re-listing.
Pending actions: while an action runs, including its confirmation or parameter prompts, the store publishes it as
pendingActionsin the panel state. The row shows a spinner in place of the status dot, the hover shows the action ("Stopping"), and the workspace's lifecycle items are disabled. Because the state lives in the extension, the spinner survives the webview being hidden. It clears only after the workspace is re-read, so the old actions never flash back, and the store ignores a second action on a workspace while one runs.Adds
workspace.{stop,restart,delete}.triggeredspans and anunavailableabort stage for diagnostics (EVENTS.md). All of this works back to the oldest supported CLI (0.25). One exception: dormant workspaces on 2.1 to 2.6 servers, whose CLIs don't reactivate before starting, so the server's error is shown.🤖 Generated with Claude Code