vrOS v0.15.2 Patch Notes
Highlights
Hotfix focused on Twitch reliability — fixes the settings sub-tab freeze, the chat-not-connecting bug after device-code login, and the re-auth-required-every-launch bug.
Bug Fixes
- Opening Accounts → Twitch sub-tab no longer freezes the UI for ten seconds and triggers a GPU device-lost recovery. The four channel-point-reward bridge handlers and both chat-history handlers are now asynchronous, so the Helix HTTP calls run off the Ultralight render thread.
- Twitch chat now connects on launch and after a fresh login. The bridge device-code flow shares the same TwitchOAuth instance with the long-running integration task via a new GLOBAL_OAUTH accessor, so tokens written during login are visible to the IRC reconnect loop. The IRC loop also subscribes to TwitchAuthEvent and wakes immediately on Authenticated instead of waiting for its retry tick.
- Twitch broadcaster login persists across restarts. The credential store now mirrors writes to both backends (OS keyring + encrypted SQLite), and get() falls through to the alternate backend if the primary returns empty. Previously a probe flap between launches could leave tokens in OS keyring while a later launch only checked the encrypted database, forcing the user to re-authenticate.
- VR child / desktop child pipe forwarders for Twitch endpoints no longer block the UI thread on recv_timeout. The forwarder dispatches the blocking pipe roundtrip to a worker thread and resolves the bridge callback when the reply arrives.
- Bridge handler registration safely replaces existing entries. Registering the same endpoint as both sync and async (which previously left both maps populated, with the sync entry silently winning) now evicts the prior registration and emits a warning so accidental shadowing is visible in logs.
Improvements
- A persistent Twitch auth-state relay task spawns at UI subsystem start and runs for the lifetime of the process, mirroring TwitchAuthEvent into TwitchState. Previously the relay only ran while a device-code flow was active, so background auth transitions (startup keyring resolution, refresh success, refresh failure) were not reflected in the UI.
- twitch_main publishes an initial TwitchAuthEvent immediately after channel resolution, so subscribers see boot-time auth state without waiting for the first refresh tick.
- The cfg(not(feature = "twitch")) reward stub now uses register_async to match the active branch, eliminating a class of sync-vs-async shadowing regressions.
- Added INFO-level diagnostics for keyring backend selection (backend, has_access_token, has_refresh_token, access_get_ok, refresh_get_ok) and for the initial Twitch auth-state publish, so future auth issues are visible without bumping the log level.
