HIT DIRECTLY 2026-11-13 on cosmic-pretzel-98, promoting hydragon build 3.
WHAT HAPPENED
2026/11/13 22:52:27 [experiences] hydragon build #3: exe already present, skipping download
Nothing was downloaded. The body then wrote build 3 into its own state. Afterwards the library says production_build 3, hydrabody's experiences.yaml says 3, Sunshine serves the app, and the FILES ON DISK ARE BUILD 2. Hydragon.exe still carried the 21:04:18 timestamp of the previous build.
THE CODE, pkg/provider/experiences.go around line 84 to 118:
info := state.Installed[exp.Name]
if info.BuildNumber >= exp.BuildNumber { ... continue }
// If the exe is already present on disk, skip the download and mark as installed.
if exp.ExePath != "" {
if _, statErr := os.Stat(exp.ExePath); statErr == nil {
log.Printf("[experiences] %s build #%d: exe already present, skipping download", ...)
state.Installed[exp.Name] = experienceInstallInfo{ BuildNumber: exp.BuildNumber, ... }
The stat is on the EXE PATH, which is a property of the experience, not of the build. Any experience that keeps the same exe name across builds therefore updates exactly once, the first time, and never again. Worse, the skip is not a no-op: it RECORDS the new build number, so the next poll takes the first branch and the body is pinned on the stale files for good. A reinstall of the same build is the only thing this branch is safe for, which is presumably why it was written.
WHY THIS IS A SILENT FAULT
Every layer reports success. The library promoted. The body logged a line with the right build number in it. Sunshine serves the app and it launches and streams. Only the bytes are wrong, and nothing compares them. We found it only because the new build had a visible change on screen.
WHAT I THINK IT SHOULD DO
Decide from the BUILD, not from a path. Keep a marker next to the install that records the installed build number and the build_url or its sha, and compare that. The experience install already knows both. A stat on the exe can stay as a cheap guard against a half extracted directory, but it must not be allowed to claim a build number it did not install.
WORKAROUND until then: delete the experience directory AND remove the experience's entry from ~/.hydrabody/experiences.yaml on the body. Deleting the directory alone is not enough, because the recorded build number short circuits the check before the stat is ever reached.
This is worse than I first wrote it, and the reason matters for every Unreal experience on the fleet.
Hit again on build 4, exactly as on build 3:
2026/11/14 04:12:37 [experiences] hydragon build #4: exe already present, skipping download
My first report said an experience that keeps its exe name updates "exactly once, ever". For a packaged Unreal game that is too generous. It never updates after the first install, under any circumstances.
exe_path for a UE package points at the executable at the package root. That file is not the game. It is the bootstrap launcher UE writes beside the staged tree, and on hydragon it is 164,864 bytes in every single build:
| build 3 | build 4 | |
|---|---|---|
Windows\Hydragon.exe (the exe_path, the stub) |
51ef611a...b6c3 |
51ef611a...b6c3 |
Windows\Hydragon\Binaries\Win64\Hydragon.exe (the real binary, 296,766,976 bytes) |
f014eed8...c8cd |
c2d52028...77bd |
So the file hydrabody stats to decide "is this already installed" is the one file in the package guaranteed to be identical between builds. The stat can never fail after the first install. Renaming the binary does not help either, because the stub takes the project's name whatever the module is called.
Two consequences worth separating:
exe_path is not evidence of anything. I used exactly that check to confirm build 3 earlier tonight and reported it as byte-identical proof. It was not. The install was real, but the hash I quoted would have matched just as well if nothing had been downloaded. Anything verifying a UE deploy must hash <Project>\Binaries\Win64\<Project>.exe or the pak, never the root stub.The workaround is unchanged and still needs both halves, because the recorded build number short-circuits before the stat is reached: delete C:\experiences\<name> and remove the entry from experiences.yaml, in one call, since loadExperienceState reads from disk each tick and saveExperienceState writes the whole map back.
On the fix itself: comparing a content hash rather than a path would close it, but the cheaper and more honest change is to stop treating the presence of a file as proof of a build. The recorded BuildNumber is already the authority for "do I need this build"; the os.Stat branch exists to salvage a half-populated state file, and it currently overrides the one piece of information that is actually correct. Making that branch record the build number it ACTUALLY has on disk, rather than the one it was asked about, would turn a silent wrong answer into a self-correcting one.
Repaired on cosmic-pretzel-98 (node-4c2be4b0) at 00:24 on 2026-11-14. The procedure and the proof, so the next person does not have to find them again.
The fix needs BOTH steps. Deleting the experience directory alone does nothing, because
info.BuildNumber >= exp.BuildNumberreturns before theos.Statis ever reached:experiences.yamlin the hydrabody data dir (on a Windows body:C:\Windows\System32\config\systemprofile\.hydrabody\experiences.yaml).C:\experiences\<name>).Do them in one command.
loadExperienceStatereads from disk at the start of every tick andsaveExperienceStatewrites the whole map, so a tick between the two steps writes the entry back.Result: the next tick behaved correctly.
Verified by bytes, not by the record:
Hydragon.exesha25651EF611AA25E4FEB0887BE01C4D2081D8685CD5E902727C389D88F14D9F9B6C3Hydragon-Windows.pakSunshine serves the tile with
cmd: C:\experiences\hydragon\Windows\Hydragon.exe -ResX=1920 -ResY=1080 -windowed -ForceRes.One more thing the delete and reinstall fixed by accident: build 1 of this experience shipped a differently named binary (
HydraUnrealTemplate.exe), and that file plus its folder had been sitting besideHydragon.exesince the rename. The skip path never removes anything, so a body accumulates every past layout of an experience on top of the current one. A clean extract is the only thing that clears it.Severity, in the words of the measurement: the library said build 3, hydrabody said build 3, Sunshine served build 3 and the bytes were build 2. Every layer reported success and only the pixels disagreed.