Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
parameters:-name: VSCODE_ARCH
type: string
-name: VSCODE_RUN_ELECTRON_TESTS
type: boolean
-name: VSCODE_RUN_BROWSER_TESTS
type: boolean
-name: VSCODE_RUN_REMOTE_TESTS
type: boolean
steps:-powershell: npm exec -- npm-run-all2 -lp "electron $(VSCODE_ARCH)" "playwright-install"
env:GITHUB_TOKEN:"$(github-token-code-oss)"AZURE_DEVOPS_EXT_PAT: $(System.AccessToken)
displayName: Download Electron and Playwright
retryCountOnTaskFailure:3- ${{ if eq(parameters.VSCODE_RUN_ELECTRON_TESTS, true) }}
.\scripts\test.bat build tfs "Unit Tests"
🧪 Run unit tests (Electron)
🧪 Run unit tests (node.js)
$ if eq(parameters.VSCODE_RUN_BROWSER_TESTS true)
npm run testbrowsernoinstall build browser chromium tfs "Browser Unit Tests"
🧪 Run unit tests (Browser Chromium)
Build integration tests
.\build\azurepipelines\win32\listprocesses.bat
Diagnostics before integration test runs
succeededOrFailed()
Copy builds to test directory
$ if eq(parameters.VSCODE_RUN_ELECTRON_TESTS true)
🧪 Run integration tests (Electron)
$ if eq(parameters.VSCODE_RUN_BROWSER_TESTS true)
🧪 Run integration tests (Browser Firefox)
$ if eq(parameters.VSCODE_RUN_REMOTE_TESTS true)
🧪 Run integration tests (Remote)
.\build\azurepipelines\win32\listprocesses.bat
Diagnostics after integration test runs
succeededOrFailed()
.\build\azurepipelines\win32\listprocesses.bat
Diagnostics before smoke test run
succeededOrFailed()
$ if eq(parameters.VSCODE_RUN_ELECTRON_TESTS true)
🧪 Run smoke tests (Electron)
$ if eq(parameters.VSCODE_RUN_BROWSER_TESTS true)
npm run smoketestnocompile web tracing headless
$(agent.builddirectory)\test\vscodeserverwin32$(VSCODE_ARCH)web
🧪 Run smoke tests (Browser Chromium)
$ if eq(parameters.VSCODE_RUN_REMOTE_TESTS true)
npm run smoketestnocompile tracing remote build "$(agent.builddirectory)\test\VSCodewin32$(VSCODE_ARCH)"
$(agent.builddirectory)\test\vscodeserverwin32$(VSCODE_ARCH)
🧪 Run smoke tests (Remote)
.\build\azurepipelines\win32\listprocesses.bat
Diagnostics after smoke test run
succeededOrFailed()
$ if eq(parameters.VSCODE_RUN_ELECTRON_TESTS true)
../../copilot/testintegrationsteps.yml@self
win32
PublishTestResults@2
Publish Tests Results
succeededOrFailed()
Kill lingering test processes
succeededOrFailed()
# Copy client, server and web builds to a separate test directory, to avoid Access Denied errors in codesign
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
$TestDir = "$(agent.builddirectory)\test"
New-Item -ItemType Directory -Path $TestDir -Force
Copy-Item -Path "$(agent.builddirectory)\VSCode-win32-$(VSCODE_ARCH)" -Destination "$TestDir\VSCode-win32-$(VSCODE_ARCH)" -Recurse -Force
Copy-Item -Path "$(agent.builddirectory)\vscode-server-win32-$(VSCODE_ARCH)" -Destination "$TestDir\vscode-server-win32-$(VSCODE_ARCH)" -Recurse -Force
Copy-Item -Path "$(agent.builddirectory)\vscode-server-win32-$(VSCODE_ARCH)-web" -Destination "$TestDir\vscode-server-win32-$(VSCODE_ARCH)-web" -Recurse -Force
displayName
:
-
{
{
,
}
}
:
-
powershell
:
|
# Figure out the full absolute path of the product we just built
# including the remote server and configure the integration tests
# to run with these builds instead of running out of sources.
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
$AppRoot = "$(agent.builddirectory)\test\VSCode-win32-$(VSCODE_ARCH)"
$ProductJsonPath = (Get-ChildItem -Path "$AppRoot" -Name "product.json" -Recurse | Select-Object -First 1)
$AppProductJson = Get-Content -Raw -Path "$AppRoot\$ProductJsonPath" | ConvertFrom-Json
$AppNameShort = $AppProductJson.nameShort
$env:INTEGRATION_TEST_ELECTRON_PATH = "$AppRoot\$AppNameShort.exe"
$env:VSCODE_REMOTE_SERVER_PATH = "$(agent.builddirectory)\test\vscode-server-win32-$(VSCODE_ARCH)"
exec { .\scripts\test-integration.bat --build --tfs "Integration Tests" }