Hub-service base URL from the client config. runtime.app.env.DX_HUB_URL is set by the bundler
config plugin from the build's environment, so surfaces without a bundler (the CLI) fall back to
runtime.services.hub.url — the key the dx hub admin commands already read — and finally to
DEFAULT_HUB_URL, so no surface can be left with no hub to talk to.
NOTE: The gates that treat the presence of DX_HUB_URL as "this is a gated deployment" read the
raw config path rather than this resolver, since a default would silently arm them.
Hub-service base URL from the client config.
runtime.app.env.DX_HUB_URLis set by the bundler config plugin from the build's environment, so surfaces without a bundler (the CLI) fall back toruntime.services.hub.url— the key thedx hubadmin commands already read — and finally to DEFAULT_HUB_URL, so no surface can be left with no hub to talk to.NOTE: The gates that treat the presence of
DX_HUB_URLas "this is a gated deployment" read the raw config path rather than this resolver, since a default would silently arm them.