feat(deploy): register VPS telemetry releases

This commit is contained in:
Codex
2026-08-22 17:29:46 +03:00
parent 0438fbd80b
commit c5c4e69acb
2 changed files with 280 additions and 13 deletions
@@ -29,6 +29,60 @@ RUNNER = load_runner()
class DevicePlaneRegistryTest(unittest.TestCase):
def test_manager_v9_pins_v8_and_host_telemetry_workspace(self):
self.assertEqual(
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V9_PREDECESSOR_PATCH_ID,
"device-manager-release-v8-20260822-039",
)
self.assertEqual(
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V9_CONTROL_CORE_PREDECESSOR_PATCH_ID,
"device-control-core-release-v3-20260822-040",
)
boundaries = RUNNER.expected_device_plane_manager_release_v9_boundaries()
self.assertEqual(
boundaries["telemetryWorkspace"],
"mission-core-compute-module-parity-v1",
)
self.assertEqual(
boundaries["telemetryFreshness"],
"fifteen-seconds-missing-stale-not-unhealthy",
)
self.assertEqual(
RUNNER.component_services(
"device-plane",
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V9_ENTRIES,
),
("device-manager",),
)
def test_control_core_v3_registers_telemetry_contract_slice(self):
predecessor = {
"kind": "release",
"patchId": "device-control-core-release-v2-20260822-038",
"artifactSha256": (
"e2d062b82b022dba662522b5d6e192026ac964d78950d903295ca3cbbc95ab28"
),
}
descriptor = RUNNER.expected_device_plane_control_core_release_descriptor(
"device-control-core-release-v3-20260822-040",
predecessor,
schema_version="v3",
)
self.assertEqual(
descriptor["telemetryTransport"],
"edge-channel-host-telemetry-observed-v1",
)
self.assertEqual(
descriptor["telemetryStorage"],
"device-control-core-postgres-seven-day-retention",
)
self.assertTrue(
RUNNER.is_device_plane_control_core_release_v3_slice(
"device-plane",
RUNNER.DEVICE_PLANE_CONTROL_CORE_RELEASE_V3_ENTRIES,
)
)
def test_manager_v8_pins_production_v6_and_canonical_ontology_runtime(self):
self.assertEqual(
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V8_PREDECESSOR_PATCH_ID,