From 83ed1cbd2a6748f1f65ed884739edf5df404b968 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Fri, 13 Nov 2026 16:26:35 -0500 Subject: [PATCH] test: let the suite own default test deadlines 178 Vitest cases set an explicit 30 s deadline, the old suite default. An explicit per-test value overrides the suite setting, so these cases kept 30 s under coverage (suite: 60 s) and on hosted CI (60 s since #10417); asyncChunkCapacity.test.ts then timed out at 30 s on main. Remove only explicit test or describe deadlines equal to 30 s, selected by syntax tree. Hook deadlines, subprocess timeouts, setTimeout delays and data values are unchanged. Local runs keep 30 s. --- .../ApktoolVersionProbe.lifecycle.test.ts | 1 - .../desktop/DesktopApplicationCapture.test.ts | 14 ++-- src/browser/CdpAgentHints.integration.test.ts | 1 - .../CdpCaptureDocuments.baseUrl.test.ts | 2 +- src/cliAmpRegistration.test.ts | 2 +- src/desktop/AgentEnvSolveHelper.test.ts | 14 ++-- src/desktop/DesktopApplicationSession.test.ts | 14 ++-- src/domain/callPath.test.ts | 2 +- ...tSemanticAnalysis.member_mutations.test.ts | 4 +- ...manticAnalysis.reference_lifetimes.test.ts | 14 ++-- src/dotnet/ManagedArtifactInspector.test.ts | 2 +- tests/acceptance/analysisSettingsMcp.test.ts | 10 ++- .../artifactComparisonCoverage.test.ts | 5 -- .../assetCatalogResourceKeys.test.ts | 1 - .../javascriptFactoryCompletion.test.ts | 1 - .../javascriptUnknownCapacity.test.ts | 1 - .../mobileFrameworkConventions.test.ts | 1 - .../nativeExportsVersionRequirements.test.ts | 2 - .../applications/peResources.test.ts | 1 - tests/acceptance/goBinaryCli.test.ts | 5 -- tests/acceptance/godotPck.test.ts | 2 - tests/acceptance/il2cppMetadataCli.test.ts | 19 +----- .../il2cppStructuralExtentsCli.test.ts | 1 - .../acceptance/nativeDispatchSnapshot.test.ts | 3 - .../acceptance/nativeElfArchitecture.test.ts | 1 - .../process/processSensitiveInput.test.ts | 2 - .../process/processSignalExit.test.ts | 1 - tests/acceptance/rustBinaryCli.test.ts | 6 -- tests/acceptance/rustDependencyViews.test.ts | 1 - .../tools/inspectorFileUrlIdentity.test.ts | 2 +- .../tools/inspectorLifecycle.test.ts | 2 +- .../cli/callerPathSymlinkParentCli.test.ts | 2 - .../boundary/cli/projectedErrorStatus.test.ts | 1 - .../filesystem/productCatalog.test.ts | 2 +- .../filesystem/windowsNpxRegistration.test.ts | 1 - .../javascript/asyncChunkCapacity.test.ts | 2 +- .../javascript/nativeTypeBindings.test.ts | 3 +- .../mcp/androidPackageSummaryMcp.test.ts | 1 - .../mcp/applicationExportShapeMcp.test.ts | 2 +- .../mcp/artifactInspectionCoverageMcp.test.ts | 1 - tests/boundary/mcp/buildComputerMcp.test.ts | 4 +- tests/boundary/mcp/buildWitnessMcp.test.ts | 6 +- tests/boundary/mcp/dartAotSummaryMcp.test.ts | 2 +- .../mcp/ghidraCompactReferencesMcp.test.ts | 6 +- .../ghidraDecompileDeadlineLifetime.test.ts | 4 +- tests/boundary/mcp/ghidraEvidenceMcp.test.ts | 2 +- .../mcp/ghidraFailureDiagnostics.test.ts | 2 +- .../boundary/mcp/ghidraFileOffsetMcp.test.ts | 6 +- tests/boundary/mcp/ghidraNativeApiMcp.test.ts | 6 +- .../mcp/ghidraRequestCeilingMcp.test.ts | 2 +- tests/boundary/mcp/ghidraRoutingMcp.test.ts | 4 +- ...investigationEvidenceReferencesMcp.test.ts | 2 +- .../mcp/managedArtifactSummaryMcp.test.ts | 6 +- tests/boundary/mcp/managedMcp.test.ts | 4 +- .../mcp/managedMemberSummaryMcp.test.ts | 4 +- tests/boundary/mcp/mcpDoctor.test.ts | 6 +- .../mcp/nativeDispatchBoundTarget.test.ts | 3 +- .../mcp/nativeLoadImageViewsMcp.test.ts | 2 +- .../mcp/navigationAlternativesMcp.test.ts | 3 +- .../processResidualUnknownIdentityMcp.test.ts | 1 - tests/boundary/mcp/sessionMcp.test.ts | 2 +- .../javascriptVerifierBoundedEvidence.test.ts | 3 +- .../process/nativeUiVerifierLane.test.ts | 3 - .../nativeVerifierCommandOwnership.test.ts | 1 - .../nativeVerifierPreflightOwnership.test.ts | 1 - .../packageSetupTerminalOwnership.test.ts | 1 - .../packageVerifierCommandOwnership.test.ts | 1 - ...processCaptureCancellationAdapters.test.ts | 1 - .../process/processCaptureProgress.test.ts | 7 -- .../processDescendantPidAdapters.test.ts | 1 - .../process/processSessionMcp.test.ts | 1 - .../providers/apktoolDecodeDeadline.test.ts | 1 - .../providers/apktoolProcessFixture.test.ts | 1 - .../ghidra/ghidraOomRetention.test.ts | 7 +- .../hopperClientObservedExitPriority.test.ts | 6 +- .../conformanceFixtureVerifier.test.ts | 64 +++++++++---------- 76 files changed, 117 insertions(+), 211 deletions(-) diff --git a/src/apktool/ApktoolVersionProbe.lifecycle.test.ts b/src/apktool/ApktoolVersionProbe.lifecycle.test.ts index 5b645a101a6..f88f37bce7c 100644 --- a/src/apktool/ApktoolVersionProbe.lifecycle.test.ts +++ b/src/apktool/ApktoolVersionProbe.lifecycle.test.ts @@ -58,7 +58,6 @@ it.skipIf(process.platform === "win32")( await fixture.cleanup([probe]); } }, - 30_000, ); let commands = new ApktoolCommandCleanup(); diff --git a/src/application/desktop/DesktopApplicationCapture.test.ts b/src/application/desktop/DesktopApplicationCapture.test.ts index 272d952f01a..1740804ae8a 100644 --- a/src/application/desktop/DesktopApplicationCapture.test.ts +++ b/src/application/desktop/DesktopApplicationCapture.test.ts @@ -353,7 +353,6 @@ it.skipIf(process.platform !== "linux")( spy.mockRestore(); } }, - 30_000, ); describe.skipIf(process.platform !== "linux")( @@ -416,7 +415,7 @@ describe.skipIf(process.platform !== "linux")( expect( JSON.parse(await readFile(join(output, "capture.json"), "utf8")), ).toEqual(JSON.parse(JSON.stringify(evidence))); - }, 30_000); + }); it("keeps a baseline-only capture when cancelled before any checkpoint", async () => { const { root, home, environment } = await fixture(); @@ -517,7 +516,7 @@ describe.skipIf(process.platform !== "linux")( after: expect.objectContaining({ sha256: sha256("count=2\n") }), }), ]); - }, 30_000); + }); }, ); @@ -589,7 +588,7 @@ describe.skipIf(process.platform !== "linux")( { name: "stop", trigger: "stop" }, { name: "exit", trigger: "exit" }, ]); - }, 30_000); + }); }, ); @@ -644,7 +643,6 @@ describe.skipIf(process.platform !== "linux")( details: { cleanup: "incomplete", resources: [statePath] }, }); }, - 30_000, ); }, ); @@ -678,7 +676,7 @@ describe.skipIf(process.platform !== "linux")( expect(await readdir(root)).toEqual( expect.arrayContaining(["group-term", "setsid-term"]), ); - }, 30_000); + }); it("stops the application gracefully and removes retained content when the session fails", async () => { const { root, home, environment } = await fixture(); @@ -703,7 +701,7 @@ describe.skipIf(process.platform !== "linux")( expect(await readdir(root)).toEqual( expect.arrayContaining(["group-term", "setsid-term"]), ); - }, 30_000); + }); }, ); @@ -774,7 +772,7 @@ describe.skipIf(process.platform !== "linux")( expect(capture.limitations).toContainEqual( expect.stringMatching(/^The window list could not be read in [34] /u), ); - }, 30_000); + }); }, ); diff --git a/src/browser/CdpAgentHints.integration.test.ts b/src/browser/CdpAgentHints.integration.test.ts index f6da762eee0..d3963ed6e02 100644 --- a/src/browser/CdpAgentHints.integration.test.ts +++ b/src/browser/CdpAgentHints.integration.test.ts @@ -90,7 +90,6 @@ it.each(["", "h:"])( await browser.close(); } }, - 30_000, ); it.each(["progress", "enable", "terminal", "complete"] as const)( diff --git a/src/browser/CdpCaptureDocuments.baseUrl.test.ts b/src/browser/CdpCaptureDocuments.baseUrl.test.ts index 5836c2d20e3..71adb9f679f 100644 --- a/src/browser/CdpCaptureDocuments.baseUrl.test.ts +++ b/src/browser/CdpCaptureDocuments.baseUrl.test.ts @@ -1367,5 +1367,5 @@ describe("XML namespace resolution ordering and capacity", () => { expect(result.urls).toEqual([ approvedHref(elements.length, `${origin}/deep`), ]); - }, 30_000); + }); }); diff --git a/src/cliAmpRegistration.test.ts b/src/cliAmpRegistration.test.ts index 1d58ca913a6..882890aae96 100644 --- a/src/cliAmpRegistration.test.ts +++ b/src/cliAmpRegistration.test.ts @@ -98,4 +98,4 @@ it("admits exact Amp command facts and rejects invalid commands before publicati } finally { await rm(home, { recursive: true, force: true }); } -}, 30_000); +}); diff --git a/src/desktop/AgentEnvSolveHelper.test.ts b/src/desktop/AgentEnvSolveHelper.test.ts index 4b8ce44a456..f9645279b5b 100644 --- a/src/desktop/AgentEnvSolveHelper.test.ts +++ b/src/desktop/AgentEnvSolveHelper.test.ts @@ -86,7 +86,7 @@ describe("runSolveHelper", () => { stop.abort(); await Promise.allSettled([started, solved]); } - }, 30_000); + }); it("records a helper stopped at its deadline without a report as a failed solve of unknown cost, its cleanup known", async () => { const runner = await fakeAgentEnvSolves([SOLVE]); @@ -109,7 +109,7 @@ describe("runSolveHelper", () => { }); expect(report.error).toMatch(/stopped \(SIG[A-Z]+\) without a report/u); expect(retained).toHaveLength(0); - }, 30_000); + }); it("keeps a helper whose cleanup failed, so closing can retry it, and reports what is left", async () => { const runner = await fakeAgentEnvSolves([SOLVE]); @@ -146,7 +146,7 @@ describe("runSolveHelper", () => { status: "verified-cleanup", }); retained[0]?.dispose(); - }, 30_000); + }); }); it("retains a reported sandbox on failed removal, then retries that exact sandbox", async () => { @@ -184,7 +184,7 @@ it("retains a reported sandbox on failed removal, then retries that exact sandbo expect(failure.cleanupIncomplete).toBe(false); expect(failure.cleanupResources).toEqual([]); retained[0]?.dispose(); -}, 30_000); +}); it("retains a completed report if cancellation arrives during final cleanup", async () => { const runner = await fakeAgentEnvSolves([SOLVE]); @@ -211,7 +211,7 @@ it("retains a completed report if cancellation arrives during final cleanup", as cause: reason, report: { outcome: "passed", turns: 3, usd: 0.1 }, }); -}, 30_000); +}); it("retains an unrecognized sandbox root entry and retries after it is repaired", async () => { const runner = await fakeAgentEnvSolves([SOLVE]); @@ -240,7 +240,7 @@ it("retains an unrecognized sandbox root entry and retries after it is repaired" if (!(failure instanceof ProviderCleanupError)) throw failure; expect(failure.cleanupIncomplete).toBe(false); retained[0]?.dispose(); -}, 30_000); +}); it("retains root cleanup and the spawn failure when admission fails", async () => { const runner = await fakeAgentEnvSolves([SOLVE]); @@ -274,4 +274,4 @@ it("retains root cleanup and the spawn failure when admission fails", async () = expect(failure.cleanupIncomplete).toBe(false); expect(failure.cleanupResources).toEqual([]); retained[0]?.dispose(); -}, 30_000); +}); diff --git a/src/desktop/DesktopApplicationSession.test.ts b/src/desktop/DesktopApplicationSession.test.ts index 6f34e5c770a..3f0105b4e4f 100644 --- a/src/desktop/DesktopApplicationSession.test.ts +++ b/src/desktop/DesktopApplicationSession.test.ts @@ -157,7 +157,7 @@ describe.skipIf(process.platform !== "linux")("runDesktopSession", () => { await expect(runDesktopSession(plan)).rejects.toBe(failure); expect(checkpoints).toEqual(["stop", "exit"]); expect(vi.mocked(terminateTokenOwnedProcesses)).toHaveBeenCalledTimes(1); - }, 30_000); + }); it("launches the application without the agent environment's variables", async () => { const root = await createTestTempDirectory("desktop-session-env-"); @@ -184,7 +184,7 @@ describe.skipIf(process.platform !== "linux")("runDesktopSession", () => { "REA_PROCESS_RUN_ID", ]), ); - }, 30_000); + }); }); describe.skipIf(process.platform !== "linux")( @@ -209,7 +209,7 @@ describe.skipIf(process.platform !== "linux")( entry.pid !== outcome.session.launch_pid, ).length, ).toBeGreaterThan(0); - }, 30_000); + }); it("does not take samples whose window list was unreadable as the application having exited", async () => { const root = await createTestTempDirectory("desktop-session-unread-"); @@ -230,7 +230,7 @@ describe.skipIf(process.platform !== "linux")( expect(outcome.session.end_reason).toBe("application_exited"); expect(outcome.unreadableWindowSamples).toBe(4); expect(samples).toBeGreaterThanOrEqual(6); - }, 30_000); + }); }, ); @@ -385,7 +385,7 @@ describe.skipIf(process.platform === "win32")( expect(stderr).not.toContain("runtime 0 of 400"); expect(Buffer.byteLength(stderr)).toBeLessThanOrEqual(8 * 1024); expect(stderr_truncated).toBe(true); - }, 30_000); + }); it("gives each checkpoint the titles the app's own windows have shown so far", async () => { const root = await createTestTempDirectory("desktop-session-titles-"); @@ -422,7 +422,7 @@ describe.skipIf(process.platform === "win32")( }); expect(seen.at(-1)).toEqual(["today.txt - Notes"]); - }, 30_000); + }); it("launches the app with glibc's fatal errors sent to its stderr, not its terminal", async () => { const root = await createTestTempDirectory("desktop-session-libc-"); @@ -435,6 +435,6 @@ describe.skipIf(process.platform === "win32")( ); expect(outcome.session.stderr).toContain("LIBC_FATAL_STDERR_=1"); - }, 30_000); + }); }, ); diff --git a/src/domain/callPath.test.ts b/src/domain/callPath.test.ts index 4186bf419f7..a49d83e15b7 100644 --- a/src/domain/callPath.test.ts +++ b/src/domain/callPath.test.ts @@ -275,7 +275,7 @@ describe("call path topology and capacity", () => { expect(result.status).toBe("unknown"); expect(result.search_scope.exhaustive).toBe(false); expect(result.limitations).toEqual(limitations); - }, 30_000); + }); it("retains every shortest path through merging branches and cycles", () => { const result = run([ diff --git a/src/domain/javascript/javascriptSemanticAnalysis.member_mutations.test.ts b/src/domain/javascript/javascriptSemanticAnalysis.member_mutations.test.ts index d3b3f9c1369..4ede75e1903 100644 --- a/src/domain/javascript/javascriptSemanticAnalysis.member_mutations.test.ts +++ b/src/domain/javascript/javascriptSemanticAnalysis.member_mutations.test.ts @@ -1076,7 +1076,7 @@ describe("property mutation collection on minified bundles", () => { { value: { status: "unknown" } }, ], }); - }, 30000); + }); }); describe("results of methods on an escaped receiver", () => { @@ -1112,7 +1112,7 @@ describe("results of methods on an escaped receiver", () => { status: "array", items: [{ value: { status: "unknown" } }], }); - }, 30000); + }); }); it.each([ diff --git a/src/domain/javascript/javascriptSemanticAnalysis.reference_lifetimes.test.ts b/src/domain/javascript/javascriptSemanticAnalysis.reference_lifetimes.test.ts index ed98d2626ff..c327b5b7859 100644 --- a/src/domain/javascript/javascriptSemanticAnalysis.reference_lifetimes.test.ts +++ b/src/domain/javascript/javascriptSemanticAnalysis.reference_lifetimes.test.ts @@ -26,7 +26,7 @@ describe("bounded paths through dynamic selectors and class origins", () => { value: 42, }); expect(performance.now() - start).toBeLessThan(2000); - }, 30000); + }); it("retains effects through class getter aliases while bounding loop paths", () => { expect( @@ -65,7 +65,7 @@ describe("bounded paths through dynamic selectors and class origins", () => { "unknown", ); expect(performance.now() - start).toBeLessThan(2000); - }, 30000); + }); it("retains shared-child mutations reached by dynamic-key alias loops", () => { expect( @@ -103,7 +103,7 @@ describe("bounded member path propagation", () => { ); expect(callable.returnSites[0]?.value.status).toBe("unknown"); expect(performance.now() - start).toBeLessThan(2000); - }, 30000); + }); it("preserves Array prototype effects through an otherwise unknown alias", () => { expect( @@ -125,7 +125,7 @@ describe("bounded member path propagation", () => { ), ).toEqual({ status: "literal", value: 3 }); expect(performance.now() - start).toBeLessThan(2000); - }, 30000); + }); // A dynamic self alias escapes its repeated prefix, which conservatively // covers every child; a static key without that slot keeps the literal. @@ -144,7 +144,6 @@ describe("bounded member path propagation", () => { expect(performance.now() - start).toBeLessThan(2000); expect(value?.status).toBe(status); }, - 30000, ); it.each([ @@ -196,7 +195,6 @@ describe("bounded member path propagation", () => { expect(performance.now() - start).toBeLessThan(2000); expect(value?.status).toBe(status); }, - 30000, ); it.each([ @@ -282,7 +280,7 @@ describe("reference lifetimes across calls and shallow copies", () => { `const alias0 = [1]; ${declarations} const ${pattern} = alias9; return alias0[0];`, ); expect(performance.now() - start).toBeLessThan(2000); - }, 30000); + }); it("bounds conditional shallow-copy traversal while retaining shared children", () => { const declarations = Array.from( @@ -297,7 +295,7 @@ describe("reference lifetimes across calls and shallow copies", () => { )?.status, ).toBe("unknown"); expect(performance.now() - start).toBeLessThan(2000); - }, 30000); + }); it.each([ ["child: {}", "child: {}", "literal"], diff --git a/src/dotnet/ManagedArtifactInspector.test.ts b/src/dotnet/ManagedArtifactInspector.test.ts index f3a7fd8fd94..5c877a1786d 100644 --- a/src/dotnet/ManagedArtifactInspector.test.ts +++ b/src/dotnet/ManagedArtifactInspector.test.ts @@ -580,7 +580,7 @@ describe("managed artifact coded indexes", () => { (attribute) => attribute.type_name === "Fixture.LookupAttribute", ), ).toBe(true); - }, 30_000); + }); }); it.each([false, true])( diff --git a/tests/acceptance/analysisSettingsMcp.test.ts b/tests/acceptance/analysisSettingsMcp.test.ts index dbae94f312f..5e2bb51de08 100644 --- a/tests/acceptance/analysisSettingsMcp.test.ts +++ b/tests/acceptance/analysisSettingsMcp.test.ts @@ -80,7 +80,7 @@ it("recovers expanded ASAR listing admission on the same MCP connection independ } finally { await client.close(); } -}, 30000); +}); it("advertises exact contracts and recovers a full large-index archive over one MCP connection", async () => { const root = await createTestTempDirectory("rea-runtime-settings-"); @@ -214,7 +214,7 @@ it("advertises exact contracts and recovers a full large-index archive over one } finally { await client.close(); } -}, 30000); +}); it.each(["0", "2147483648"])( "keeps invalid JADX launch timeout %s local and repairable through MCP", @@ -279,7 +279,6 @@ it.each(["0", "2147483648"])( await client.close(); } }, - 30000, ); it("lowers, restores and seeds the native matching allowance over MCP", async () => { @@ -427,7 +426,7 @@ it("lowers, restores and seeds the native matching allowance over MCP", async () } finally { await invalid.client.close(); } -}, 30000); +}); it("starts with invalid runtime seeds and recovers ASAR and capture work on the same connection", async () => { const root = await createTestTempDirectory("rea-invalid-runtime-seeds-"); @@ -517,7 +516,7 @@ it("starts with invalid runtime seeds and recovers ASAR and capture work on the } finally { await client.close(); } -}, 30000); +}); it.skipIf(process.platform === "win32")( "ignores Windows ChangeTime launch settings on other hosts", @@ -539,5 +538,4 @@ it.skipIf(process.platform === "win32")( await client.close(); } }, - 30000, ); diff --git a/tests/acceptance/applications/artifactComparisonCoverage.test.ts b/tests/acceptance/applications/artifactComparisonCoverage.test.ts index 83e5ecc6bf3..7b1693dbd47 100644 --- a/tests/acceptance/applications/artifactComparisonCoverage.test.ts +++ b/tests/acceptance/applications/artifactComparisonCoverage.test.ts @@ -432,7 +432,6 @@ cliTest( await assertCoverageControls({ left, right, inventory, compare }); }, - 30_000, ); cliTest.skipIf(process.platform === "win32")( @@ -469,7 +468,6 @@ cliTest.skipIf(process.platform === "win32")( ], }); }, - 30_000, ); cliTest.skipIf(process.platform === "win32")( @@ -521,7 +519,6 @@ cliTest.skipIf(process.platform === "win32")( ]), }); }, - 30_000, ); cliTest.skipIf(process.platform === "win32")( @@ -579,7 +576,6 @@ cliTest.skipIf(process.platform === "win32")( ); } }, - 30_000, ); cliTest( @@ -620,7 +616,6 @@ cliTest( ]), }); }, - 30_000, ); cliTest( diff --git a/tests/acceptance/applications/assetCatalogResourceKeys.test.ts b/tests/acceptance/applications/assetCatalogResourceKeys.test.ts index 42f69ecf227..2006614220a 100644 --- a/tests/acceptance/applications/assetCatalogResourceKeys.test.ts +++ b/tests/acceptance/applications/assetCatalogResourceKeys.test.ts @@ -170,5 +170,4 @@ cliTest.skipIf(process.platform !== "darwin")( }); } }, - 30_000, ); diff --git a/tests/acceptance/applications/javascriptFactoryCompletion.test.ts b/tests/acceptance/applications/javascriptFactoryCompletion.test.ts index fb348085ab0..c920ea885f8 100644 --- a/tests/acceptance/applications/javascriptFactoryCompletion.test.ts +++ b/tests/acceptance/applications/javascriptFactoryCompletion.test.ts @@ -500,5 +500,4 @@ cliTest( ); } }, - 30_000, ); diff --git a/tests/acceptance/applications/javascriptUnknownCapacity.test.ts b/tests/acceptance/applications/javascriptUnknownCapacity.test.ts index 6af48587288..2a0500b782d 100644 --- a/tests/acceptance/applications/javascriptUnknownCapacity.test.ts +++ b/tests/acceptance/applications/javascriptUnknownCapacity.test.ts @@ -88,5 +88,4 @@ cliTest( } } }, - 30_000, ); diff --git a/tests/acceptance/applications/mobileFrameworkConventions.test.ts b/tests/acceptance/applications/mobileFrameworkConventions.test.ts index 4a9242e7a88..3a8d3e38701 100644 --- a/tests/acceptance/applications/mobileFrameworkConventions.test.ts +++ b/tests/acceptance/applications/mobileFrameworkConventions.test.ts @@ -138,5 +138,4 @@ cliTest( } } }, - 30_000, ); diff --git a/tests/acceptance/applications/nativeExportsVersionRequirements.test.ts b/tests/acceptance/applications/nativeExportsVersionRequirements.test.ts index ba3bbea7cc7..c733cb09438 100644 --- a/tests/acceptance/applications/nativeExportsVersionRequirements.test.ts +++ b/tests/acceptance/applications/nativeExportsVersionRequirements.test.ts @@ -72,7 +72,6 @@ cliTest( }, ); }, - 30_000, ); cliTest( @@ -113,5 +112,4 @@ cliTest( }, ); }, - 30_000, ); diff --git a/tests/acceptance/applications/peResources.test.ts b/tests/acceptance/applications/peResources.test.ts index c347c7084b4..c7120557b54 100644 --- a/tests/acceptance/applications/peResources.test.ts +++ b/tests/acceptance/applications/peResources.test.ts @@ -531,5 +531,4 @@ cliTest( } } }, - 30_000, ); diff --git a/tests/acceptance/goBinaryCli.test.ts b/tests/acceptance/goBinaryCli.test.ts index 33d65fe226a..1b8c9e4b20b 100644 --- a/tests/acceptance/goBinaryCli.test.ts +++ b/tests/acceptance/goBinaryCli.test.ts @@ -250,7 +250,6 @@ cliTest( details: { issues: [{ path: ["evidence_output"] }] }, }); }, - 30000, ); cliTest( @@ -280,7 +279,6 @@ cliTest( expect(parseMcpToolError(response).error).toMatchObject(expected); await client.ping(); }, - 30000, ); cliTest( @@ -307,7 +305,6 @@ cliTest( expect(infos[1]).toEqual(infos[0]); await client.ping(); }, - 30000, ); for (const bits of [32, 64] as const) { @@ -357,7 +354,6 @@ for (const bits of [32, 64] as const) { expect(buildInfos[1]).toEqual(buildInfos[0]); await client.ping(); }, - 30000, ); } } @@ -413,7 +409,6 @@ cliTest( } await client.ping(); }, - 30000, ); for (const expectedErrno of ["ELOOP", "ENAMETOOLONG"] as const) { diff --git a/tests/acceptance/godotPck.test.ts b/tests/acceptance/godotPck.test.ts index 0e69243b978..bb0d56e9f9a 100644 --- a/tests/acceptance/godotPck.test.ts +++ b/tests/acceptance/godotPck.test.ts @@ -383,7 +383,6 @@ cliTest( }), ]); }, - 30000, ); cliTest( @@ -424,5 +423,4 @@ cliTest( } } }, - 30000, ); diff --git a/tests/acceptance/il2cppMetadataCli.test.ts b/tests/acceptance/il2cppMetadataCli.test.ts index 595968ad3bc..252b5adbc70 100644 --- a/tests/acceptance/il2cppMetadataCli.test.ts +++ b/tests/acceptance/il2cppMetadataCli.test.ts @@ -109,7 +109,6 @@ cliTest( }); await client.ping(); }, - 30000, ); cliTest( @@ -176,7 +175,6 @@ cliTest( } } }, - 30000, ); cliTest( @@ -238,7 +236,6 @@ cliTest( } } }, - 30000, ); cliTest( @@ -312,7 +309,6 @@ cliTest( expect(Buffer.compare(await readFile(path), fixture.bytes)).toBe(0); } }, - 30000, ); cliTest( @@ -431,7 +427,6 @@ cliTest( } await client.ping(); }, - 30000, ); cliTest( @@ -487,7 +482,6 @@ cliTest( } await client.ping(); }, - 30000, ); cliTest( @@ -562,7 +556,6 @@ cliTest( } await client.ping(); }, - 30000, ); const metadataPageReader = @@ -750,7 +743,7 @@ it("queries compact retained metadata through the real SDK with exact row identi }); expect(parseMcpToolError(invalid).error.code).toBe("invalid_request"); await client.ping(); -}, 30000); +}); it("imports historical metadata Evidence with unavailable member collections without inventing empty results", async () => { const root = await createTestTempDirectory("rea-il2cpp-history-"), @@ -827,7 +820,7 @@ it("imports historical metadata Evidence with unavailable member collections wit view: { kind: "il2cpp-metadata", collection: "parameters" }, }); expect(parseMcpToolError(unavailable).error.code).toBe("invalid_request"); -}, 30000); +}); cliTest( "exports complete metadata Evidence for compact CLI delivery and portable selected reads", @@ -906,7 +899,6 @@ cliTest( parent_evidence_id: evidence.evidence_id, }); }, - 30000, ); cliTest.skipIf(process.platform === "win32")( @@ -950,7 +942,6 @@ cliTest.skipIf(process.platform === "win32")( expect(read.exitCode, read.stderr).toBe(0); expect(read.stdout).toContain(saved.value.records[0]?.evidence_id); }, - 30000, ); cliTest( @@ -1042,7 +1033,6 @@ cliTest( ); await client.ping(); }, - 30000, ); cliTest( @@ -1088,7 +1078,6 @@ cliTest( ).toEqual(report.method_addresses); await client.ping(); }, - 30000, ); cliTest( @@ -1157,7 +1146,6 @@ cliTest( } await client.ping(); }, - 30000, ); cliTest( @@ -1218,7 +1206,6 @@ cliTest( } await client.ping(); }, - 30000, ); cliTest( @@ -1301,7 +1288,6 @@ cliTest( } await client.ping(); }, - 30000, ); cliTest( @@ -1339,7 +1325,6 @@ cliTest( ), ).toBe(true); }, - 30000, ); cliTest( diff --git a/tests/acceptance/il2cppStructuralExtentsCli.test.ts b/tests/acceptance/il2cppStructuralExtentsCli.test.ts index d2754a2c15e..6cbe54c3aae 100644 --- a/tests/acceptance/il2cppStructuralExtentsCli.test.ts +++ b/tests/acceptance/il2cppStructuralExtentsCli.test.ts @@ -57,5 +57,4 @@ cliTest( expect(parseMcpToolError(result).error).toMatchObject(expected); } }, - 30000, ); diff --git a/tests/acceptance/nativeDispatchSnapshot.test.ts b/tests/acceptance/nativeDispatchSnapshot.test.ts index c819ed2ea5b..4906a329c80 100644 --- a/tests/acceptance/nativeDispatchSnapshot.test.ts +++ b/tests/acceptance/nativeDispatchSnapshot.test.ts @@ -117,7 +117,6 @@ cliTest.skipIf(process.platform !== "darwin")( expect(Buffer.compare(await readFile(first), Buffer.from(bytes))).toBe(0); expect(Buffer.compare(await readFile(second), Buffer.from(bytes))).toBe(0); }, - 30000, ); cliTest.skipIf(process.platform !== "darwin")( @@ -174,7 +173,6 @@ cliTest.skipIf(process.platform !== "darwin")( expect(Buffer.compare(await readFile(target), bytes)).toBe(0); await client.ping(); }, - 30000, ); cliTest.skipIf(process.platform !== "darwin")( @@ -308,7 +306,6 @@ cliTest.skipIf(process.platform !== "darwin")( expect(Buffer.compare(await readFile(target), Buffer.from(bytes))).toBe(0); await client.ping(); }, - 30000, ); cliTest.skipIf(process.platform !== "darwin")( diff --git a/tests/acceptance/nativeElfArchitecture.test.ts b/tests/acceptance/nativeElfArchitecture.test.ts index 22c91e2ff64..e9fa56b1410 100644 --- a/tests/acceptance/nativeElfArchitecture.test.ts +++ b/tests/acceptance/nativeElfArchitecture.test.ts @@ -88,5 +88,4 @@ cliTest( } await client.ping(); }, - 30000, ); diff --git a/tests/acceptance/process/processSensitiveInput.test.ts b/tests/acceptance/process/processSensitiveInput.test.ts index 83f91050549..90fd130881b 100644 --- a/tests/acceptance/process/processSensitiveInput.test.ts +++ b/tests/acceptance/process/processSensitiveInput.test.ts @@ -68,7 +68,6 @@ cliTest.skipIf(CAPTURE_SKIP_REASON)( expect(result.stderr).not.toContain(literal); verify(result.json); }, - 30_000, ); itWithCaptureCapability( @@ -85,5 +84,4 @@ itWithCaptureCapability( ), ); }, - 30_000, ); diff --git a/tests/acceptance/process/processSignalExit.test.ts b/tests/acceptance/process/processSignalExit.test.ts index 6ea44993959..1d0ff8d8573 100644 --- a/tests/acceptance/process/processSignalExit.test.ts +++ b/tests/acceptance/process/processSignalExit.test.ts @@ -94,5 +94,4 @@ captureTest( reason: "exited", }); }, - 30_000, ); diff --git a/tests/acceptance/rustBinaryCli.test.ts b/tests/acceptance/rustBinaryCli.test.ts index a81e6cc818b..0be0aa41fbd 100644 --- a/tests/acceptance/rustBinaryCli.test.ts +++ b/tests/acceptance/rustBinaryCli.test.ts @@ -74,7 +74,6 @@ cliTest( } await client.ping(); }, - 30000, ); cliTest( @@ -240,7 +239,6 @@ cliTest( } await client.ping(); }, - 30000, ); cliTest("returns null metadata when .dep-v0 is absent", async ({ cli }) => { @@ -427,7 +425,6 @@ cliTest( }); await client.ping(); }, - 30000, ); cliTest( @@ -485,7 +482,6 @@ cliTest( expectCliMcpEvidenceParity(evidence, response.structuredContent, path); await client.ping(); }, - 30000, ); cliTest( @@ -532,7 +528,6 @@ cliTest( expect(parseMcpToolError(response).error).toMatchObject(expectedFailure); await client.ping(); }, - 30000, ); cliTest( @@ -689,7 +684,6 @@ cliTest( } await client.ping(); }, - 30000, ); cliTest( diff --git a/tests/acceptance/rustDependencyViews.test.ts b/tests/acceptance/rustDependencyViews.test.ts index c7802653ecc..b10e04ca84d 100644 --- a/tests/acceptance/rustDependencyViews.test.ts +++ b/tests/acceptance/rustDependencyViews.test.ts @@ -451,5 +451,4 @@ cliTest( } expect((await readFile(path)).length).toBeGreaterThan(0); }, - 30000, ); diff --git a/tests/acceptance/tools/inspectorFileUrlIdentity.test.ts b/tests/acceptance/tools/inspectorFileUrlIdentity.test.ts index a465ce02b8f..619866d86e2 100644 --- a/tests/acceptance/tools/inspectorFileUrlIdentity.test.ts +++ b/tests/acceptance/tools/inspectorFileUrlIdentity.test.ts @@ -131,4 +131,4 @@ it("preserves file URL scheme spelling and script identity after real Inspector expect(original.predicate_type).toBe(first.predicate_type); expect(original.normalized_result).toEqual(first.normalized_result); expect(await readFile(source, "utf8")).toBe(sourceText); -}, 30_000); +}); diff --git a/tests/acceptance/tools/inspectorLifecycle.test.ts b/tests/acceptance/tools/inspectorLifecycle.test.ts index 02aa53cf141..cebeef7db7e 100644 --- a/tests/acceptance/tools/inspectorLifecycle.test.ts +++ b/tests/acceptance/tools/inspectorLifecycle.test.ts @@ -122,4 +122,4 @@ it("observes a real Node Inspector and releases attachments after cancellation a details: { reason: "endpoint_unreachable" }, }, }); -}, 30_000); +}); diff --git a/tests/boundary/cli/callerPathSymlinkParentCli.test.ts b/tests/boundary/cli/callerPathSymlinkParentCli.test.ts index a7d4ef2ca02..0e4a7ba36fe 100644 --- a/tests/boundary/cli/callerPathSymlinkParentCli.test.ts +++ b/tests/boundary/cli/callerPathSymlinkParentCli.test.ts @@ -46,7 +46,6 @@ describe.skipIf(process.platform === "win32")( ); } }, - 30_000, ); cliTest( @@ -84,7 +83,6 @@ describe.skipIf(process.platform === "win32")( expect(evidence.subject?.digest.sha256, path).toBe(selectedDigest); } }, - 30_000, ); }, ); diff --git a/tests/boundary/cli/projectedErrorStatus.test.ts b/tests/boundary/cli/projectedErrorStatus.test.ts index ca3777635f3..7bd4a5e110d 100644 --- a/tests/boundary/cli/projectedErrorStatus.test.ts +++ b/tests/boundary/cli/projectedErrorStatus.test.ts @@ -45,6 +45,5 @@ describe("projected CLI failures", () => { expect(result.json).toMatchObject({ code: "invalid_request" }); } }, - 30_000, ); }); diff --git a/tests/boundary/filesystem/productCatalog.test.ts b/tests/boundary/filesystem/productCatalog.test.ts index a0ab49b9f5b..0ed546f06ee 100644 --- a/tests/boundary/filesystem/productCatalog.test.ts +++ b/tests/boundary/filesystem/productCatalog.test.ts @@ -129,7 +129,7 @@ describe("canonical CLI catalog", () => { const inventory = createCliInventory(createCli()); expect(inventory.primary).toEqual([...CLI_COMMAND_NAMES].sort()); expect(inventory.aliases).toEqual([]); - }, 30_000); + }); it("describes every primary command argument and option", () => { expect(cliCommandDescriptionIssues(createCli())).toEqual([]); diff --git a/tests/boundary/filesystem/windowsNpxRegistration.test.ts b/tests/boundary/filesystem/windowsNpxRegistration.test.ts index 1e52a5f6434..ae67a8af3bc 100644 --- a/tests/boundary/filesystem/windowsNpxRegistration.test.ts +++ b/tests/boundary/filesystem/windowsNpxRegistration.test.ts @@ -234,5 +234,4 @@ it.skipIf(process.platform !== "win32")( await transport.close(); } }, - 30_000, ); diff --git a/tests/boundary/javascript/asyncChunkCapacity.test.ts b/tests/boundary/javascript/asyncChunkCapacity.test.ts index f9bb088112c..1296bd243aa 100644 --- a/tests/boundary/javascript/asyncChunkCapacity.test.ts +++ b/tests/boundary/javascript/asyncChunkCapacity.test.ts @@ -38,4 +38,4 @@ it("retains a wide factory's async keys before normalizing the registration", () end: { line: 1, column: start + factory.length }, }, }); -}, 30_000); +}); diff --git a/tests/boundary/javascript/nativeTypeBindings.test.ts b/tests/boundary/javascript/nativeTypeBindings.test.ts index 783dc9f9eeb..9c73059ee1e 100644 --- a/tests/boundary/javascript/nativeTypeBindings.test.ts +++ b/tests/boundary/javascript/nativeTypeBindings.test.ts @@ -87,7 +87,7 @@ it("does not request native-addon members from erased TypeScript names", async ( value.graph.nodes.filter((node) => node.kind === "native-export")[0] ?.observations[0]?.properties.requested_members, ).toEqual(["load"]); -}, 30_000); +}); it.each(["node", "NODE", "Node"])( "keeps path spelling while classifying .%s native requests", @@ -141,5 +141,4 @@ it.each(["node", "NODE", "Node"])( }), ); }, - 30_000, ); diff --git a/tests/boundary/mcp/androidPackageSummaryMcp.test.ts b/tests/boundary/mcp/androidPackageSummaryMcp.test.ts index 2789c30b56c..b9eb64f3679 100644 --- a/tests/boundary/mcp/androidPackageSummaryMcp.test.ts +++ b/tests/boundary/mcp/androidPackageSummaryMcp.test.ts @@ -409,7 +409,6 @@ it.skipIf(process.platform === "win32")( await harness.close(); await verifyJadxFixtureCleanup(launches); }, - 30000, ); it("preserves partial/unknown declarations and Unicode text while rejecting missing APK identity and malformed source", async () => { diff --git a/tests/boundary/mcp/applicationExportShapeMcp.test.ts b/tests/boundary/mcp/applicationExportShapeMcp.test.ts index a3c8cfe00a8..2146aed2235 100644 --- a/tests/boundary/mcp/applicationExportShapeMcp.test.ts +++ b/tests/boundary/mcp/applicationExportShapeMcp.test.ts @@ -474,7 +474,7 @@ ${returnSites} left_omitted_fields: 0, right_omitted_fields: 0, }); - }, 30_000); + }); }); const analyzeSourceEvidence = async (source: string) => { diff --git a/tests/boundary/mcp/artifactInspectionCoverageMcp.test.ts b/tests/boundary/mcp/artifactInspectionCoverageMcp.test.ts index e1a6a48b4e9..aa1f277ff6e 100644 --- a/tests/boundary/mcp/artifactInspectionCoverageMcp.test.ts +++ b/tests/boundary/mcp/artifactInspectionCoverageMcp.test.ts @@ -71,7 +71,6 @@ describe.skipIf(process.platform === "win32")( }, ] as const)( "derives inspection and summary coverage from inventory traversal (FIFO: $withFifo)", - { timeout: 30_000 }, async ({ withFifo, status, sourceCoverage }, { mcp, onTestFinished }) => { const path = await writeBundle(withFifo); const { client, outputSchema } = await connect(mcp, onTestFinished); diff --git a/tests/boundary/mcp/buildComputerMcp.test.ts b/tests/boundary/mcp/buildComputerMcp.test.ts index 121a3a893de..eb76a6d3452 100644 --- a/tests/boundary/mcp/buildComputerMcp.test.ts +++ b/tests/boundary/mcp/buildComputerMcp.test.ts @@ -689,7 +689,7 @@ it("runs one computer's calls in the order they arrive and another computer's be "reset", "screenshot behind the reset", ]); -}, 30_000); +}); it("sends progress while an action waits for the call before it on its computer", async () => { const app = slowApp(14); @@ -715,7 +715,7 @@ it("sends progress while an action waits for the call before it on its computer" expect(waited.isError, JSON.stringify(waited)).not.toBe(true); expect(progress.length).toBeGreaterThan(0); await reset; -}, 30_000); +}); it("cancels a computer's call in progress on close and refuses the calls waiting behind it", async () => { const app = slowApp(600); diff --git a/tests/boundary/mcp/buildWitnessMcp.test.ts b/tests/boundary/mcp/buildWitnessMcp.test.ts index 6408120ea86..65802e22091 100644 --- a/tests/boundary/mcp/buildWitnessMcp.test.ts +++ b/tests/boundary/mcp/buildWitnessMcp.test.ts @@ -901,7 +901,7 @@ it("keeps a completed reset when the screenshot after it is cancelled", async () const near = parseMcpToolError(await witness.check({ stage: "near_miss" })); expect(near.error.message).toContain("put the seed back"); expect(witness.app.state).toEqual(lines("milk")); -}, 30_000); +}); it("checks after_reset once the reset sent before it has relaunched the app", async () => { const witness = await witnessed(4); @@ -925,7 +925,7 @@ it("checks after_reset once the reset sent before it has relaunched the app", as outcome: "applied", }); expect(app.methods.slice(-2)).toEqual(["data/reset", "data/get"]); -}, 30_000); +}); it("sends progress while a reset waits for the relaunched app", async () => { const witness = await witnessed(14); @@ -939,7 +939,7 @@ it("sends progress while a reset waits for the relaunched app", async () => { ); expect(reset.isError, JSON.stringify(reset)).not.toBe(true); expect(progress.length).toBeGreaterThan(0); -}, 30_000); +}); /** The shipped timing scaled down a tenfold: a read every 50 ms, a 300 ms window, a 1.5 s bound. */ const SETTLE: SettleTiming = { intervalMs: 50, windowMs: 300, boundMs: 1500 }; diff --git a/tests/boundary/mcp/dartAotSummaryMcp.test.ts b/tests/boundary/mcp/dartAotSummaryMcp.test.ts index 94d66e0016b..70fa9fd11c1 100644 --- a/tests/boundary/mcp/dartAotSummaryMcp.test.ts +++ b/tests/boundary/mcp/dartAotSummaryMcp.test.ts @@ -197,7 +197,7 @@ it("honors explicit ABI and old full requests, validates SDK schemas and reuses }); if (!portable.ok) throw portable.error; expect(portable.value.normalized_result).toEqual(view); -}, 30000); +}); it("preserves null snapshot facts and pool lower bounds after exhaustion, rejecting malformed and conflicting identities", async () => { const report = { diff --git a/tests/boundary/mcp/ghidraCompactReferencesMcp.test.ts b/tests/boundary/mcp/ghidraCompactReferencesMcp.test.ts index 980366ea12e..468967b423e 100644 --- a/tests/boundary/mcp/ghidraCompactReferencesMcp.test.ts +++ b/tests/boundary/mcp/ghidraCompactReferencesMcp.test.ts @@ -61,7 +61,7 @@ describe("compact Ghidra reference MCP evidence", () => { } finally { await harness.close(); } - }, 30_000); + }); it("preserves empty references and unresolved targets without manufacturing provenance", async () => { const outputs = { @@ -107,7 +107,7 @@ describe("compact Ghidra reference MCP evidence", () => { } finally { await harness.close(); } - }, 30_000); + }); it("preserves ARM TMode and Thumb decoder context across the MCP boundary", async () => { const instructionWithContext = (value: string | null) => ({ @@ -148,5 +148,5 @@ describe("compact Ghidra reference MCP evidence", () => { await harness.close(); } } - }, 30_000); + }); }); diff --git a/tests/boundary/mcp/ghidraDecompileDeadlineLifetime.test.ts b/tests/boundary/mcp/ghidraDecompileDeadlineLifetime.test.ts index 59104ae2edf..227411928b7 100644 --- a/tests/boundary/mcp/ghidraDecompileDeadlineLifetime.test.ts +++ b/tests/boundary/mcp/ghidraDecompileDeadlineLifetime.test.ts @@ -126,7 +126,7 @@ it("tells a finished CLI invocation to rerun with the launch setting, not to reu const { message } = cliFailure.parse(projected); expect(message.startsWith(BRIDGE_MESSAGE)).toBe(true); expect(message).not.toContain(GHIDRA_SESSION_RETAINED); -}, 30_000); +}); it("keeps same-session and runtime-update guidance for a continuing MCP connection", async () => { const launcher = new GhidraFixtureLauncher("decompile_timed_out"); @@ -184,4 +184,4 @@ it("keeps same-session and runtime-update guidance for a continuing MCP connecti await harness.close(); await expectReleased(launcher); } -}, 30_000); +}); diff --git a/tests/boundary/mcp/ghidraEvidenceMcp.test.ts b/tests/boundary/mcp/ghidraEvidenceMcp.test.ts index fe1a09ec64a..47c018209f7 100644 --- a/tests/boundary/mcp/ghidraEvidenceMcp.test.ts +++ b/tests/boundary/mcp/ghidraEvidenceMcp.test.ts @@ -736,5 +736,5 @@ describe("Ghidra MCP evidence parity", () => { } finally { await harness.close(); } - }, 30_000); + }); }); diff --git a/tests/boundary/mcp/ghidraFailureDiagnostics.test.ts b/tests/boundary/mcp/ghidraFailureDiagnostics.test.ts index 1649d538af9..a40dbe93cf7 100644 --- a/tests/boundary/mcp/ghidraFailureDiagnostics.test.ts +++ b/tests/boundary/mcp/ghidraFailureDiagnostics.test.ts @@ -99,7 +99,7 @@ it("preserves queue failure diagnostics through the provider, CLI adapter and SD process.exitCode = previousExitCode; await harness.close(); } -}, 30_000); +}); it.each( (["cancelled", "protocol"] as const).flatMap((kind) => diff --git a/tests/boundary/mcp/ghidraFileOffsetMcp.test.ts b/tests/boundary/mcp/ghidraFileOffsetMcp.test.ts index a30e19f2626..d5be3e1afbe 100644 --- a/tests/boundary/mcp/ghidraFileOffsetMcp.test.ts +++ b/tests/boundary/mcp/ghidraFileOffsetMcp.test.ts @@ -197,7 +197,7 @@ it("reports file-backed, uninitialized and unmapped addresses through MCP withou } finally { await mcp.close(); } -}, 30_000); +}); const segments = z.array( z.object({ name: z.string(), start: z.string(), end: z.string() }), @@ -259,7 +259,7 @@ it("maps the last byte of a file-backed block and refuses the first address past } finally { await mcp.close(); } -}, 30_000); +}); it("gives the CLI analysis path the same unbacked-address outcome as MCP", async () => { const launcher = new GhidraFixtureLauncher(); @@ -308,4 +308,4 @@ it("gives the CLI analysis path the same unbacked-address outcome as MCP", async } finally { await expectReleased(launcher); } -}, 30_000); +}); diff --git a/tests/boundary/mcp/ghidraNativeApiMcp.test.ts b/tests/boundary/mcp/ghidraNativeApiMcp.test.ts index bfb26406113..39c78d2dc7a 100644 --- a/tests/boundary/mcp/ghidraNativeApiMcp.test.ts +++ b/tests/boundary/mcp/ghidraNativeApiMcp.test.ts @@ -245,7 +245,7 @@ describe("Ghidra MCP native API evidence", () => { } finally { await harness.close(); } - }, 30_000); + }); it("returns complete native API boundaries without output-cap unknowns", async () => { const harness = await connectGhidraMcp("ghidra-native-api"); @@ -290,7 +290,7 @@ describe("Ghidra MCP native API evidence", () => { } finally { await harness.close(); } - }, 30_000); + }); }); it("retains unavailable Ghidra native API observations across live reobservation and provenance", async () => { @@ -409,4 +409,4 @@ it("retains unavailable Ghidra native API observations across live reobservation } finally { await harness.close(); } -}, 30_000); +}); diff --git a/tests/boundary/mcp/ghidraRequestCeilingMcp.test.ts b/tests/boundary/mcp/ghidraRequestCeilingMcp.test.ts index eef10598873..68c25439324 100644 --- a/tests/boundary/mcp/ghidraRequestCeilingMcp.test.ts +++ b/tests/boundary/mcp/ghidraRequestCeilingMcp.test.ts @@ -108,4 +108,4 @@ it("reports local Ghidra admission through SDK MCP without dispatching or losing for (const child of launcher.processes) expect(child.exitCode !== null || child.signalCode !== null).toBe(true); } -}, 30_000); +}); diff --git a/tests/boundary/mcp/ghidraRoutingMcp.test.ts b/tests/boundary/mcp/ghidraRoutingMcp.test.ts index 0b0160d1337..7edc1b68011 100644 --- a/tests/boundary/mcp/ghidraRoutingMcp.test.ts +++ b/tests/boundary/mcp/ghidraRoutingMcp.test.ts @@ -78,7 +78,7 @@ describe("Ghidra MCP capability routing", () => { } finally { await harness.close(); } - }, 30_000); + }); it("keeps a Ghidra null-pseudocode observation's limitations on its batch item", async () => { const bodyless = "0x401020"; @@ -136,5 +136,5 @@ describe("Ghidra MCP capability routing", () => { } finally { await harness.close(); } - }, 30_000); + }); }); diff --git a/tests/boundary/mcp/investigationEvidenceReferencesMcp.test.ts b/tests/boundary/mcp/investigationEvidenceReferencesMcp.test.ts index 427febcdf54..8a328e95d19 100644 --- a/tests/boundary/mcp/investigationEvidenceReferencesMcp.test.ts +++ b/tests/boundary/mcp/investigationEvidenceReferencesMcp.test.ts @@ -263,4 +263,4 @@ it("reports missing sources for a retained dossier with a large link set", async }, }, }); -}, 30_000); +}); diff --git a/tests/boundary/mcp/managedArtifactSummaryMcp.test.ts b/tests/boundary/mcp/managedArtifactSummaryMcp.test.ts index c55475d9feb..8ecd6137799 100644 --- a/tests/boundary/mcp/managedArtifactSummaryMcp.test.ts +++ b/tests/boundary/mcp/managedArtifactSummaryMcp.test.ts @@ -139,7 +139,7 @@ it("returns a first-call overview and pages the unchanged source after its file }); if (!portable.ok) throw portable.error; expect(portable.value.normalized_result).toEqual(view); -}, 30000); +}); it("keeps malformed metadata, empty returned rows and historical null subjects explicit", async () => { const directory = await createTestTempDirectory( @@ -215,7 +215,7 @@ it("keeps malformed metadata, empty returned rows and historical null subjects e ok: false, error: { _tag: "EvidenceIntegrityError" }, }); -}, 30000); +}); it("refuses selected delivery before file access when the server cannot retain Evidence", async () => { const directory = await createTestTempDirectory("rea-managed-fixed-view-"); @@ -258,4 +258,4 @@ it("refuses selected delivery before file access when the server cannot retain E complete.structuredContent, ).success, ).toBe(true); -}, 30000); +}); diff --git a/tests/boundary/mcp/managedMcp.test.ts b/tests/boundary/mcp/managedMcp.test.ts index ba370ca0451..fe661043428 100644 --- a/tests/boundary/mcp/managedMcp.test.ts +++ b/tests/boundary/mcp/managedMcp.test.ts @@ -193,7 +193,7 @@ it("runs every managed static inspection independently of an active native targe }, }); await assertFieldMemberRefToken(client, fieldTokenPath); -}, 30_000); +}); it("compares observed call-target names through the managed MCP contract", async () => { const directory = await createTestTempDirectory("rea-managed-call-target-"); @@ -308,7 +308,7 @@ it("opens a managed PE and executes the managed static provider through MCP", as rightPath, assertOutput, ); -}, 30_000); +}); const verifyManagedCatalogAndNativeWorkflow = async ( client: Client, diff --git a/tests/boundary/mcp/managedMemberSummaryMcp.test.ts b/tests/boundary/mcp/managedMemberSummaryMcp.test.ts index 204cb0da987..43092a482f5 100644 --- a/tests/boundary/mcp/managedMemberSummaryMcp.test.ts +++ b/tests/boundary/mcp/managedMemberSummaryMcp.test.ts @@ -304,7 +304,7 @@ it("summarizes selected members and pages every original collection after the fi }); if (!portable.ok) throw portable.error; expect(portable.value.normalized_result).toEqual(view); -}, 30000); +}); it("keeps collections that historical member Evidence never examined unknown", async () => { const directory = await createTestTempDirectory("rea-member-historical-"); @@ -360,7 +360,7 @@ it("keeps collections that historical member Evidence never examined unknown", a view: { kind: "managed", collection: "attributes", offset: 0, limit: 1 }, }), ).toMatchObject({ ok: false, error: { _tag: "AnalysisInputError" } }); -}, 30000); +}); it("binds managed member views to their recorded token scope", async () => { const original = MANAGED_RECONSTRUCTION_IMPORT_EXAMPLE.static_members; diff --git a/tests/boundary/mcp/mcpDoctor.test.ts b/tests/boundary/mcp/mcpDoctor.test.ts index 4d5b9140d37..c933074f37a 100644 --- a/tests/boundary/mcp/mcpDoctor.test.ts +++ b/tests/boundary/mcp/mcpDoctor.test.ts @@ -332,7 +332,6 @@ describe("production MCP doctor", () => { if (cliParity) await assertCliCatalogIdentity(selectedEnvironment, identity); }, - 30_000, ); }); @@ -384,7 +383,6 @@ describe("production MCP doctor family scopes", () => { await assertStatusCatalogIdentity(environment, identity); if (cliParity) await assertCliCatalogIdentity(environment, identity); }, - 30_000, ); it("discovers an empty prompt inventory and explains a scope without session", async () => { @@ -428,7 +426,7 @@ describe("production MCP doctor family scopes", () => { expect(result.diagnostics?.stderr).toEqual( expect.stringContaining("REA_MCP_TOOL_FAMILIES"), ); - }, 30_000); + }); }); describe("production MCP doctor output", () => { @@ -662,7 +660,7 @@ describe("production MCP doctor probe validation", () => { }); } } - }, 30_000); + }); }); describe("production MCP doctor child lifecycle", () => { diff --git a/tests/boundary/mcp/nativeDispatchBoundTarget.test.ts b/tests/boundary/mcp/nativeDispatchBoundTarget.test.ts index 519240269c6..163de3508bb 100644 --- a/tests/boundary/mcp/nativeDispatchBoundTarget.test.ts +++ b/tests/boundary/mcp/nativeDispatchBoundTarget.test.ts @@ -123,14 +123,13 @@ describe.skipIf(process.platform !== "darwin")( () => { it("reports missing, directory and symlink-loop replacements as artifact changes and recovers in the same session", async () => { await inspectReplacements(["missing", "directory", "loop"]); - }, 30_000); + }); it.skipIf(process.getuid?.() === 0)( "keeps permission denial distinct and recovers after restoring read access", async () => { await inspectReplacements(["unreadable"]); }, - 30_000, ); }, ); diff --git a/tests/boundary/mcp/nativeLoadImageViewsMcp.test.ts b/tests/boundary/mcp/nativeLoadImageViewsMcp.test.ts index 9f2b7336439..d52a2cb33e4 100644 --- a/tests/boundary/mcp/nativeLoadImageViewsMcp.test.ts +++ b/tests/boundary/mcp/nativeLoadImageViewsMcp.test.ts @@ -99,7 +99,7 @@ it("preserves raw and DOL verification facts and selected DOL sections through t limitations: expect.arrayContaining(report.limitations), }); } -}, 30_000); +}); it("delivers load-image summaries from the complete retained public-tool observation", async () => { const report = nativeRawLoadImageFixture(); diff --git a/tests/boundary/mcp/navigationAlternativesMcp.test.ts b/tests/boundary/mcp/navigationAlternativesMcp.test.ts index 1cdce4417f5..8d21ffb5d1f 100644 --- a/tests/boundary/mcp/navigationAlternativesMcp.test.ts +++ b/tests/boundary/mcp/navigationAlternativesMcp.test.ts @@ -132,7 +132,6 @@ describe("address navigation refusals", () => { await harness.close(); } }, - 30_000, ); }); @@ -204,7 +203,7 @@ describe("address navigation refusal alternatives", () => { } finally { await harness.close(); } - }, 30_000); + }); it("keep generic advice when the provider offers no declared alternative", async () => { const [target] = await createBinarySessionTargets(); diff --git a/tests/boundary/mcp/processResidualUnknownIdentityMcp.test.ts b/tests/boundary/mcp/processResidualUnknownIdentityMcp.test.ts index 48d9b847655..9d5cc50ed15 100644 --- a/tests/boundary/mcp/processResidualUnknownIdentityMcp.test.ts +++ b/tests/boundary/mcp/processResidualUnknownIdentityMcp.test.ts @@ -68,5 +68,4 @@ itWithCaptureCapability( await harness.close(); } }, - 30_000, ); diff --git a/tests/boundary/mcp/sessionMcp.test.ts b/tests/boundary/mcp/sessionMcp.test.ts index f8c342abcc8..76c180993ea 100644 --- a/tests/boundary/mcp/sessionMcp.test.ts +++ b/tests/boundary/mcp/sessionMcp.test.ts @@ -451,7 +451,7 @@ describe("target-free MCP lifecycle", () => { path: canonicalTargetPath, sha256: z.object({ sha256: z.string() }).parse(second).sha256, }); - }, 30_000); + }); }); describe("snapshot receipt after MCP cleanup", () => { diff --git a/tests/boundary/process/javascriptVerifierBoundedEvidence.test.ts b/tests/boundary/process/javascriptVerifierBoundedEvidence.test.ts index 1fe3fb7320a..6837842304f 100644 --- a/tests/boundary/process/javascriptVerifierBoundedEvidence.test.ts +++ b/tests/boundary/process/javascriptVerifierBoundedEvidence.test.ts @@ -100,7 +100,6 @@ process.on('exit', () => fs.writeSync(2, 'Evidence close attempts: ' + attempts ); } }, - 30_000, ); it("refuses oversized Evidence before a whole-file read", async () => { @@ -147,4 +146,4 @@ syncBuiltinESMExports(); `Runtime Evidence exceeds 64 MiB: ${evidence}`, ), }); -}, 30_000); +}); diff --git a/tests/boundary/process/nativeUiVerifierLane.test.ts b/tests/boundary/process/nativeUiVerifierLane.test.ts index 5ddf216c587..8cb9e82a000 100644 --- a/tests/boundary/process/nativeUiVerifierLane.test.ts +++ b/tests/boundary/process/nativeUiVerifierLane.test.ts @@ -176,7 +176,6 @@ const macosIt = it.skipIf(process.platform !== "darwin"); macosIt( "completes at the permission boundary when the helper refuses changed target bytes", - { timeout: 30_000 }, async () => { const result = await runVerifier(answersChangedBytes, [ "--allow-permission-denial", @@ -195,7 +194,6 @@ macosIt( macosIt( "fails when the helper does not refuse changed target bytes", - { timeout: 30_000 }, async () => { const result = await runVerifier(denied, ["--allow-permission-denial"]); expect(result.code).toBe(1); @@ -210,7 +208,6 @@ macosIt( macosIt( "keeps a permission denial a failure in the positive lane", - { timeout: 30_000 }, async () => { const result = await runVerifier(answersChangedBytes, []); expect(result.code).toBe(1); diff --git a/tests/boundary/process/nativeVerifierCommandOwnership.test.ts b/tests/boundary/process/nativeVerifierCommandOwnership.test.ts index fd1ffdc60b7..d670fa04928 100644 --- a/tests/boundary/process/nativeVerifierCommandOwnership.test.ts +++ b/tests/boundary/process/nativeVerifierCommandOwnership.test.ts @@ -231,5 +231,4 @@ it.skipIf(process.platform === "win32")( await removeTestWorkspace(workspace.root); } }, - 30_000, ); diff --git a/tests/boundary/process/nativeVerifierPreflightOwnership.test.ts b/tests/boundary/process/nativeVerifierPreflightOwnership.test.ts index 22785b59cee..da3a3c0fb33 100644 --- a/tests/boundary/process/nativeVerifierPreflightOwnership.test.ts +++ b/tests/boundary/process/nativeVerifierPreflightOwnership.test.ts @@ -268,5 +268,4 @@ it.skipIf(process.platform === "win32").each(clients)( await removeTestWorkspace(workspace.root); } }, - 30_000, ); diff --git a/tests/boundary/process/packageSetupTerminalOwnership.test.ts b/tests/boundary/process/packageSetupTerminalOwnership.test.ts index f04c2c4b2b5..d6b9bda990f 100644 --- a/tests/boundary/process/packageSetupTerminalOwnership.test.ts +++ b/tests/boundary/process/packageSetupTerminalOwnership.test.ts @@ -262,7 +262,6 @@ processTest .skipIf(process.platform === "win32") .each(["interactive", "redirected"] as const)( "preserves selected configuration and closes the real PTY for %s setup", - { timeout: 30_000 }, async (mode) => { const root = await createTestTempDirectory("rea-package-setup-success-"); const scratch = join(root, "scratch"); diff --git a/tests/boundary/process/packageVerifierCommandOwnership.test.ts b/tests/boundary/process/packageVerifierCommandOwnership.test.ts index c4a3a64296c..c0d5ab8d3d3 100644 --- a/tests/boundary/process/packageVerifierCommandOwnership.test.ts +++ b/tests/boundary/process/packageVerifierCommandOwnership.test.ts @@ -129,7 +129,6 @@ const releaseDescendant = async (release: string, receipt: string) => { // install, native engine, or WABT behavior is simulated or claimed. processTest.skipIf(process.platform === "win32")( "joins a timed-out npm entry and its acknowledged descendant before removing the verifier root", - { timeout: 30_000 }, async ({ processes }) => { const root = await createTestTempDirectory("rea-package-command-owner-"); const scratch = join(root, "scratch"); diff --git a/tests/boundary/process/processCaptureCancellationAdapters.test.ts b/tests/boundary/process/processCaptureCancellationAdapters.test.ts index 8cca53e8afb..d6283be2869 100644 --- a/tests/boundary/process/processCaptureCancellationAdapters.test.ts +++ b/tests/boundary/process/processCaptureCancellationAdapters.test.ts @@ -237,7 +237,6 @@ itWithCaptureCapability( } } }, - 30_000, ); itWithCaptureCapability( diff --git a/tests/boundary/process/processCaptureProgress.test.ts b/tests/boundary/process/processCaptureProgress.test.ts index ad41e7eb02b..7c8435ade09 100644 --- a/tests/boundary/process/processCaptureProgress.test.ts +++ b/tests/boundary/process/processCaptureProgress.test.ts @@ -298,7 +298,6 @@ itWithCaptureCapability( }, }); }, - 30_000, ); itWithCaptureCapability( @@ -348,7 +347,6 @@ itWithCaptureCapability( }, }); }, - 30_000, ); itWithCaptureCapability( @@ -388,7 +386,6 @@ itWithCaptureCapability( ).toBeGreaterThanOrEqual(10); expect(updates.at(-1)?.details.owned_process_group).toBe("cleaned"); }, - 30_000, ); itWithCaptureCapability( @@ -417,7 +414,6 @@ itWithCaptureCapability( }, }); }, - 30_000, ); itWithCaptureCapability( @@ -449,7 +445,6 @@ itWithCaptureCapability( }, }); }, - 30_000, ); itWithCaptureCapability( @@ -540,7 +535,6 @@ itWithCaptureCapability( code: 0, }); }, - 30_000, ); itWithCaptureCapability( @@ -641,5 +635,4 @@ itWithCaptureCapability( /setInterval|CHILD/u, ); }, - 30_000, ); diff --git a/tests/boundary/process/processDescendantPidAdapters.test.ts b/tests/boundary/process/processDescendantPidAdapters.test.ts index 8629e1d3ab1..372f742f053 100644 --- a/tests/boundary/process/processDescendantPidAdapters.test.ts +++ b/tests/boundary/process/processDescendantPidAdapters.test.ts @@ -163,5 +163,4 @@ itWithCaptureCapability.each([ }), ); }, - 30_000, ); diff --git a/tests/boundary/process/processSessionMcp.test.ts b/tests/boundary/process/processSessionMcp.test.ts index 8205469017b..9f30a937035 100644 --- a/tests/boundary/process/processSessionMcp.test.ts +++ b/tests/boundary/process/processSessionMcp.test.ts @@ -228,7 +228,6 @@ itWithCaptureCapability( temporary_root: "removed", }); }, - 30_000, ); itWithCaptureCapability( diff --git a/tests/boundary/providers/apktoolDecodeDeadline.test.ts b/tests/boundary/providers/apktoolDecodeDeadline.test.ts index 1390e47568c..f6b773ee03a 100644 --- a/tests/boundary/providers/apktoolDecodeDeadline.test.ts +++ b/tests/boundary/providers/apktoolDecodeDeadline.test.ts @@ -79,5 +79,4 @@ it.skipIf(process.platform === "win32")( await fixture.cleanup([pending, provider.close()]); } }, - 30_000, ); diff --git a/tests/boundary/providers/apktoolProcessFixture.test.ts b/tests/boundary/providers/apktoolProcessFixture.test.ts index 1855975496b..729a157a26b 100644 --- a/tests/boundary/providers/apktoolProcessFixture.test.ts +++ b/tests/boundary/providers/apktoolProcessFixture.test.ts @@ -60,5 +60,4 @@ it await fixture.cleanup([probe, commands.close()]); } }, - 30_000, ); diff --git a/tests/boundary/providers/ghidra/ghidraOomRetention.test.ts b/tests/boundary/providers/ghidra/ghidraOomRetention.test.ts index 45dc30453dc..e293e26c0bd 100644 --- a/tests/boundary/providers/ghidra/ghidraOomRetention.test.ts +++ b/tests/boundary/providers/ghidra/ghidraOomRetention.test.ts @@ -144,7 +144,7 @@ describe.skipIf(process.platform === "win32")( }, }, }); - }, 30_000); + }); it.each([ ["process exit", "flood_then_exit_tools"], @@ -167,7 +167,6 @@ describe.skipIf(process.platform === "win32")( diagnostics: { failure_output: { observed_oome: [] } }, }); }, - 30_000, ); it("does not mistake a budget-cut identifier prefix for an OOME", async () => { @@ -190,7 +189,7 @@ describe.skipIf(process.platform === "win32")( }, }, }); - }, 30_000); + }); it("keeps a startup timeout after budget-exhausting output", async () => { const projected = await failedOperation("flood_silent", { @@ -201,7 +200,7 @@ describe.skipIf(process.platform === "win32")( expect(projected.remediation.action).not.toContain( "GHIDRA_HEADLESS_MAXMEM", ); - }, 30_000); + }); }, ); diff --git a/tests/boundary/providers/hopper/hopperClientObservedExitPriority.test.ts b/tests/boundary/providers/hopper/hopperClientObservedExitPriority.test.ts index bffe579bfce..0a856f56610 100644 --- a/tests/boundary/providers/hopper/hopperClientObservedExitPriority.test.ts +++ b/tests/boundary/providers/hopper/hopperClientObservedExitPriority.test.ts @@ -91,12 +91,12 @@ describe("Hopper startup failure priority", () => { if (!(error instanceof HopperProcessError)) return; expect(error.exitCode).toBe(3); expect(error.stage).toBe("launch"); - }, 30_000); + }); it("reports the same launcher exit without any cancellation", async () => { const error = await start("never"); expect(error._tag).toBe("HopperProcessError"); - }, 30_000); + }); it("keeps cancellation first when its abort handler causes the later launcher exit", async () => { const controller = new AbortController(); @@ -117,5 +117,5 @@ describe("Hopper startup failure priority", () => { } finally { await client.close().catch(() => undefined); } - }, 30_000); + }); }); diff --git a/tests/conformance/package/conformanceFixtureVerifier.test.ts b/tests/conformance/package/conformanceFixtureVerifier.test.ts index 3c17c205060..554bb2604d9 100644 --- a/tests/conformance/package/conformanceFixtureVerifier.test.ts +++ b/tests/conformance/package/conformanceFixtureVerifier.test.ts @@ -136,41 +136,37 @@ it.each([ { schemaVersion: undefined, expectations: {} }, { schemaVersion: 1, expectations: {} }, { schemaVersion: 2, expectations: { strings: ["ambiguous"] } }, -])( - "refuses retired manifest semantics: %j", - async (legacy) => { - const { commands, root } = await ownedFixture( - "rea-fixture-manifest-version-", - ); - const manifest = join(root, "manifest.json"); - await writeFile( - manifest, - JSON.stringify({ - schemaVersion: legacy.schemaVersion, - platform: "linux", - fixtures: [{ expectations: legacy.expectations }], - }), - ); - await expect( - commands.exec(process.execPath, [verifier, manifest, root], { - cwd: root, - timeout: 10_000, - }), - ).rejects.toMatchObject({ - code: 1, - snapshot: { - stderr: { - text: expect.stringContaining( - legacy.schemaVersion === 2 - ? "Invalid conformance fixture string expectations" - : "Unsupported conformance manifest", - ), - }, +])("refuses retired manifest semantics: %j", async (legacy) => { + const { commands, root } = await ownedFixture( + "rea-fixture-manifest-version-", + ); + const manifest = join(root, "manifest.json"); + await writeFile( + manifest, + JSON.stringify({ + schemaVersion: legacy.schemaVersion, + platform: "linux", + fixtures: [{ expectations: legacy.expectations }], + }), + ); + await expect( + commands.exec(process.execPath, [verifier, manifest, root], { + cwd: root, + timeout: 10_000, + }), + ).rejects.toMatchObject({ + code: 1, + snapshot: { + stderr: { + text: expect.stringContaining( + legacy.schemaVersion === 2 + ? "Invalid conformance fixture string expectations" + : "Unsupported conformance manifest", + ), }, - }); - }, - 30_000, -); + }, + }); +}); it("preserves a carriage return that belongs to an nm symbol name", () => { expect(splitNmSymbolRecords("rea_entry\r\nrea_inventory_0000\n")).toEqual([