Desktop build number isn't shown anywhere, and the web version is a static string #276

Closed
opened 2026-10-04 17:41:31 -04:00 by jared · 0 comments
Owner

What happens
Settings → About shows v{pkg.version} from cinny's package.json, currently v4.12.7-lotus (src/app/features/settings/about/About.tsx:117), on both web and desktop.

  • Desktop: the installed nightly (for example 4.12.377) is never shown, which is the number needed when someone reports a desktop or updater bug.
  • Web: the deploy changes many times a day while the version string stays the same, so you can't tell which build someone is on.

Fix ideas

  • Desktop: read Tauri's getVersion() (or add an app_version command) and show "Desktop 4.12.377 · Web 4.12.7-lotus ()".
  • Web: inject the git short SHA and build date at build time (define: { __BUILD__ } in vite.config) and show them in About.

More context

Why it matters: in the desktop updater bugs this week ("my cachyos client is still failing to update"), the first question was which desktop build was installed. Today the only place that shows it is the OS package manager.

Acceptance criteria:

  • Desktop: About shows Desktop 4.12.x (Tauri) alongside the web version.
  • Web: About shows the deploy's short commit and date.

Found in the October 2026 client audit (Playwright against a local Synapse + LiveKit stack, plus code reading). Code refs are at cinny 30e2dbcd, cinny-desktop 8f67ec7, element-call 3b0050e8.

**What happens** Settings → About shows `v{pkg.version}` from cinny's package.json, currently **v4.12.7-lotus** (src/app/features/settings/about/About.tsx:117), on both web and desktop. - **Desktop:** the installed nightly (for example **4.12.377**) is never shown, which is the number needed when someone reports a desktop or updater bug. - **Web:** the deploy changes many times a day while the version string stays the same, so you can't tell which build someone is on. **Fix ideas** - **Desktop:** read Tauri's `getVersion()` (or add an `app_version` command) and show "Desktop 4.12.377 · Web 4.12.7-lotus (<commit>)". - **Web:** inject the git short SHA and build date at build time (`define: { __BUILD__ }` in vite.config) and show them in About. ### More context **Why it matters:** in the desktop updater bugs this week ("my cachyos client is still failing to update"), the first question was which desktop build was installed. Today the only place that shows it is the OS package manager. **Acceptance criteria:** - **Desktop:** About shows `Desktop 4.12.x (Tauri)` alongside the web version. - **Web:** About shows the deploy's short commit and date. --- _Found in the October 2026 client audit (Playwright against a local Synapse + LiveKit stack, plus code reading). Code refs are at cinny `30e2dbcd`, cinny-desktop `8f67ec7`, element-call `3b0050e8`._
jared added the priority: lowuxarea: desktop labels 2026-10-04 17:41:31 -04:00
jared closed this issue 2026-10-19 16:42:08 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#276