fix(pki): repair active identities without container startup overhead

This commit is contained in:
2026-11-22 17:40:52 +03:00
parent f3d6c477a7
commit 19af04151e
2 changed files with 19 additions and 2 deletions
+3 -1
View File
@@ -121,6 +121,7 @@ def main():
def sample_resources():
while not resource_stop.is_set():
began = time.time()
phase = load.phase
try:
raw = command(
[
@@ -139,7 +140,7 @@ def main():
{
"started_at": began,
"ended_at": time.time(),
"phase": load.phase,
"phase": phase,
"containers": observations,
}
)
@@ -366,6 +367,7 @@ def main():
assert report["images_before"] == report["images_after"], (
"Lifecycle must not rebuild/replace images"
)
assert report["resource_samples"], "No measured CPU/RAM samples"
report["complete"] = True
except BaseException as error:
report["failure_type"] = type(error).__name__