chore(deploy): register migration invariant audit

This commit is contained in:
Codex
2026-08-22 22:11:35 +03:00
parent e642113124
commit 7b0e6d0bdf
2 changed files with 332 additions and 8 deletions
@@ -417,11 +417,20 @@ class DevicePlaneRegistryTest(unittest.TestCase):
"Health": {"Status": "unhealthy"},
},
}
preserved_inventory = {
**inventory,
"services": inventory["services"][1:],
}
with (
mock.patch.object(
RUNNER,
"healthcheck_compose_service_with_grace",
) as preserved_health,
mock.patch.object(
RUNNER,
"device_plane_runtime_inventory",
return_value=preserved_inventory,
),
mock.patch.object(
RUNNER,
"compose_service_container_id",