Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
parameters:-name: VSCODE_RUN_ELECTRON_TESTS
type: boolean
-name: VSCODE_RUN_BROWSER_TESTS
type: boolean
-name: VSCODE_RUN_REMOTE_TESTS
type: boolean
steps:-script: 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) }}:-script: ./scripts/test.sh -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 webkit tfs "Browser Unit Tests"
🧪 Run unit tests (Browser Webkit)
Build integration tests
$ if eq(parameters.VSCODE_RUN_ELECTRON_TESTS true)
$(agent.builddirectory)/vscodeserverdarwin$(VSCODE_ARCH)
🧪 Run integration tests (Electron)
$ if eq(parameters.VSCODE_RUN_BROWSER_TESTS true)
./scripts/testwebintegration.sh browser webkit
$(agent.builddirectory)/vscodeserverdarwin$(VSCODE_ARCH)web
🧪 Run integration tests (Browser Webkit)
$ if eq(parameters.VSCODE_RUN_REMOTE_TESTS true)
$(agent.builddirectory)/vscodeserverdarwin$(VSCODE_ARCH)
🧪 Run integration tests (Remote)
ps ef
Diagnostics before smoke test run
succeededOrFailed()
$ if eq(parameters.VSCODE_RUN_ELECTRON_TESTS true)
🧪 Run smoke tests (Electron)
brew list squid /dev/null 2 brew install squid
Install Squid for networkisolated smoke tests
🧪 Run Agents Window smoke tests through macOS PAC proxy
🧪 Run Agents Window smoke tests through Kerberosauthenticated macOS PAC proxy
$ if eq(parameters.VSCODE_RUN_BROWSER_TESTS true)
npm run smoketestnocompile web tracing headless
$(agent.builddirectory)/vscodeserverdarwin$(VSCODE_ARCH)web
🧪 Run smoke tests (Browser Chromium)
$ if eq(parameters.VSCODE_RUN_REMOTE_TESTS true)
$(agent.builddirectory)/vscodeserverdarwin$(VSCODE_ARCH)
🧪 Run smoke tests (Remote)
ps ef
Diagnostics after smoke test run
succeededOrFailed()
$ if eq(parameters.VSCODE_RUN_ELECTRON_TESTS true)
../../copilot/testintegrationsteps.yml@self
darwin
PublishTestResults@2
Publish Tests Results
succeededOrFailed()
# 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.
set -e
APP_ROOT="$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)"
APP_NAME="`ls $APP_ROOT | head -n 1`"
ProductJsonPath=$(find "$APP_ROOT" -name "product.json" -type f | head -n 1)
BINARY_NAME=$(jq -r '.nameShort' "$ProductJsonPath")
INTEGRATION_TEST_ELECTRON_PATH="$APP_ROOT/$APP_NAME/Contents/MacOS/$BINARY_NAME" \
./scripts/test-integration.sh --build --tfs "Integration Tests"
env
:
VSCODE_REMOTE_SERVER_PATH
:
-
-
-
VSCODE_SKIP_PRELAUNCH
:
'1'
displayName
:
timeoutInMinutes
:
20
-
{
{
,
}
}
:
-
script
:
-
-
-
-
env
:
VSCODE_REMOTE_SERVER_PATH
:
-
-
-
-
displayName
:
,
timeoutInMinutes
:
20
-
{
{
,
}
}
:
-
script
:
|
set -e
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
APP_NAME="`ls $APP_ROOT | head -n 1`"
ProductJsonPath=$(find "$APP_ROOT" -name "product.json" -type f | head -n 1)
BINARY_NAME=$(jq -r '.nameShort' "$ProductJsonPath")
INTEGRATION_TEST_ELECTRON_PATH="$APP_ROOT/$APP_NAME/Contents/MacOS/$BINARY_NAME" \
./scripts/test-remote-integration.sh
env
:
VSCODE_REMOTE_SERVER_PATH
:
-
-
-
VSCODE_SKIP_PRELAUNCH
:
'1'
displayName
:
timeoutInMinutes
:
20
-
script
:
-
displayName
:
continueOnError
:
true
condition
:
-
{
{
,
}
}
:
-
script
:
|
set -e
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
APP_NAME="`ls $APP_ROOT | head -n 1`"
npm run smoketest-no-compile -- --tracing --build "$APP_ROOT/$APP_NAME"
timeoutInMinutes
:
20
displayName
:
-
script
:
>
>
&1
|
|
displayName
:
-
-
script
:
|
set -e
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
APP_NAME="`ls $APP_ROOT | head -n 1`"
bash test/smoke/scripts/run-agents-window-network-proxy.sh --build "$APP_ROOT/$APP_NAME"
timeoutInMinutes
:
40
displayName
:
-
script
:
|
set -e
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
APP_NAME="`ls $APP_ROOT | head -n 1`"
bash test/smoke/scripts/run-agents-window-network-proxy.sh --kerberos --build "$APP_ROOT/$APP_NAME"
timeoutInMinutes
:
40
displayName
:
-
-
{
{
,
}
}
:
-
script
:
-
-
-
-
-
-
-
-
-
-
env
:
VSCODE_REMOTE_SERVER_PATH
:
-
-
-
-
timeoutInMinutes
:
20
displayName
:
,
-
{
{
,
}
}
:
-
script
:
|
set -e
npm run gulp compile-extension:vscode-test-resolver
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
APP_NAME="`ls $APP_ROOT | head -n 1`"
npm run smoketest-no-compile -- --tracing --remote --build "$APP_ROOT/$APP_NAME"