mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-01 20:17:05 +01:00
8748be1f1a
* feat: update to Electron v42
* chore: drop support for arm 32-bit server
* chore: update types/node to v24.x
* chore: temporarily lock the target version for build/
* chore: update v8-source-location.patch
* chore: fix clippy
* chore: cleanup armhf server ci config
* fix: broken lock file
* fix: c++ version requirement for sysroot builds
* fix: msvc compilation of native modules
* fix: handle rejections for fire-and-forget loadurl
* fix: windows build
* ci: fix teardown of daemon process on windows
```
2026-05-15T20:55:09.7717127Z Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
```
* chore: update deb and rpm dependencies
* chore: update version info
* spec: improve reliablity of offscreencanvas tests
* spec: retry EPERM failures on teardown
* chore: update x86_64 rpm deps
* ci: exclude server binskim for armhf
* temp: bump distro
* test: ignore deprecation warnings treated as errors
* chore: update lockfile
* fix: externalize electron from auth extension bundles
Error: Cannot find module 'c:\Users\cloudtest\AppData\Local\Temp\vscode-sanityQvCaze\vscode-server-win32-x64-web\extensions\github-authentication\dist\install.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1476:15)
at wrapResolveFilename (node:internal/modules/cjs/loader:1049:27)
at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1073:10)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1094:12)
at Module._load (node:internal/modules/cjs/loader:1262:25)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v24.15.0
* test: make wsl sanity tests reliable
* chore: bump electron@42.1.0
* temp: bump distro
* chore: bump electron@42.2.0
* chore: bump distro
* chore: update debian dependencies
* Revert "test: make wsl sanity tests reliable"
This reverts commit b3f2b63e83.
* test: do not fail for deprecation warnings
* chore: patch node24 server binary for wsl1
* chore: address review feedback
* chore: revert global navigation error handler in browserview
* chore: bump distro
70 lines
2.5 KiB
Batchfile
70 lines
2.5 KiB
Batchfile
@echo off
|
|
setlocal
|
|
|
|
for /f "tokens=*" %%a in ('powershell -NoProfile -Command "[int](Get-CimInstance Win32_Processor).Architecture"') do set ARCH=%%a
|
|
if "%ARCH%"=="12" (set "ARCH_NAME=ARM64") else if "%ARCH%"=="9" (set "ARCH_NAME=AMD64") else if "%ARCH%"=="5" (set "ARCH_NAME=ARM") else (set "ARCH_NAME=x86")
|
|
|
|
echo System: %OS% %ARCH_NAME%
|
|
powershell -NoProfile -Command "$os = Get-CimInstance Win32_OperatingSystem; $total = $os.TotalVisibleMemorySize/1MB; $free = $os.FreePhysicalMemory/1MB; Write-Host ('Memory: {0:N0} GB free of {1:N0} GB' -f $free, $total)"
|
|
powershell -NoProfile -Command "$disk = Get-PSDrive C; Write-Host ('Disk C: {0:N0} GB free of {1:N0} GB' -f ($disk.Free/1GB), (($disk.Used+$disk.Free)/1GB))"
|
|
|
|
echo Checking if WSL is installed
|
|
where wsl >nul 2>nul
|
|
if errorlevel 1 (
|
|
echo WSL is not installed, skipping WSL setup
|
|
) else (
|
|
echo Checking if Ubuntu is available on WSL
|
|
powershell -NoProfile -Command "if ((wsl -l -q) -contains 'Ubuntu') { exit 0 } else { exit 1 }"
|
|
if errorlevel 1 call :install_ubuntu
|
|
|
|
echo Ensuring Ubuntu runs with WSL2
|
|
wsl --set-version Ubuntu 2 >nul 2>nul
|
|
if errorlevel 1 (
|
|
echo WARNING: Failed to switch Ubuntu to WSL2. WSL1 fallback workaround will be used for Node 24 server binaries.
|
|
)
|
|
|
|
echo WSL distributions:
|
|
wsl --list --verbose
|
|
)
|
|
|
|
set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
|
set PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
|
|
|
|
echo Running sanity tests
|
|
node "%~dp0..\out\index.js" %*
|
|
|
|
goto :eof
|
|
|
|
REM ====================================================================================================================
|
|
|
|
:install_ubuntu
|
|
|
|
echo Ubuntu image is not present in WSL
|
|
|
|
echo Setting default WSL version to 2
|
|
wsl --set-default-version 2 >nul 2>nul
|
|
if errorlevel 1 (
|
|
echo WARNING: Failed to set default WSL version to 2. Import may default to WSL1.
|
|
)
|
|
|
|
if "%ARCH%"=="12" (
|
|
set "ROOTFS_URL=https://cloud-images.ubuntu.com/wsl/jammy/current/ubuntu-jammy-wsl-arm64-ubuntu22.04lts.rootfs.tar.gz"
|
|
) else (
|
|
set "ROOTFS_URL=https://cloud-images.ubuntu.com/wsl/jammy/current/ubuntu-jammy-wsl-amd64-ubuntu22.04lts.rootfs.tar.gz"
|
|
)
|
|
|
|
set "ROOTFS_ZIP=%TEMP%\ubuntu-rootfs.tar.gz"
|
|
set "ROOTFS_DIR=%LOCALAPPDATA%\WSL\Ubuntu"
|
|
|
|
echo Downloading Ubuntu rootfs from %ROOTFS_URL% to %ROOTFS_ZIP%
|
|
curl -L -o "%ROOTFS_ZIP%" "%ROOTFS_URL%"
|
|
|
|
echo Importing Ubuntu into WSL at %ROOTFS_DIR% from %ROOTFS_ZIP%
|
|
mkdir "%ROOTFS_DIR%" 2>nul
|
|
wsl --import Ubuntu "%ROOTFS_DIR%" "%ROOTFS_ZIP%"
|
|
|
|
echo Starting Ubuntu on WSL
|
|
wsl -d Ubuntu echo Ubuntu WSL is ready
|
|
|
|
goto :eof
|