You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
@@ -26,9 +29,8 @@ public async Task Run([QueueTrigger("%FileTransformQueueName%")] FileTransformQu
26
29
return;
27
30
}
28
31
29
-
if(file.Status!=MeshFileStatus.Extracted)
32
+
if(!IsFileSuitableForTransformation(file))
30
33
{
31
-
logger.LogWarning("File with id: {fileId} found in MeshFiles table but is not suitable for transformation. Status: {status}",message.FileId,file.Status);
@@ -83,7 +86,7 @@ public async Task Run_FileStatusInvalid_ExitsSilently()
83
86
x =>x.Log(
84
87
LogLevel.Warning,
85
88
It.IsAny<EventId>(),
86
-
It.Is<It.IsAnyType>((v,t)=>v.ToString()==$"File with id: {message.FileId} found in MeshFiles table but is not suitable for transformation. Status: {file.Status}"),
89
+
It.Is<It.IsAnyType>((v,t)=>v.ToString()==$"File with id: {message.FileId} found in MeshFiles table but is not suitable for transformation. Status: {file.Status}, LastUpdatedUtc: {file.LastUpdatedUtc.ToTimestamp()}."),
87
90
null,
88
91
It.IsAny<Func<It.IsAnyType,Exception?,string>>()
89
92
),Times.Once);
@@ -92,6 +95,40 @@ public async Task Run_FileStatusInvalid_ExitsSilently()
It.Is<It.IsAnyType>((v,t)=>v.ToString()==$"File with id: {message.FileId} found in MeshFiles table but is not suitable for transformation. Status: {file.Status}, LastUpdatedUtc: {file.LastUpdatedUtc.ToTimestamp()}."),
0 commit comments