fix(updater): keep auto-updater alive across watcher restarts (v0.4.1)
Saving the Settings dialog calls _restart_watcher, which set+replaced the shared stop_event the updater loop also keyed off — so a settings save silently killed the auto-updater thread (race: survived one save, died on the next). Heartbeats kept flowing but the agent stopped checking for / applying updates until relaunch. Give the updater its own app-lifetime event (_app_stop), set only on Exit / when applying an update and untouched by watcher restarts. Adds test_thor_tray.py (4 lifecycle tests). Bump to v0.4.1. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
Thor Watcher — Series 4 Ingest Agent v0.4.0
|
||||
Thor Watcher — Series 4 Ingest Agent v0.4.1
|
||||
|
||||
Micromate (Series 4) ingest agent for Terra-View.
|
||||
|
||||
@@ -29,7 +29,7 @@ import event_forwarder
|
||||
|
||||
# ── Version ───────────────────────────────────────────────────────────────────
|
||||
|
||||
VERSION = "0.4.0"
|
||||
VERSION = "0.4.1"
|
||||
|
||||
|
||||
# ── Config ────────────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user