Skip to content

[BUG] Extension stuck loading if embedder service is missing #8777

@cjlawson02

Description

@cjlawson02

Problem (one or two sentences)

If the CodeIndexManager cannot connect to the embedder service, the extension gets stuck loading and never fully activates until all folders in the VSCode workspace fail.

Context (who is affected and when)

Any user who installs the Roo Code VS Code extension and opens a workspace without a running embedder service is affected. It happens during extension startup, regardless of OS or provider.

Reproduction steps

  1. Install Roo Code VS Code extension (v3.28.18)
  2. Break connection with embedder service
  3. Open VS Code with a workspace that has multiple folders (any OS)
  4. Observe extension output log
  5. Extension remains stuck loading and does not finish activating until all folders fail; UI is unresponsive

Expected result

The extension should activate and show UI even if the embedder service is missing or misconfigured, showing a clear error and allowing the user to change config.

Actual result

Extension remains stuck loading. Output log reports: "[CodeIndexManager] Error during background CodeIndexManager configuration/indexing for /My/Path/To/Workspace: Failed to connect to the embedder service. Please check your connection settings and ensure the service is running." UI does not finish loading or allow interaction.

Variations tried (optional)

Tried reloading window, reinstalling extension, etc.

App Version

3.28.18

API Provider (optional)

No response

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

roo-cline extension activated - {"publisher":"RooVeterinaryInc","name":"roo-cline","version":"3.28.18","outputChannel":"Roo-Code"}
[Default Commands Migration] Migration already completed, skipping
Skipping migration of cline_custom_modes.json to custom_modes.json: old file not found
Skipping migration of cline_mcp_settings.json to mcp_settings.json: old file not found
No custom_modes.json found, skipping YAML migration
[CodeIndexManager] Error during background CodeIndexManager configuration/indexing for /My/Path/To/Workspace: Failed to connect to the embedder service. Please check your connection settings and ensure the service is running.
[CodeIndexManager] Error during background CodeIndexManager configuration/indexing for /My/Path/To/Workspace2: Failed to connect to the embedder service. Please check your connection settings and ensure the service is running.
[CodeIndexManager] Error during background CodeIndexManager configuration/indexing for /My/Path/To/Workspace3: Failed to connect to the embedder service. Please check your connection settings and ensure the service is running.
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions