[VS Code] GitLab DUO Chat broken in non-WSL remotes
Checklist
-
I'm using the latest version of the extension (see the latest version in the right column of this page) - Extension version: 6.8.0, 6.9.0, 6.10.0, 6.11.0, 6.12.0
-
I'm using the latest VS Code version (find the latest version here) - VS Code version: 1.99.2, 1.99.3
-
I'm using a supported version of GitLab (see README for the supported version) - GitLab version: 17.10.4
Summary
Yesterday's release 6.8.0 broke GitLab DUO chat in non-WSL remotes (tested with SSH and DevContainer remotes).
We are currently evaluating GitLab DUO and our primary development experience is Visual Studio Code with Remote SSH, so this is seriously impacting our trial.
Steps to reproduce
Run the 6.8.0 version of the extension, connect to an SSH or DevContainer remote, and attempt to open a DUO chat by clicking the extension icon.
What is the current bug behavior?
VScode displays an error message:
Error: The webview didn't initialize in 10000ms
What is the expected correct behavior?
The standard GitLab DUO chat, such as:
👋 I am GitLab Duo Chat, your personal AI-powered assistant. How can I help you today
Relevant logs and/or screenshots
2025-04-10T11:46:53:519 [info]: PacProxyAgent not found
2025-04-10T11:46:55:415 [info]: Configuring Language Server - baseUrl: https://scm.ad.umanitoba.ca
2025-04-10T11:46:55:432 [info]: handleRegisterCapability: {
"id": "077471a9-22f9-4371-b836-3ef926c73a4a",
"method": "workspace/didChangeWatchedFiles",
"registerOptions": {
"watchers": [
{
"globPattern": "**/*"
}
]
}
}
2025-04-10T11:46:55:481 [info]: Extracted urls: []
2025-04-10T11:46:55:481 [warning]: GitExtensionWrapper is missing repository for file:///workspaces/python-um-etl
2025-04-10T11:46:55:487 [warning]: GitExtensionWrapper is missing repository for file:///workspaces/python-um-etl
2025-04-10T11:46:55:487 [warning]: GitExtensionWrapper is missing repository for file:///workspaces/python-um-etl
2025-04-10T11:46:55:487 [warning]: GitExtensionWrapper is missing repository for file:///workspaces/python-um-etl
2025-04-10T11:46:55:488 [info]: Found 0 projects for urls: []
2025-04-10T11:46:55:492 [info]: Configuring Language Server - baseUrl: https://scm.ad.umanitoba.ca
2025-04-10T11:46:56:276 [info]: Extracted urls: [
"git@scm.ad.umanitoba.ca:dev-ops/um-libraries/python-um-etl.git"
]
2025-04-10T11:46:56:410 [info]: Found 1 projects for urls: [
"git@scm.ad.umanitoba.ca:dev-ops/um-libraries/python-um-etl.git"
]
2025-04-10T11:46:56:411 [info]: Configuring Language Server - baseUrl: https://scm.ad.umanitoba.ca
2025-04-10T11:47:08:050 [error]: {
"userMessage": "The webview didn't initialize in 10000ms",
"errorMessage": "The webview didn't initialize in 10000ms",
"stack": [
"Error: The webview didn't initialize in 10000ms",
"\tat Timeout.<anonymous> (/home/ist/.vscode-server/extensions/gitlab.gitlab-workflow-6.8.0/extension.js:1806:6911)",
"\tat listOnTimeout (node:internal/timers:581:17)",
"\tat process.processTimers (node:internal/timers:519:7)"
]
}
Possible fixes
Not sure but based on the changelog I'd look at the commits related to the WSL extension changes that were made for 6.8.0 to start.
Edited by Dave Gabrielson