Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(canvas): align queue event error types
joshistoaste4e215a0fead
diff --git a/invokeai/frontend/web/src/features/controlLayers/components/StagingArea/__mocks__/mockStagingAreaApp.ts b/invokeai/frontend/web/src/features/controlLayers/components/StagingArea/__mocks__/mockStagingAreaApp.tsindex e0b56d5a43..bd84812775 100644--- a/invokeai/frontend/web/src/features/controlLayers/components/StagingArea/__mocks__/mockStagingAreaApp.ts+++ b/invokeai/frontend/web/src/features/controlLayers/components/StagingArea/__mocks__/mockStagingAreaApp.ts@@ -165,6 +165,7 @@ export const createMockQueueItemStatusChangedEvent = (status: 'completed',error_type: null,error_message: null,+ error_traceback: null,} as S['QueueItemStatusChangedEvent'],overrides);diff --git a/invokeai/frontend/webv2/src/workbench/backend/events.ts b/invokeai/frontend/webv2/src/workbench/backend/events.tsindex 5bf66cb080..48f709a61f 100644--- a/invokeai/frontend/webv2/src/workbench/backend/events.ts+++ b/invokeai/frontend/webv2/src/workbench/backend/events.ts@@ -19,9 +19,9 @@ export interface QueueItemEventBase {export interface QueueItemStatusChangedEvent extends QueueItemEventBase {status: BackendQueueItemStatus;- error_type?: string | null;+ error_type: string | null;error_message: string | null;- error_traceback?: string | null;+ error_traceback: string | null;created_at: string;updated_at: string;started_at: string | null;diff --git a/invokeai/frontend/webv2/src/workbench/backend/queueCoordinator.test.ts b/invokeai/frontend/webv2/src/workbench/backend/queueCoordinator.test.tsindex c04f48cf95..1fa2bec550 100644--- a/invokeai/frontend/webv2/src/workbench/backend/queueCoordinator.test.ts+++ b/invokeai/frontend/webv2/src/workbench/backend/queueCoordinator.test.ts@@ -56,6 +56,7 @@ const createStatusEvent = (overrides: Partial<QueueItemStatusChangedEvent>): Quecreated_at: '2026-06-10T00:00:00Z',destination: 'gallery',error_message: null,+ error_traceback: null,error_type: null,item_id: 1,origin: null,diff --git a/invokeai/frontend/webv2/src/workbench/canvas-engine/backend/utilityQueue.test.ts b/invokeai/frontend/webv2/src/workbench/canvas-engine/backend/utilityQueue.test.tsindex 8c2fd9076a..baaaaca799 100644--- a/invokeai/frontend/webv2/src/workbench/canvas-engine/backend/utilityQueue.test.ts+++ b/invokeai/frontend/webv2/src/workbench/canvas-engine/backend/utilityQueue.test.ts@@ -71,6 +71,7 @@ const statusEvent = (created_at: '',destination: null,error_message: null,+ error_traceback: null,error_type: null,item_id: 1,origin: ORIGIN,