Repository navigation
Description
Problem
The admin Activity page cannot tell you which build of a client app a session is streaming from.
Two separate causes:
- The version we already had was being destroyed. Android has been sending
X-Silo-Client-Versionon every request, and the server stored it intact inplayback_sessions_sync.client_version. But the UI rendersclient_label, composed byplaybackClientDisplayName, which routes the version throughshortPlaybackClientVersion— that strips non-[0-9.]runes, truncates to two components, and drops a trailing.0. A client reporting1.0.0rendered asSilo Android TV 1. - The Apple clients sent nothing. No client name, no app version — only device id/name/platform/family. Every iOS, tvOS, and macOS session fell back to user-agent sniffing.
Neither platform had any notion of a build number on the session path, so two builds of the same marketing version were indistinguishable.
Scope
- Report app version and build number from the Android and Apple clients.
- Show the exact build on the Activity page and include it in diagnostic logs.
- Distinguish official builds from sideload/dev builds.
Approach
Two additive, opaque wire fields alongside the existing client headers: X-Silo-Client-Build (≤64) and X-Silo-Client-Channel (≤32), with client_playback_context.app_build / app_channel as the v3 fallback.
Opaque is the load-bearing decision. Apple uses a per-platform TestFlight sequence; Android uses a per-marketing-version counter. Keeping the server from parsing, comparing, or enum-validating either value lets both coexist without inventing a shared scheme. Displaying build alongside version and platform — Silo Android TV 1.0.0 (build 5) — is unambiguous and matches what Play Console and TestFlight show.
Consequence worth recording: the server cannot sort or compare builds. Any future minimum-client-version gating must key on client_version, which is semver.
Out of scope
SiloMac has no release lane at all (release.yml has only setup/build-numbers/ios/tvos; the Fastfile has no SiloMac lane), so Mac sessions will report 1.0.0 (build 1) until one exists. Deferred deliberately: SiloMac has no entitlements file, and the Mac App Store path requires App Sandbox around bundled FFmpeg frameworks and arbitrary local-server access. Developer ID + notarized DMG is the lighter path if revisited. Tracked separately.
AI Disclosure
- Tool(s): Claude Code
- Model(s): claude-opus-5
- Involvement: fully AI-generated
- Adversarial review: see the linked PRs.
Activity
Quick104 commentedon Aug 13, 2026
Implemented across three repos:
The macOS release lane remains open — see the Out of scope section above.
Quick104 commentedon Sep 4, 2026
Fixed on main by #631.
Exact app version, build, and channel are now carried into playback activity and diagnostics. The coordinated client changes also merged: Silo-Server/silo-android#226 and Silo-Server/silo-apple#153.
I verified that both client PRs merged, and the server's exact-version/full-label and activity-capability tests pass on current main. The macOS release lane remains outside this issue's stated scope.
Closing as completed after checking current main (
a4c8f4b2).