Merge pull request #456 from Vaso73/codex/lxc-scheduled-stopped-guard

fix: skip scheduled updates for stopped LXC
This commit is contained in:
MacRimi
2026-10-16 22:56:15 +02:00
committed by GitHub
14 changed files with 405 additions and 9 deletions
@@ -213,6 +213,18 @@ class CommandDescriptionsTests(unittest.TestCase):
# Model the bot's future output in temporary catalogs, just
# like the other pending keys above; never rewrite locales.
messages["scriptTerminal"].setdefault("endOfInput", english["scriptTerminal"]["endOfInput"])
messages["vmLxc"]["scheduled"].setdefault(
"reasonStoppedContainer",
english["vmLxc"]["scheduled"]["reasonStoppedContainer"],
)
messages["vmLxc"]["scheduled"].setdefault(
"reasonStoppedContainerHistorical",
english["vmLxc"]["scheduled"]["reasonStoppedContainerHistorical"],
)
messages["vmLxc"]["scheduled"].setdefault(
"runSkippedStatus",
english["vmLxc"]["scheduled"]["runSkippedStatus"],
)
for key in ("noShell", "enterFailed"):
messages["lxcTerminal"]["errors"].setdefault(key, english["lxcTerminal"]["errors"][key])
# The notification history panel texts await the bot as well.