fix: preserve update observations for stopped LXC guests

This commit is contained in:
VAIO73
2026-10-14 17:51:53 +00:00
parent ceb783bcf2
commit 3489dc0530
10 changed files with 1225 additions and 10 deletions
@@ -0,0 +1,11 @@
"""One process-wide LXC completion state, independent of Flask import name.
AppRun executes flask_server as __main__, while collectors import it as
flask_server. Both completion paths must share this canonical module so
the terminal hook and compatibility HTTP callback cannot consume a run twice.
No guest actions, registry writes or background tasks occur on import.
"""
import threading
lock = threading.RLock()
runs: dict[tuple[int, str], dict] = {}