fix: associate extHost lifecycle to window (#292672)

* fix: associate extHost lifecycle to window

* chore: update test/smoke/src/areas/extensions/extension-host-restart.test.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: add grace period when tracking extension host lifecycle

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Robo
2026-02-04 19:42:45 +09:00
committed by GitHub
parent 235e05f34b
commit b22bccfc65
6 changed files with 293 additions and 3 deletions

View File

@@ -0,0 +1,29 @@
{
"name": "vscode-smoketest-ext-host",
"displayName": "Smoke Test Extension Host",
"description": "Extension for smoke testing extension host lifecycle",
"version": "0.0.1",
"publisher": "vscode",
"license": "MIT",
"private": true,
"engines": {
"vscode": "^1.55.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./extension.js",
"extensionKind": ["ui"],
"contributes": {
"commands": [
{
"command": "smoketest.getExtensionHostPidAndBlock",
"title": "Smoke Test: Get Extension Host PID and Block"
},
{
"command": "smoketest.setupGracefulDeactivation",
"title": "Smoke Test: Setup Graceful Deactivation"
}
]
}
}