Abhinav
c3e60849e5
inline hostname resolution for remote sandbox config ( #19739 )
...
# Why
Requirements support host-specific
`remote_sandbox_config.hostname_patterns`, but config loading previously
resolved and passed the system hostname through every config-loading
path even when no requirements layer used `remote_sandbox_config`. On
machines where hostname lookup is slow, startup and app-server config
reads paid for a feature that was not active.
We only need the hostname when a requirements layer actually declares
`remote_sandbox_config`, so this moves hostname resolution to the single
requirements merge point and keeps all other config callers unaware of
hostname matching.
# What
- Removed the eager `host_name` plumbing from
`load_config_layers_state`, `load_requirements_toml`, `ConfigBuilder`,
app-server `ConfigManager`, network proxy loading, and related call
sites.
- Resolve the hostname inside
`merge_requirements_with_remote_sandbox_config` only when the incoming
requirements contain `remote_sandbox_config`.
2026-04-27 03:18:57 +00:00
..
2026-04-26 17:18:09 -07:00
2026-04-21 10:22:36 -07:00
2026-04-07 00:32:41 +00:00
2026-04-27 03:18:57 +00:00
2026-04-26 17:18:09 -07:00
2026-04-26 17:18:09 -07:00
2026-04-26 17:18:09 -07:00
2026-04-26 17:18:09 -07:00
2026-04-26 15:10:53 -07:00
2026-04-26 13:29:54 -07:00
2026-04-27 03:18:57 +00:00
2026-04-24 21:16:00 -07:00
2026-04-26 17:18:09 -07:00
2026-04-26 17:43:32 -07:00
2026-04-26 17:43:32 -07:00
2026-04-24 17:49:29 -07:00
2026-04-26 15:10:53 -07:00
2026-04-07 21:20:22 +00:00
2026-04-26 15:30:40 -07:00
2026-04-26 17:18:09 -07:00
2026-04-23 17:14:02 -07:00
2026-04-21 15:37:12 -07:00
2026-04-21 15:37:12 -07:00
2026-04-21 14:30:55 -07:00
2026-04-25 21:57:42 -07:00
2026-04-23 13:28:12 -07:00
2026-04-24 04:28:25 +00:00
2026-04-26 17:18:09 -07:00
2026-04-24 01:56:48 +00:00
2026-04-26 17:18:09 -07:00
2026-04-26 17:18:09 -07:00
2026-04-26 15:10:53 -07:00
2026-04-26 15:10:53 -07:00
2026-04-23 18:57:13 -07:00
2026-04-26 17:18:09 -07:00
2026-04-20 22:39:17 -07:00
2026-04-26 15:10:53 -07:00
2026-04-26 15:10:53 -07:00
2026-04-26 17:43:32 -07:00
2026-04-26 17:43:32 -07:00
2026-04-26 13:29:54 -07:00
2026-04-26 13:29:54 -07:00
2026-04-20 11:23:00 +01:00
2026-04-20 11:23:00 +01:00
2026-04-17 00:51:21 +00:00
2026-04-24 21:16:00 -07:00
2026-04-23 07:33:57 +00:00
2026-04-14 14:26:10 -07:00
2026-04-26 15:30:40 -07:00
2026-04-26 15:10:53 -07:00
2026-04-23 17:14:02 -07:00
2026-04-26 15:06:42 -07:00
2026-04-26 15:06:42 -07:00
2026-04-26 15:06:42 -07:00
2026-04-26 13:29:54 -07:00
2026-04-17 18:34:06 +08:00
2026-04-21 14:30:55 -07:00
2026-04-03 00:33:34 -07:00
2026-04-14 14:26:10 -07:00
2026-04-02 23:00:02 -07:00
2026-04-09 10:53:06 -07:00
2026-04-27 03:18:57 +00:00
2026-04-24 17:49:29 -07:00
2026-04-13 10:26:51 -07:00
2026-04-15 11:34:27 -07:00
2026-04-22 06:10:09 -04:00
2026-04-22 01:08:25 +00:00
2026-04-26 17:18:09 -07:00
2026-04-23 10:17:09 -07:00
2026-04-20 14:04:09 -07:00
2026-04-20 15:43:20 -07:00
2026-04-16 14:30:57 -07:00
2026-04-14 14:26:10 -07:00
2026-04-23 10:17:09 -07:00
2026-04-26 15:30:40 -07:00
2026-04-26 15:30:40 -07:00
2026-04-26 13:29:54 -07:00
2026-04-26 13:29:54 -07:00
2026-04-20 22:39:17 -07:00
2026-04-03 00:33:34 -07:00
2026-04-17 16:18:53 +00:00
2026-04-14 14:26:10 -07:00
2026-04-20 15:15:05 +01:00
2026-04-02 13:47:10 -07:00
2026-04-14 15:40:40 -07:00
2026-04-21 10:22:36 -07:00
2026-04-14 14:26:10 -07:00
2026-04-07 08:03:35 -07:00
2026-04-26 17:18:09 -07:00
2026-04-21 10:22:36 -07:00
2026-04-24 04:28:25 +00:00
2026-04-26 17:18:09 -07:00
2026-04-24 21:16:00 -07:00
2026-04-26 17:18:09 -07:00
2026-04-13 23:11:49 -07:00
2026-04-26 13:29:54 -07:00
2026-04-26 13:29:54 -07:00
2026-04-26 17:18:09 -07:00
2026-04-22 22:24:12 -07:00
2026-04-15 21:48:05 +00:00
2026-04-20 22:39:17 -07:00
2026-04-20 22:39:17 -07:00
2026-04-20 10:27:01 -07:00
2026-04-03 00:33:34 -07:00
2026-04-08 08:42:18 -07:00
2026-04-08 08:42:18 -07:00