ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
name: Code OSS
on:
pull_request:
branches:
- main
- 'release/*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: read
env:
VSCODE_QUALITY: 'oss'
jobs:
compile:
name: Compile & Hygiene
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-oss-ubuntu-22.04-x64
Checkout microsoft/vscode
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
Setup Node.js
actions/setupnode@820762786026740c76f36085b0efc47a31fe5020
.nvmrc
Restore node_modules cache
cachenodemodules
./.github/actions/restorenodemodules
node_modulescompile
Install build tools
steps.cachenodemodules.outputs.cachehit 'true'
sudo apt update y sudo apt install y buildessential pkgconfig libx11dev libx11xcbdev libxkbfiledev libnotifybin libkrb5dev
Install dependencies
steps.cachenodemodules.outputs.cachehit 'true'
for i in 1..5; do
npm ci break
if $i eq 5 ; then
echo "Npm install failed too many times"
exit 1
fi
echo "Npm install failed $i trying again"
done
$ secrets.GITHUB_TOKEN
Prepare Electron types
node build/npm/electronTypes.ts
Type check /build/ scripts
npm run typecheck
build
Prepare builtin extensions cache key
pwsh
node build/azurepipelines/common/computeBuiltInDepsCacheKey.ts .build/builtindepshash
Restore builtin extensions cache
cachebuiltinextensions
actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
.build/builtInExtensions
Download builtin extensions
steps.cachebuiltinextensions.outputs.cachehit 'true'
node build/lib/builtInExtensions.ts
$ secrets.GITHUB_TOKEN
Check Markdown editor manifests
Compile & Hygiene
npm exec npmrunall2 lp coreci hygiene eslint validlayerscheck defineclassfieldscheck vscodedtscompilecheck tseccompilecheck testbuildscripts
$ secrets.GITHUB_TOKEN
Check Codex protocol client is in sync
$ github.event.pull_request.base.sha
Check cyclic dependencies
node build/lib/checkCyclicDependencies.ts outbuild
Linux
./.github/workflows/prlinuxclitest.yml
CLI
Linux
./.github/workflows/prlinuxtest.yml
Electron
Linux
./.github/workflows/prlinuxtest.yml
ElectronSmoke
Linux
./.github/workflows/prlinuxtest.yml
Browser
Linux
./.github/workflows/prlinuxtest.yml
Remote
macOS
./.github/workflows/prdarwintest.yml
Electron
macOS
./.github/workflows/prdarwintest.yml
ElectronSmoke
macOS
./.github/workflows/prdarwintest.yml
Browser
macOS
./.github/workflows/prdarwintest.yml
Remote
Windows
./.github/workflows/prwin32test.yml
Electron
Windows
./.github/workflows/prwin32test.yml
ElectronSmoke
Windows
./.github/workflows/prwin32test.yml
Browser
Windows
./.github/workflows/prwin32test.yml
Remote
Copilot Check Test Cache
selfhosted 1ES.Pool=1esvscodeossubuntu22.04x64
read
read
Checkout code
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
actions/setupnode@820762786026740c76f36085b0efc47a31fe5020
extensions/copilot/.nvmrc
Restore node_modules cache
cachenodemodules
./.github/actions/restorenodemodules
copilotnode_moduleslinux
Install root dependencies
steps.cachenodemodules.outputs.cachehit 'true'
npm ci ignorescripts noworkspaces
Install copilot dependencies
steps.cachenodemodules.outputs.cachehit 'true'
extensions/copilot
npm ci
Ensure no duplicate cache keys
extensions/copilot
npx tsx test/base/cachecli check
Ensure no untrusted cache changes
github.event_name == 'pull_request'
extensions/copilot
npx tsx build/prcheckcachefiles.ts
$ secrets.GITHUB_TOKEN
$ github.repository
$ github.event.pull_request.number
Copilot Check Telemetry
selfhosted 1ES.Pool=1esvscodeossubuntu22.04x64
read
Checkout code
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
actions/setupnode@820762786026740c76f36085b0efc47a31fe5020
extensions/copilot/.nvmrc
Validate telemetry events
extensions/copilot
npx package=@vscode/telemetryextractor@1.20.4 yes vscodetelemetryextractor s . /dev/null
Copilot Test (Linux)
selfhosted 1ES.Pool=1esvscodeossubuntu22.04x64
read
Checkout repository
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
Setup Node.js
actions/setupnode@820762786026740c76f36085b0efc47a31fe5020
extensions/copilot/.nvmrc
Setup Python
actions/setuppython@5fda3b95a4ea91299a34e894583c3862153e4b97
Setup .NET
actions/setupdotnet@a98b56852c35b8e3190ac28c8c2271da59106c68
Install setuptools
pip install setuptools
Install system dependencies
Restore node_modules cache
cachenodemodules
./.github/actions/restorenodemodules
copilotnode_moduleslinux
Install root dependencies
steps.cachenodemodules.outputs.cachehit 'true'
npm ci ignorescripts noworkspaces
Install copilot dependencies
steps.cachenodemodules.outputs.cachehit 'true'
extensions/copilot
npm ci
TypeScript type checking
extensions/copilot
npm run typecheck
Lint
extensions/copilot
npm run lint
Compile
extensions/copilot
npm run compile
Run vitest unit tests
extensions/copilot
npm run testunit
Run simulation tests with cache
extensions/copilot
npm run simulateci
Run Completions Core prompt tests
extensions/copilot
npm run testprompt
Run Completions Core lib tests using VS Code
extensions/copilot
xvfbrun a npm run testcompletionscore
Archive simulation output
always()
extensions/copilot
Upload simulation output
always()
actions/uploadartifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
copilotsimulationoutputlinux$ github.run_attempt
extensions/copilot/.simulationarchive/simulation.tgz
Copilot Test (Windows)
selfhosted 1ES.Pool=1esvscodeosswindows2022x64
read
Checkout repository
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
Setup Node.js
actions/setupnode@820762786026740c76f36085b0efc47a31fe5020
extensions/copilot/.nvmrc
Setup Python
actions/setuppython@5fda3b95a4ea91299a34e894583c3862153e4b97
Setup .NET
actions/setupdotnet@a98b56852c35b8e3190ac28c8c2271da59106c68
Install setuptools
pip install setuptools
Restore node_modules cache
cachenodemodules
./.github/actions/restorenodemodules
copilotnode_moduleswindows
Install root dependencies
steps.cachenodemodules.outputs.cachehit 'true'
npm ci ignorescripts noworkspaces
Install copilot dependencies
steps.cachenodemodules.outputs.cachehit 'true'
extensions/copilot
npm ci
TypeScript type checking
extensions/copilot
npm run typecheck
Lint
extensions/copilot
npm run lint
Compile
extensions/copilot
npm run compile
Run vitest unit tests
extensions/copilot
npm run testunit
Run simulation tests with cache
extensions/copilot
npm run simulateci
Run Completions Core prompt tests
extensions/copilot
npm run testprompt
Run Completions Core lib tests using VS Code
extensions/copilot
npm run testcompletionscore