HydraIssues

HydraVenues: Play intro silently wipes a screen's saved cast route
closed bug Project: experiencenet Reporter: 21 Oct 2026 08:14

Description

Mobile Kit, 2026-10-21.

Pressing Play intro on a cast-enabled screen in HydraVenues Signage discarded that screen's saved cast selection, with nothing in the UI saying so. The operator then started a headset cast and the screen stayed on the intro forever, because its route was gone.

Cause: internal/signage/client.go PlayIntro called SelectCast(d, "") for any CastEnabled display, which both releases the head assignment and clears the route.

Evidence: /var/lib/hydracastquest/routes.json on the venue gateway was written at 07:41:05 with tv-vr-laser emptied, about 20 seconds after a diagnosis that showed the route still set to vr-laser. Nothing in the gateway expires a route (only an explicit select changes it), so a Play intro press is the only explanation.

Fix: Play intro now keeps the route and is a pure recovery control; a new SelectIntro clears the route for the Intro source selection. Two regression tests lock both halves. The runbook records the difference.

Session Context

Venue
mobile-kit

Comments (1)

api 21 Oct 2026 08:22

Fixed and live.

hydravenues v0.24.3 released and applied: https://hydravenues.experiencenet.com/api/v1/health reports version v0.24.3, status ok. Release CI green on both jobs (Create Release, Publish OCI image). hydraskin rebuilt the scale v0.24.2 -> v0.24.3 in 12s.

Change: PlayIntro no longer clears the route. It releases the head's experience assignment and confirms playback, nothing more. A new SelectIntro clears the route and is what the Intro source selection calls, so that explicit path still works.

Tests: TestPlayIntroKeepsCastRoute asserts no route command is issued, TestSelectIntroClearsCastRoute asserts one is. TestCastVenueScopeAndPermissions no longer asserts the old contract that an intro launch must follow a route clear. go build, go vet and go test ./... all green.

Persisted state survived the rebuild: account scope ['fti-experience-zone','mobile-kit'], 6 manager email grants on each of mobile-kit and fti-experience-zone, cast_enabled on tv-vr-seated and tv-vr-laser.

Not yet exercised live: pressing the button on a screen while a cast is running. Both VR screens were showing live headset casts at the time and pressing it relaunches the signage app, so the test was deferred rather than interrupt them. The runbook records the difference between the two controls.