feat(FN-4839): harden real-git test timeouts across engine suites

Hardens test timeouts across 12 reliability and integration test files (branch-conflict recovery, merger diff/overlap guards, self-healing, worktree hydration, workflow/file-scope interactions), covering both real-git and mock-based test lanes with consistent timeout adjustments to reduce flakiness.

Fusion-Task-Id: FN-4839
This commit is contained in:
Fusion (runfusion.ai)
2026-05-16 22:31:01 -07:00
committed by gsxdsm
parent df998cb54f
commit 5cd0e66654
12 changed files with 51 additions and 26 deletions

View File

@@ -1,3 +1,5 @@
// Real-git/SQLite wallclock under parallel CI load; do not lower per-test timeouts
// without re-measuring under pnpm test:full. (FN-4839)
import { afterEach, describe, expect, it, vi } from "vitest";
import { chmodSync, existsSync, mkdirSync, readFileSync } from "node:fs";
import { mkdtempSync, rmSync } from "node:fs";
@@ -95,7 +97,7 @@ describe("hydrateWorktreeDb", () => {
const capped = await hydrateWorktreeDb({ rootDir: root, worktreePath: worktree, taskId: "FN-0", store: store as any, logger: { warn: vi.fn() } });
expect(cyc.degraded).toBe(false);
expect(capped.tasksCopied).toBeLessThanOrEqual(50);
});
}, 20_000);
it("handles schema drift by dropping missing destination columns", async () => {
const root = makeProject("h-drift-");