fix(core): ensure global temp directory is always in sandbox allowed paths (#24638)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Gal Zahavi
2026-04-03 17:23:27 -07:00
committed by GitHub
parent 4fb3790051
commit 65024d4538
9 changed files with 91 additions and 12 deletions
@@ -2015,6 +2015,7 @@ describe('ShellExecutionService environment variables', () => {
isDangerousCommand: vi.fn().mockReturnValue(false),
parseDenials: vi.fn().mockReturnValue(undefined),
getWorkspace: vi.fn().mockReturnValue('/workspace'),
getOptions: vi.fn().mockReturnValue(undefined),
};
const configWithSandbox: ShellExecutionConfig = {