iceweasel-oai
938ddfb66c
Fix Windows environment handling for remote MCP servers ( #54069 )
...
## Why
Remote MCP environment filtering could drop `SystemDrive` and `LocalAppData`. Explicit overrides also need Windows-aware merging to replace inherited variables with differently cased names.
## What changed
- Preserve `SYSTEMDRIVE` and `LOCALAPPDATA` when remote environment variables activate the allowlist.
- Apply explicit environment overrides through the executor environment policy, while retaining the final overlay for variables excluded by the allowlist.
## Testing
Extend environment-policy tests to cover the additional Windows variables, overrides with differently cased names, and the final overlay used by older executors.
GitOrigin-RevId: 36df69117f248536e47cf7e1d855b99a138fe698
(cherry picked from commit 0fd85b0752 )
2026-10-14 12:05:05 -07:00
..
2026-10-12 13:39:54 +00:00
2026-10-07 12:47:04 +00:00
2026-07-23 19:19:35 +00:00
2026-07-21 22:44:43 +00:00
2026-10-09 13:15:39 +00:00
2026-10-08 05:29:11 +00:00
2026-09-30 00:51:39 +00:00
2026-10-13 16:15:41 +00:00
2026-10-11 15:57:06 +00:00
2026-10-08 20:11:43 +00:00
2026-10-12 11:24:22 +00:00
2026-10-08 20:11:43 +00:00
2026-10-06 17:26:19 +00:00
2026-10-12 11:24:22 +00:00
2026-10-12 15:43:27 +00:00
2026-10-06 23:44:17 +00:00
2026-10-09 21:29:36 +00:00
2026-10-07 22:11:14 +00:00
2026-09-30 18:49:29 +00:00
2026-10-13 16:23:44 +00:00
2026-10-01 22:32:29 +00:00
2026-09-29 13:58:09 +00:00
2026-09-29 03:32:19 +00:00
2026-08-28 19:44:50 +00:00
2026-10-10 08:51:21 +00:00
2026-10-10 08:51:21 +00:00
2026-10-08 19:15:17 +00:00
2026-10-10 02:14:13 +00:00
2026-10-13 15:24:00 +00:00
2026-09-25 00:20:02 +00:00
2026-10-13 16:23:44 +00:00
2026-10-13 07:32:21 +00:00
2026-10-10 01:25:00 +00:00
2026-10-13 16:57:54 +00:00
2026-10-06 23:28:55 +00:00
2026-10-09 20:36:17 +00:00
2026-10-08 20:11:43 +00:00
2026-10-13 16:57:54 +00:00
2026-10-14 11:57:06 -07:00
2026-10-08 13:45:19 +00:00
2026-10-13 15:25:12 +00:00
2026-10-13 16:15:41 +00:00
2026-10-13 16:57:54 +00:00
2026-10-07 11:18:05 +00:00
2026-10-01 09:52:54 +00:00
2026-10-07 17:59:22 +00:00
2026-10-13 17:22:34 +00:00
2026-10-01 15:57:03 +00:00
2026-10-13 15:05:16 +00:00
2026-10-10 01:25:00 +00:00
2026-10-13 12:51:12 +00:00
2026-10-09 15:13:29 +00:00
2026-10-08 16:19:09 +00:00
2026-09-29 22:24:09 +00:00
2026-10-09 15:29:50 +00:00
2026-07-22 04:17:34 +00:00
2026-10-08 20:11:43 +00:00
2026-10-10 19:43:24 +00:00
2026-10-08 20:11:43 +00:00
2026-10-07 18:32:50 +00:00
2026-10-02 23:26:27 +00:00
2026-10-06 01:46:33 +00:00
2026-10-14 11:57:06 -07:00
2026-10-12 23:46:16 +00:00
2026-10-13 10:21:42 +00:00
2026-10-06 21:29:35 +00:00
2026-05-25 17:26:10 -03:00
2026-10-10 01:14:28 +00:00
2026-10-13 15:05:16 +00:00
2026-10-10 02:54:59 +00:00
2026-10-12 18:53:49 +00:00
2026-10-07 22:11:14 +00:00
2026-10-14 12:05:05 -07:00
2026-10-10 01:25:00 +00:00
2026-10-07 07:57:14 +00:00
2026-10-09 22:11:30 +00:00
2026-10-08 16:19:09 +00:00
2026-10-08 20:11:43 +00:00
2026-10-10 01:25:00 +00:00
2026-10-02 00:46:14 +00:00
2026-10-12 17:52:12 +00:00
2026-10-13 07:32:21 +00:00
2026-10-10 01:25:00 +00:00
2026-10-10 01:25:00 +00:00
2026-10-13 16:57:54 +00:00
2026-10-01 18:05:05 +00:00
2026-09-08 00:13:28 +00:00
2026-10-10 01:25:00 +00:00
2026-06-13 21:43:39 -07:00
2026-10-01 15:57:03 +00:00
2026-09-23 04:25:28 +00:00
2026-10-08 01:12:16 +00:00
2026-10-12 16:58:24 +00:00
2026-10-01 15:57:03 +00:00
2026-10-07 22:11:14 +00:00
2026-10-13 16:15:41 +00:00
2026-10-13 16:15:41 +00:00
2026-07-28 20:49:22 +00:00
2026-10-12 13:39:54 +00:00
2026-06-04 09:16:03 -07:00
2026-05-26 20:59:47 -07:00