test: build and verify addon runtime

This commit is contained in:
Dennis Juhler Aagaard
2026-09-24 18:00:26 +02:00
parent 31aeeb5ed3
commit 1322859112
5 changed files with 398 additions and 5 deletions
@@ -31,6 +31,7 @@ CLOAK_COMMAND = [
"--data-dir=/tmp/cloakserve",
]
STELLOAUTH_COMMAND = ["/usr/local/bin/stelloauth"]
SHUTDOWN_GRACE_SECONDS = 9.0
class ConfigError(RuntimeError):
@@ -297,7 +298,7 @@ class ProcessManager:
def _begin_shutdown(self) -> None:
if self._shutdown_deadline is None:
self._shutdown_deadline = self._monotonic() + 10.0
self._shutdown_deadline = self._monotonic() + SHUTDOWN_GRACE_SECONDS
if not self._term_sent:
self._signal_groups(signal.SIGTERM)
self._term_sent = True