Skip to content

Conversation

@bmiddha
Copy link
Member

@bmiddha bmiddha commented Aug 28, 2025

Summary

Fix for debug certificate manager extension activation event timing out

Details

Extension host logs:

2025-08-28 10:17:25.288 [info] Not activating extension 'ms-RushStack.debug-certificate-manager': Timed out while searching for 'workspaceContains' pattern /.vscode/debug-certificate-manager.json

We provided a very specific path in the workspaceContains activation event but the extension host still times out when looking for the file.

The timeout in VS Code not configurable. It is hardcoded to 7 seconds.
https://github.com/microsoft/vscode/blob/050422ff10abc7ccf088f003ab5843761ae4fcbf/src/vs/workbench/services/extensions/common/workspaceContains.ts#L18

This change updates the extension manifest to always activate the extension. It also removes the error dialog that renders if .vscode/debug-certificate-manager.json file is not found in the workspace to make the extension less noisy when opening workspaces without that config file.

This bug repros consistently when a new codespace is created and vscode is waiting for it to boot up, run the post start scripts and attach. After the codespace is ready, the repro is flaky.

How it was tested

Tested that the extension unconditionally activates and we no longer get the extension host timeout.

@bmiddha bmiddha merged commit 4b12249 into main Aug 28, 2025
5 checks passed
@bmiddha bmiddha deleted the bmiddha/vscode-tls-activation-event branch August 28, 2025 19:02
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants