Intent of terminalSandboxEngine.ts ×1
All 58 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/58 tests-
platform/58 tests-
agentHost/23 tests-
test/23 tests-
node/23 tests-
copilotShellTools.test|title=CopilotShellTools shell helper tools (read/1 test-
write/1 test
-
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools alt-buffer shell is not immediately reused|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools alt-buffer shell is released when command finishes|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools backgrounded shell is not immediately reused|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools backgrounded shell is released when command finishes|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools backgrounded shell is released when terminal exits|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool asks for confirmation when requestUnsandboxedExecution is explicitly set|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool forces bracketed paste with shell integration|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool ignores echoed sentinel command text|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool merges configured filesystem allowRead paths into the sandbox config|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool normalizes multiline command input|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool only forces bracketed paste for single-line commands on macOS|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool requests confirmation before rerunning outside the sandbox|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool returns alternateBuffer when sentinel fallback enters alt buffer|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool returns alternateBuffer when shell integration enters alt buffer|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool returns sandbox_blocked when user declines unsandboxed rerun|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool returns unsandboxed_disabled when allowUnsandboxedCommands is off|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool schema only exposes requestUnsandboxedExecution params when the sandbox is enabled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool sends commands unwrapped when the sandbox is disabled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool wraps commands through the sandbox engine when the sandbox is enabled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools primary shell tool writes a sandbox config exposing the working directory as writable|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools write shell tool normalizes input without appending enter|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotShellTools.test|title=CopilotShellTools zsh executable keeps bash tool name but uses zsh-specific guidance|occurrence=1
-
-
-
-
sandbox/35 tests-
test/35 tests-
common/35 tests-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine Windows MXC config ignores unsupported network host lists|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine allowNetwork maps to MXC allow network config on Windows|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine always denies reads of the sandbox config file on Linux and macOS|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine blocked domains request sandboxed network access before execution when enabled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine checkFileAccess preserves symlink source and target permissions on Linux|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine checkFileAccess validates read paths against denyRead and allowRead on Linux|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine checkFileAccess validates write paths against allowWrite and denyWrite on Linux|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine checkForSandboxingPrereqs caches missing dependencies until force refresh|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine checkForSandboxingPrereqs reports missing dependencies|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine checkForSandboxingPrereqs reports remediation when bubblewrap is unusable|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine deduplicates Windows filesystem paths regardless of case or separator|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine deduplicates resolved Windows paths regardless of case or separator|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine enabledWindows on value does not enable allowNetwork on Windows|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine isEnabled returns false on Windows when Windows sandbox setting is disabled by default|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine isEnabled returns true on Windows when Windows sandbox setting is enabled even if global sandboxing is off|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine keeps filesystem paths without symlinks when writing the config|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine onDidChangeRoots triggers a sandbox config rewrite on the next wrap|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine precheck inputs can disable sandboxing when default approval permission is disabled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine preserves Windows filesystem symlink paths and resolves their targets when writing MXC config|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine preserves filesystem symlink paths and resolves their targets on Linux when writing the config|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine requestAllowNetwork does not relax network access when per-command requests are disabled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine requestAllowNetwork keeps the command sandboxed and refreshes its network config|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine runAsNode=false omits the ELECTRON_RUN_AS_NODE=1 prefix|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine runAsNode=true prefixes the wrapped command with ELECTRON_RUN_AS_NODE=1|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine sandbox config does not enable PTY access by default on Linux|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine sandbox config enables PTY access by default on macOS|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine sandbox config preserves advanced runtime network settings when allowNetwork is enabled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine sandbox config respects explicitly disabled PTY access on macOS|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine uses OS-specific filesystem absolute path detection|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine wrapCommand adds ripgrep-universal platform-arch bin directory to PATH|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine wrapCommand applies Windows filesystem setting to MXC config|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine wrapCommand applies configured Windows MXC schema version|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine wrapCommand rewrites MXC config when Windows command changes|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine wrapCommand uses MXC executable and writes MXC config on Windows|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/sandbox/test/common/terminalSandboxEngine.test|title=TerminalSandboxEngine wrapCommand uses arm64 MXC executable on Windows arm64|occurrence=1
-
-
-
-
-