I’m using the following version
Version: 0.40.1
VSCode Version: 1.91.1
Commit: 58b91712431381a1b75817cd3437cee35dddcb30
Date: 2024-08-24T02:52:24.035Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.1.103-1-MANJARO
and when trying to use a devcontainer against a Debian bookworm, it always fails because it tries - as expected - to download the same version of vscode server as the version of Cursor, commit 58b91712431381a1b75817cd3437cee35dddcb30
in this case, but this commit does not exist.
[2024-08-26T10:02:00.417Z] Stop (0 ms): Run in container: test -d '/vscode/cursor-server/bin/linux-x64/58b91712431381a1b75817cd3437cee35dddcb30'
[2024-08-26T10:02:00.417Z] Installing VS Code Server for commit 58b91712431381a1b75817cd3437cee35dddcb30
[2024-08-26T10:02:00.417Z] Start: Run in container: /bin/sh
[2024-08-26T10:02:00.421Z] Start: Downloading VS Code Server
[2024-08-26T10:02:00.421Z] 58b91712431381a1b75817cd3437cee35dddcb30 linux-x64 stable
[2024-08-26T10:02:00.584Z] Failed to download VS Code Server (https://update.code.visualstudio.com/commit:58b91712431381a1b75817cd3437cee35dddcb30/server-linux-x64/stable): HTTP 404 - Not Found
[2024-08-26T10:02:00.584Z] Retrying to download VS Code Server.
[2024-08-26T10:02:02.034Z] Stop (1613 ms): Downloading VS Code Server
[2024-08-26T10:02:02.036Z] Error: XHR failed
The commit https://update.code.visualstudio.com/commit:58b91712431381a1b75817cd3437cee35dddcb30/server-linux-x64/stable always returns a 404. The same was happening with the previous version.
Silly question: as devcontainers always use the same commit as the running instance of VSCode/Cursor, is it possible the problem is that Cursor has its own commits sha that don’t exist in the VS Code Server repo?