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
test(workflows): stop bundled workflows pushing last_run_at's row off the page
Lincoln Steinf8ccab7c97c7
diff --git a/tests/app/services/workflow_records/test_workflow_last_run_at.py b/tests/app/services/workflow_records/test_workflow_last_run_at.pyindex 3f65bd72df..1f806e65c3 100644--- a/tests/app/services/workflow_records/test_workflow_last_run_at.py+++ b/tests/app/services/workflow_records/test_workflow_last_run_at.py@@ -42,10 +42,12 @@ def test_update_last_run_at_sets_timestamp(workflow_records: WorkflowRecordsStorfetched = workflow_records.get(created.workflow_id)assert fetched.last_run_at is not None+ # Only user workflows: the bundled ones share its millisecond `created_at` on a coarse clock (Windows), and the+ # `workflow_id` tie-break then pushes it off the page at random.listed = workflow_records.get_many(order_by=WorkflowRecordOrderBy.CreatedAt,direction=SQLiteDirection.Descending,- categories=None,+ categories=[WorkflowCategory.User],page=0,per_page=10,)