Repository navigation
Description
Found during bug bash on 0.10.0-bug-bash-1.
Summary
All eight localQuickStart.* commands are listed in the Command Palette, and invoking any of them there does nothing at all — no notification, no error, no status change. The most damaging case is Start: the feature's primary action appears to be available, does nothing, and gives the user no explanation.
Cause
None of the eight commands has a commandPalette entry in contributes.menus, so VS Code lists them all by default:
vscode-documentdb.command.localQuickStart.open
vscode-documentdb.command.localQuickStart.start
vscode-documentdb.command.localQuickStart.stop
vscode-documentdb.command.localQuickStart.restart
vscode-documentdb.command.localQuickStart.delete
vscode-documentdb.command.localQuickStart.copyConnectionString
vscode-documentdb.command.localQuickStart.copyPassword
vscode-documentdb.command.localQuickStart.viewLogs
They are not inert — the Quick Start output channel shows work actually happening:
$ docker container ls --all --filter 'label=vscode.documentdb.quickstart=1' --no-trunc --format '{{json .}}' --size=false
$ docker -v
$ docker info --format '{{json .}}'
The pipeline runs, finds no instance to act on, and returns silently.
Steps to reproduce
- Install
vscode-documentdb-0.10.0-bug-bash-1.vsix. - Make sure no Quick Start container exists:
docker rm -f vscode-documentdb-local. - Open the Command Palette and run DocumentDB Local Quick Start: Start.
Expected: either the command is hidden from the palette, or it provisions/starts an instance, or it explains why it can't.
Actual: nothing happens. No notification, no error, no output.
Observed across all commands
Measured programmatically in an extension host with no Quick Start container present. Clipboard was seeded with a sentinel before each call to detect writes:
start resolved clipboard=UNCHANGED
stop resolved clipboard=UNCHANGED
restart resolved clipboard=UNCHANGED
viewLogs resolved clipboard=UNCHANGED
copyConnectionString resolved clipboard=UNCHANGED
copyPassword resolved clipboard=UNCHANGED
open resolved clipboard=UNCHANGED
The extension's own log had no entries for any of these invocations.
Related second state
The same silence occurs when a Quick Start container does exist but its stored credentials are gone (e.g. after a profile switch or cleared secret storage). The extension detects and logs this internally:
DocumentDB Local instance "vscode-documentdb-local" is present but its stored
credentials are missing; surfacing as credential-unavailable (not removed).
but Copy Connection String still writes nothing to the clipboard and shows the user no message. The state is understood internally and never surfaced.
Suggested fix
Add commandPalette entries gated on a Quick Start context key (e.g. when: documentdb.quickstart.available), so context-only commands are hidden. For the ones that should remain reachable — particularly Start and Open — surface a message when there is nothing to act on, and a targeted message for the credential-unavailable state instead of returning silently.
Activity
tnaum-ms commentedon Aug 5, 2026
Guanzhou Song (@guanzhousongmicrosoft) we have a pattern of just hiding commands from the command palette, you'll see that in the package.json. let's do it here as well.
We'll have to schedule a dedicated pass to revisit hidden commands and figure out which ones to promote back into the Command Palette, but for now, for this specific scenario, let's have them hidden.
Fix the Local Quick Start bug-bash issues (#851, #852, #854, #855, #856…
test(local-quickstart): pin the manifest-level bug-bash fixes in Jest
Fix the Local Quick Start bug-bash issues (#851, #852, #855, #856, #857…
tnaum-ms commentedon Aug 6, 2026
Fixed by #866, merged into
feature/local-quickstartas 2803a38: the seven lifecycle commands are gated out of the Command Palette, and any route into one with nothing to act on now explains itself instead of returning in silence.Closing by hand rather than automatically: #866 targeted
feature/local-quickstart, not the default branch, so GitHub ignores closing keywords and creates no link. Ships with 0.10.0.