HydraIssues

hydraheadquest: drop the ALVR-only xr_client_hostname pre-flight for the WiVRn lane
open unclassified Priority: high Project: hydraheadquest Parent: #781 Reporter: 14 Oct 2026 20:47

Description

HydraState.kt:842-849 fails the start with "No ALVR client hostname is configured for this head" whenever config.xrClientHostname is empty, before any session is requested.

That check is right for ALVR. ALVR's body dials the client, so the body needs a hostname to dial and a head without one can never be joined. It is wrong for WiVRn, where the client dials the body. A head provisioned purely for the WiVRn lane has no reason to carry an xr_client_hostname and is blocked at the door.

Fix

Move the requirement into the launcher that needs it. AlvrLauncher requires the hostname; WivrnLauncher does not. The pre-flight asks the selected launcher whether it is satisfied, instead of asking the config a question only one driver cares about.

The driver-neutral error text is already in place from the earlier work. The message for the ALVR case should stay specific, since an admin seeing it needs to know which field to set.

Note

The driver is only known for certain once the cluster returns it on the session. Until that child lands, XrDrivers.launcher falls back to preference order, which picks WiVRn first. Do not build this check on that fallback.

Done when

A head with no xr_client_hostname starts a WiVRn session, and a head with no xr_client_hostname still fails fast and clearly on an ALVR session.

Session Context

Venue
mobile-kit