BlueprintUpdatePreview
Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints
Preview of changes that would be made by a blueprint update
public class BlueprintUpdatePreview
Inheritance Object → BlueprintUpdatePreview
Properties
EntitiesToAdd
Number of entities that would be added
public int EntitiesToAdd { get; set; }
Property Value
EntitiesToUpdate
Number of entities whose stored attributes would actually change. This used to be the number of blueprint-managed (locked) entities, whatever their content - a target identical to the tenant reported 137 updates - and the three enabled-flag resets hiding among them were invisible. Every entity counted here appears in BlueprintUpdatePreview.Changes.
public int EntitiesToUpdate { get; set; }
Property Value
EntitiesUnchanged
Locked entities the update re-applies without changing a single attribute (the apply still rewrites them so their blueprint stamp stays consistent). Reported separately so "137 entities" no longer reads as "137 things will change".
public int EntitiesUnchanged { get; set; }
Property Value
EntitiesToDelete
Number of entities that would be deleted
public int EntitiesToDelete { get; set; }
Property Value
Changes
Per entity, the attributes the update would set to a different value than the tenant holds now - old and new value included. Attributes the tenant owns (RuntimeState, TenantOwned, Secret) are preserved by the apply and therefore never listed. An entry with a null new value means the seed no longer carries the attribute and the upsert would clear it. This is the list an operator has to read before applying to production.
public List<BlueprintEntityChange> Changes { get; set; }
Property Value
BlankedAttributes
Attributes whose non-empty tenant value the seed would blank (incident): the
seed carries an empty value or omits the attribute. Detected by the same engine guard the
update applies (SeedValueGuard). Without confirmation the update keeps the tenant
values (BlueprintBlankedAttribute.AppliedOnUpdate is false); to blank them the
caller confirms explicitly via BlueprintUpdateOptions.AllowBlanking or
BlueprintUpdateOptions.ConfirmedBlankings. Never carries values, only summaries.
public List<BlueprintBlankedAttribute> BlankedAttributes { get; set; }
Property Value
List<BlueprintBlankedAttribute>
TenantOwnedSkipped
Tenant-owned seed entities (rtBlueprintLocked: false in the seed) the tenant
still holds. The update does not touch their attributes; it only refreshes their blueprint
stamp. They raise no conflict.
public List<BlueprintTenantOwnedEntity> TenantOwnedSkipped { get; set; }
Property Value
List<BlueprintTenantOwnedEntity>
TenantOwnedStaysDeleted
Tenant-owned seed entities the tenant no longer holds although the previously installed version's seed contained them - the tenant deleted them, so the update does not bring them back.
public List<BlueprintTenantOwnedEntity> TenantOwnedStaysDeleted { get; set; }
Property Value
List<BlueprintTenantOwnedEntity>
TenantOwnedRefreshed
Tenant-owned seed entities the tenant never edited - the stored content equals what the seed of the installed version wrote - whose seed content changed in the target version. The update writes the new seed content (and the blueprint stamp). Not part of BlueprintUpdatePreview.TenantOwnedSkipped.
public List<BlueprintTenantOwnedEntity> TenantOwnedRefreshed { get; set; }
Property Value
List<BlueprintTenantOwnedEntity>
TenantOwnedUpdateAvailable
Tenant-owned seed entities whose seed content changed in the target version but which the tenant edited (or whose unedited state cannot be proven). The update keeps the tenant content; the entities are also listed in BlueprintUpdatePreview.TenantOwnedSkipped.
public List<BlueprintTenantOwnedEntity> TenantOwnedUpdateAvailable { get; set; }
Property Value
List<BlueprintTenantOwnedEntity>
Conflicts
Detected conflicts that need resolution
public List<BlueprintUpdateConflict> Conflicts { get; set; }
Property Value
Warnings
Warnings about potential issues
public List<string> Warnings { get; set; }
Property Value
CanProceed
Whether the update can proceed without manual intervention
public bool CanProceed { get; }
Property Value
CkUpdateSet
The CK models (full ids) the update would install or raise and the tenant upgrade guard judged as one set (CK v2 F2.5); empty when the update installs no CK model or the host has no guard.
public List<string> CkUpdateSet { get; set; }
Property Value
CkUpgradeBlockers
The installed models the CK update set would break. Empty when nothing breaks. Read-only information: BlueprintUpdatePreview.CanProceed is unchanged (an update with blockers can still be forced).
public List<BlueprintCkUpgradeBlocker> CkUpgradeBlockers { get; set; }
Property Value
List<BlueprintCkUpgradeBlocker>
IsCkUpgradeBlocked
True when the CK update set would break at least one installed model.
public bool IsCkUpgradeBlocked { get; }
Property Value
CkUpgradeGuardError
Set when the tenant upgrade guard could not judge the CK update set (English text); the preview is otherwise complete. An enforcing apply fails closed in this case.
public string CkUpgradeGuardError { get; set; }
Property Value
Constructors
BlueprintUpdatePreview()
public BlueprintUpdatePreview()