Skip to content

feat: add Coder Support Bundle command#878

Open
EhabY wants to merge 1 commit intomainfrom
feat/support-bundle-command
Open

feat: add Coder Support Bundle command#878
EhabY wants to merge 1 commit intomainfrom
feat/support-bundle-command

Conversation

@EhabY
Copy link
Copy Markdown
Collaborator

@EhabY EhabY commented Apr 9, 2026

Adds a Coder: Create Support Bundle command that runs coder support bundle against a workspace and saves the resulting .zip via a save dialog.

  • Adds supportBundle feature flag gated at CLI v2.10.0 (when --output-file and --yes were introduced)
  • Command available in the command palette (Coder: Create Support Bundle) and sidebar context menu (Support Bundle) for running workspaces
  • Shows progress notification with phase updates (resolving CLI → collecting diagnostics)
  • Prompts save location before execution, reveals file on completion
  • Guards against unsupported CLI versions with a clear error message
  • Also adds progress reporting to existing speedTest and pingWorkspace commands
  • Refactors cliExec and featureSet tests for conciseness (shared setup, expectFlag helper)

Closes #751

Add a `Coder: Create Support Bundle` command that runs `coder support bundle`
against a workspace and saves the resulting zip via a save dialog. The command
is available in the command palette and sidebar context menu for running
workspaces.

Changes:
- Add `supportBundle` feature flag gated at CLI v2.10.0
- Add `cliExec.supportBundle()` with --output-file and --yes flags
- Add command handler with save dialog, progress reporting, and file reveal
- Register command palette and sidebar context menu entries with ordering
- Return featureSet from resolveCliEnv for version gating
- Add progress reporting to speedTest and pingWorkspace commands
- Refactor cliExec and featureSet tests for conciseness
@EhabY EhabY force-pushed the feat/support-bundle-command branch from 7f8ecfd to c092833 Compare April 9, 2026 13:55
@EhabY EhabY self-assigned this Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add command to create a support bundle

1 participant