Skip to content

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.

test(webv2): give the whole-source architecture scans a CI-sized timeout

Lincoln Stein657c07b6a5f8
diff --git a/invokeai/frontend/webv2/src/architecture/dependencyPolicy.test.ts b/invokeai/frontend/webv2/src/architecture/dependencyPolicy.test.ts
index 0c641ba5e2..16135bc775 100644
--- a/invokeai/frontend/webv2/src/architecture/dependencyPolicy.test.ts
+++ b/invokeai/frontend/webv2/src/architecture/dependencyPolicy.test.ts
@@ -280,7 +280,9 @@ describe('production dependency graph', () => {
.sort();
expect(violations).toEqual([]);
- });
+ // A whole-source scan whose cost grows with the codebase; on shared CI runners it already takes 3-5s, so the
+ // default 5s budget turned runner speed into test failures.
+ }, 60_000);
it('has no remaining migration exceptions', () => {
expect(migrationExceptions).toEqual([]);
diff --git a/invokeai/frontend/webv2/src/architecture/workbenchOwnership.test.ts b/invokeai/frontend/webv2/src/architecture/workbenchOwnership.test.ts
index 4dfed99f57..3382ffac7f 100644
--- a/invokeai/frontend/webv2/src/architecture/workbenchOwnership.test.ts
+++ b/invokeai/frontend/webv2/src/architecture/workbenchOwnership.test.ts
@@ -196,7 +196,8 @@ describe('Workbench ownership manifest', () => {
expect(records.every((record) => record.targetPath)).toBe(true);
expect(artifact.counts.productionWorkbenchModules).toBe(workbenchSources.length);
expect(artifact.transitionalCycles).toHaveLength(0);
- }, 10_000);
+ // A whole-Workbench scan whose cost grows with the codebase; CI runners already reach 5s of the old 10s budget.
+ }, 60_000);
it('rejects responsibility-free target names', () => {
const paths = [