feat(manager): expose safe VPS edge health
This commit is contained in:
@@ -439,6 +439,12 @@ export function createLocalPreviewDeviceCore({ fixture = null } = {}) {
|
||||
displayName: input.displayName,
|
||||
deploymentRef: input.deploymentRef ?? null,
|
||||
lifecycleState: input.lifecycleState ?? "provisioning",
|
||||
channel: existing?.channel ?? {
|
||||
lifecycleState: "disabled",
|
||||
generationRef: null,
|
||||
runtimeState: "disabled",
|
||||
lastErrorCode: null,
|
||||
},
|
||||
createdAt: existing?.createdAt || now(),
|
||||
updatedAt: now(),
|
||||
};
|
||||
@@ -716,6 +722,12 @@ function seedArusnaviB2Preview({
|
||||
displayName: "Preview VPS edge",
|
||||
deploymentRef: "deployment:preview",
|
||||
lifecycleState: "active",
|
||||
channel: {
|
||||
lifecycleState: "active",
|
||||
generationRef: "channel-generation:preview",
|
||||
runtimeState: "accepted",
|
||||
lastErrorCode: null,
|
||||
},
|
||||
createdAt: timestamp,
|
||||
updatedAt: timestamp,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user