mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-07 01:08:40 +01:00
* build: prepare cloud sandboxes at session start (Written by Copilot) Run sandbox-only prerequisites and Electron header setup from a repository startup hook before npm can build native dependencies. Remove redundant install-time bootstrapping and cover startup ordering with real offline npm fixtures. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * build: harden sandbox startup setup (Written by Copilot) Serialize startup setup and reuse validated per-checkout completion state. Raise sandbox process file-descriptor limits for setup and future agent commands, preserving hard limits and reporting failures explicitly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * build: raise required sandbox hard limits (Written by Copilot) Raise a sandbox hard file-descriptor limit when it is below the required 1048576, while preserving higher hard limits. Cover this behavior and exercise Linux child-process inheritance without skipping low-hard-limit hosts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * build: remove unused sandbox test import (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: check sandbox limit capability (Written by Copilot) Probe hard-limit elevation in the disposable Linux test subprocess. Skip the live inheritance test only when an unprivileged host explicitly rejects the required limit, while retaining coverage on capable sandboxes and all mocked limit/error tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>