68 Commits
Author SHA1 Message Date
roblourensandCopilot 3ead11d604 build: complete Cloud Sandbox setup without manual recovery (#340396)
* build: finish sandbox Node setup automatically (Written by Copilot)

Select the verified Node runtime on the sandbox existing executable PATH, continue native header setup under that runtime, and cache completion using the selected Node version rather than the old hook process version.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: cover unattended sandbox Node handoff (Written by Copilot)

Verify startup runs native preinstall under the selected executable and records success in the same invocation, without manual environment recovery.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* build: reuse container flags in cloud sandboxes (Written by Copilot)

Use the existing Chromium shared-memory workaround for Linux Cloud Sandbox launches. Live probes confirmed the 64 MB shared-memory mount fills during module loading and the existing flag restores the workbench without protocol changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-07 17:32:34 -07:00
RoboandCopilot d0e516655a fix: rename product executable on macOS (#291948)
* fix: rename product executable name on macOS

* chore: update test/automation/src/electron.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: update test/automation/src/electron.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: rename in additional places

* chore: rename in code-perf.js

* chore: create symlink for backwards compatibility

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 14:50:21 -08:00
Matt BiernerandJoão Moreno 2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
Rob Lourens 3ea3162dd4 Disable api-test extension when running code.sh directly (#214521) 2024-06-06 16:12:17 -07:00
Robo fb76955440 chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs https://github.com/electron/electron/commit/267cbc841eb97c1c768ea116352f7430968cb05d

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of https://github.com/electron/electron/commit/f842ead6bc627afdf5b945305abb3e1872b558ef

* chore: update distro
2024-01-09 08:33:34 +01:00
Robo f9480e290f fix: launching code-oss in docker containers (#183123) 2023-05-22 17:15:52 +02:00
Alexandru Dima e08e4d3fe1 Move --ms-enable-electron-run-as-node to a later location (#136786)
* Move `--ms-enable-electron-run-as-node` to a later location, which is not fatal in Electron builds that don't know it

* undo bad change
2021-11-09 15:11:12 -08:00
deepak1556 ac29daaf3b Fixes #136771: update to Electron v13.5.2 and pass --ms-enable-run-as-node together with ELECTRON_RUN_AS_NODE 2021-11-09 19:09:26 +01:00
Alex Dima a704a69394 Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
João Moreno bae654ad1d scripts/code.sh: disable gpu on wslg 2021-06-08 15:19:04 +02:00
João Moreno 11a1f705db fix code.sh script in wsl2+gui 2021-06-07 20:39:27 +02:00
Benjamin Pasero e2954beb4b Remove --no-sandbox (#122909)
* linux - remove `--no-sandbox` flag

We should not disable sandbox on Linux.
We only added this to support running on Kernel <= 3.8 where setuid sandbox is used.

* fix ci

* add some docs
2021-05-04 11:18:19 +02:00
Sandeep Somavarapu fd8411e75e Fix #89559 2020-11-02 16:27:36 +01:00
Martin Aeschlimann 59df6b40f1 code.sh: Prevent stealing of stdin (for #99815) 2020-10-16 22:45:38 +02:00
Martin Aeschlimann a8581d60f2 fix wsl selfhosting in scripts/code.sh 2020-09-16 23:55:52 +02:00
Connor Peet 262ab802d3 launch: check prerequisites in a pre-launch task
Fixes https://github.com/microsoft/vscode/issues/103708
2020-07-31 10:55:07 -07:00
Chuck Lantz 2582661266 Fix Docker WSL2 engine scenario 2020-06-22 19:24:34 -07:00
Dirk Baeumer 177b9c30ea Add –noprofile to detect WSL IP address to speed up things 2020-05-05 14:45:03 +02:00
Alex Dima a6e59815c8 Adopt vscode-oniguruma-wasm 2020-04-23 11:16:21 +02:00
Benjamin Pasero f622c438e4 electron - enable ELECTRON_ENABLE_SECURITY_WARNINGS when running out of sources 2020-04-20 08:34:51 +02:00
João Moreno 1526a0ba1e fix wsl script 2020-03-30 14:45:18 +02:00
João Moreno 793499665b use windows DISPLAY when running code.sh client within WSL 2020-03-30 14:33:49 +02:00
Joao Moreno 2e3bbc2da9 always launch code with --no-sandbox 2020-02-17 16:31:00 +01:00
Joao Moreno 5048816ebf extract yarn electron 2019-10-16 11:15:43 +02:00
Nikolay Kondratyev 4f6e116539 Use yarn compile for start scripts 2019-10-03 18:35:56 +03:00
Rob Lourens a556ca989b Unset VSCODE_LOGS in code.sh
so it writes to the code-oss logs folder and doesn't inherit the insiders log folder
2019-09-10 11:33:14 -07:00
Benjamin Pasero a62ea90c35 build - enable ELECTRON_ENABLE_LOGGING again on Linux (#80192) 2019-09-02 09:30:31 +02:00
Martin Aeschlimann 327832422c scripts/code.sh: remove -x 2019-07-30 16:37:19 +02:00
Martin Aeschlimann c94b2703c5 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-07-29 16:03:51 +02:00
Martin Aeschlimann ef70441e30 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-06-07 15:48:46 +02:00
kieferrm 4237ce04c5 change publisher 2019-04-30 23:34:46 +00:00
Martin Aeschlimann 6b7b653dae code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-04-15 13:07:08 +02:00
Martin Aeschlimann b9725ba609 code.sh is broken in WSL after commit "run code wsl in dev ". Fixes #72263 2019-04-15 13:04:49 +02:00
Martin Aeschlimann 251a490430 run code wsl in dev 2019-04-11 10:25:08 +02:00
Benjamin Pasero ac0ead21e6 electron 3 - trace-hydrogen is no longer supported 2018-12-17 17:27:26 +01:00
Daniel Imms 5dc414cbc9 Revert "Merge pull request #54854 from Microsoft/revert-52782-electron-2.0.x"
This reverts commit 90fc7e66e2, reversing
changes made to 3b25417fa2.
2018-07-23 07:34:16 -07:00
Sandeep Somavarapu 1dc23e548e Revert "Update to Electron 2.0.x" 2018-07-23 10:58:49 +02:00
Benjamin Pasero 9459d2aae0 Update to Electron 2.0.x 2018-06-25 09:32:06 +02:00
Benjamin Pasero e47a9c9eef revert electron 2.0.x update 2018-06-25 09:28:34 +02:00
Benjamin Pasero e7d29e9ccc Electron v2.0.0 (#48290)
* Update to Electron 2.0-beta.7

* back to exploration build

* fix compile errors

* workaround build issue (go back to 1.24.0)

* bump to 1.25.0

* use electron 2.0.2

* revert custom distro
2018-06-08 18:32:49 +02:00
Benjamin Pasero 6cb06b7cb5 Revert "Electron v2.0.0 (#47289)"
This reverts commit f7ec491c3e.
2018-04-20 17:22:31 +02:00
Benjamin Pasero f7ec491c3e Electron v2.0.0 (#47289)
* Update to Electron 2.0.0-beta.7

* bump to electron 2.0.0-beta.7

* localStorage - workaround birthtime rounding issues that clear workspace storage

* fix compile error

* workaround #47569

* localStorage - add telemetry for successful migration

* increment to localStorageTimers4

* localStorage - allow to restore from backup if starting with 1.7.x again

* logLocalStorageMigrationStatus only on insider

* back to official distro

* 💄

* still use exploration distro

* remove GTK3 emoji picker which does not seem to work

* 💄
2018-04-13 08:23:12 +02:00
Benjamin Pasero 24d87a7eb0 Revert "Update to Electron v2.0.0-beta.6 (#46552)"
This reverts commit 88603b377d.
2018-04-06 09:33:18 +02:00
Daniel Imms 88603b377d Update to Electron v2.0.0-beta.6 (#46552)
* electron@2.0.0-beta-1

* Update distro

* Update electron.d.ts to 2.0.0-beta.1

* Disable asar as it causes a native crash

* Adopt Module._resolveLookupPaths ASAR patch

* electron 2.x - restore inspector URL in extension host

* electron 2.x - adopt context menu callback for onHide

* electron 2.x - remove workaround for https://github.com/electron/electron/issues/10442

* electron 2.x - update node.d.ts

* electron 2.x - update node.d.ts to 8.9.x

* electron 2.x - keep node.d.ts changes to a minimum

* electron 2.x - remove workaround for https://github.com/electron/electron/issues/10862

* electron 2.x - bump to 2.0.0-beta2

* bump to 2.0.0-beta.3

* Context menu: selecting "Rename" does not put focs into rename box (fix #45601)

* quality "exploration" for easier testing

* empty commit

* push a workaround for #45700

* Certain themes show UI artifacts over activity bar icons (fixes #45700)

* better fix for #45700

* bump to 2.0.0-beta.4

* another fix to prevent flickering for #45700

* avoid remote access in index.js

* bump distro commit

* electron 2.x - do not use --debug anymore

* bump electron to 2.0.0-beta.5

* electron 2.x - add libgtk-3-dev as build dependency for Linux 64

* electron 2.x - workaround freeze on linux on startup

* bump local storage telemetry key

* electron 2.x - do a one time backup of local storage

* enable ELECTRON_ENABLE_LOGGING on macOS at least

* 2.0.0-beta.6

* Fix ctrl+shift+e not focusing explorer on Linux

* distro - use GH electron builds for now
2018-04-03 12:39:25 +02:00
Joao Moreno 2ebd2a7dd2 builtin: manage extensions 2018-01-30 09:04:39 +01:00
Joao Moreno b338f57e76 built in extensions control file 2018-01-29 12:23:43 +01:00
Joao Moreno 1d106e5afe rename gulp tasks 2018-01-24 09:38:45 +01:00
Alex Dima 5bdb90de36 scripts/code.sh picks up marketplace built-in extensions automatically 2018-01-23 16:40:52 +01:00
Joao Moreno fdcecb53e6 remove package.json electronVersion 2017-11-16 14:43:41 +01:00
Joao Moreno 4537783742 adopt yarn in scripts 2017-11-16 10:47:02 +01:00