Skip to content

Surface exact client app version and build on the Activity page #630

Closed

Description

@Quick104

Problem

The admin Activity page cannot tell you which build of a client app a session is streaming from.

Two separate causes:

  1. The version we already had was being destroyed. Android has been sending X-Silo-Client-Version on every request, and the server stored it intact in playback_sessions_sync.client_version. But the UI renders client_label, composed by playbackClientDisplayName, which routes the version through shortPlaybackClientVersion — that strips non-[0-9.] runes, truncates to two components, and drops a trailing .0. A client reporting 1.0.0 rendered as Silo Android TV 1.
  2. 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

  1. Quick104 commented on Aug 13, 2026

    @Quick104
    ContributorAuthor
  2. Quick104 commented on Sep 4, 2026

    @Quick104
    ContributorAuthor

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions