You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tg status doesn't say when the running daemon is an older version #46
Found while fixing #18. The CLI and the daemon share cache.db. After an upgrade that changes what the cache holds, a daemon of the old version that is still running keeps writing the old format until it restarts. In #18 that means it fails group and channel sync jobs and writes bare chats_cache rows, which the next CLI run repairs. Nothing tells the user to restart it.
Fix: the daemon records its version in daemon_status on start. tg status compares it with its own and, when they differ, prints a hint to restart the daemon (pretty output) and a field for it (JSON).
Done when an e2e test with a seeded daemon_status from another version shows the hint and the field, and none for the same version.
Activity
docs: add the changelog entries for the 0.4.0 bug fixes