Daemon and app don't report which build they are running

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
macos, python

Research direction

Read the installer test and its existing owned-fake harness first, then inspect the status projection test and the make doctor entry point. Done means the installed package carries a matching build stamp and the status, daemon_ready, doctor output, and menu-bar About and Settings report it, with doctor detecting a checkout mismatch.

Written by the indexing model from the issue text.

Description

enhancement

Problem

The version stays at 0.1.0 across every build, and daemon_ready logs only version=0.1.0. On 2026-09-30, uv tool install silently reused a cached wheel and installed stale code. The only way to tell which code the daemon was running was to grep ~/.local/share/uv/tools/ai-tts/.../playback.py. (#56 fixed the stale install itself with --reinstall-package. Nothing would detect a recurrence.)

Proposal

  • Stamp the build at install time: git SHA, a dirty flag, and the build time, written into the installed package (for example aitts/_build.py).
  • Report it in ai-tts status (build: {sha, dirty, built_at}), in the daemon_ready log event, in make doctor, and in the menu-bar app's About and Settings.
  • make doctor warns when the installed build differs from the checkout's HEAD.

Tests: the installer test, using the existing owned-fake harness, asserts that the stamp exists and matches the checkout. A status projection test covers the new field.

Dominant language
Python
Stars
0
Forks
1
Avg merge
2h 13m
Merged PRs (30d)
51

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flyingrobots/AI-TTS

All issues in flyingrobots/AI-TTS

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.