Skip to content

feat: add Coder Support Bundle command#878

Merged
EhabY merged 1 commit intomainfrom
feat/support-bundle-command
Apr 10, 2026
Merged

feat: add Coder Support Bundle command#878
EhabY merged 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

@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
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 c092833 to fe42f63 Compare April 10, 2026 08:11
Copy link
Copy Markdown

@jeremyruppel jeremyruppel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

@EhabY EhabY merged commit 58760ce into main Apr 10, 2026
6 checks passed
@EhabY EhabY deleted the feat/support-bundle-command branch April 10, 2026 16:46
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

2 participants