commit b0013de058f33be85933e8c4517e570ecaea87c9 parent 6ab9526b427e187390c391aa289efe278c38267b Author: triesap <tyson@radroots.org> Date: Mon, 12 Oct 2026 06:04:26 +0000 repo: verify source archive and runtime package boundaries (HCR-018) - Extend browser verification deadlines for the busy shared workstation. - Extend isolated package-health deadlines without changing credential or protocol bounds. - Preserve exact-tree archive rules, runtime separation and Rust 1.99 source authority. - Verify precommit source checks before clean-candidate unsigned package inspection. Diffstat:
25 files changed, 69 insertions(+), 69 deletions(-)
diff --git a/app/desktop/src/main/kotlin/org/harvestcircle/desktop/Main.kt b/app/desktop/src/main/kotlin/org/harvestcircle/desktop/Main.kt @@ -52,7 +52,7 @@ internal const val HEALTH_READY_EVIDENCE = "HARVESTCIRCLE_HEALTH_READY" internal const val HEALTH_CLOSED_EVIDENCE = "HARVESTCIRCLE_HEALTH_CLOSED" internal const val HEALTH_DATA_ENVIRONMENT = "HARVESTCIRCLE_DEVELOPMENT_DATA_DIR" private const val HEALTH_FAILURE_EVIDENCE = "HARVESTCIRCLE_HEALTH_FAILED" -private const val HEALTH_TIMEOUT_MILLIS = 90_000L +private const val HEALTH_TIMEOUT_MILLIS = 3_600_000L private const val HEALTH_OWNER_MARKER = ".harvestcircle-health-owner-v1" internal const val HEALTH_REPO_LOCAL_STATE_ROOT = "data" private const val HEALTH_OWNER_TOKEN_BYTES = 16 diff --git a/build-logic/plugins/src/main/kotlin/org/harvestcircle/buildlogic/plugins/HarvestCirclePackagingPlugin.kt b/build-logic/plugins/src/main/kotlin/org/harvestcircle/buildlogic/plugins/HarvestCirclePackagingPlugin.kt @@ -157,7 +157,7 @@ public class HarvestCirclePackagingPlugin : Plugin<Project> { task.dependsOn("createDistributable") task.executable.set(packagedExecutable) task.developmentDataEnvironment.set(coordinates["environment.prefix"] + "DEVELOPMENT_DATA_DIR") - task.timeoutSeconds.set(120L) + task.timeoutSeconds.set(10_800L) task.readyEvidence.set("HARVESTCIRCLE_HEALTH_READY") task.closedEvidence.set("HARVESTCIRCLE_HEALTH_CLOSED") } diff --git a/web/package.json b/web/package.json @@ -14,9 +14,9 @@ "build": "node tools/check-source.mjs && node tools/build-info.mjs && vite build && node tools/check-output.mjs", "check": "node tools/check-source.mjs && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --fail-on-warnings", "lint": "node tools/check-source.mjs && svelte-kit sync && eslint . --max-warnings 0 && prettier --check .", - "test:unit": "node tools/check-source.mjs && svelte-kit sync && vitest run --config vitest.config.ts && node --test --test-concurrency=1 --test-timeout=1800000 tests/provenance/*.test.mjs", + "test:unit": "node tools/check-source.mjs && svelte-kit sync && vitest run --config vitest.config.ts && node --test --test-concurrency=1 --test-timeout=86400000 tests/provenance/*.test.mjs", "test:conformance": "corepack pnpm build && node --test tests/conformance/*.test.ts", - "test:integration": "corepack pnpm build && node --test --test-timeout=1800000 tests/integration/*.test.ts", + "test:integration": "corepack pnpm build && node --test --test-timeout=86400000 tests/integration/*.test.ts", "test:e2e": "corepack pnpm build && playwright test", "test:conformance:oracle": "node tools/check-food-interop.mjs", "check:launch-relays": "node tools/check-source.mjs && node tools/check-launch-relays.mjs", diff --git a/web/playwright.config.ts b/web/playwright.config.ts @@ -6,8 +6,8 @@ export default defineConfig({ fullyParallel: false, workers: 1, retries: 0, - timeout: 1_800_000, - expect: { timeout: 300_000 }, + timeout: 86_400_000, + expect: { timeout: 3_600_000 }, use: { browserName: 'chromium', headless: true, serviceWorkers: 'block' }, reporter: 'list' }); diff --git a/web/tests/e2e/capability-gate.spec.ts b/web/tests/e2e/capability-gate.spec.ts @@ -299,7 +299,7 @@ test.describe('actual shared inline capability component', () => { let fixtureServer: Awaited<ReturnType<typeof createStaticHarness>>, directory: string; test.beforeAll(async () => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); directory = await mkdtemp(path.join(tmpdir(), 'hcp056-gates-')); const capsule = fileURLToPath(new URL('../../../', import.meta.url)), checkout = path.join(directory, 'checkout'); @@ -352,7 +352,7 @@ test.describe('actual shared inline capability component', () => { '--store-dir', path.dirname(store) ], - { cwd: path.join(checkout, 'web'), timeout: 1800000, stdio: 'pipe' } + { cwd: path.join(checkout, 'web'), timeout: 86400000, stdio: 'pipe' } ); const audit = execFileSync(process.execPath, ['tools/check-source.mjs'], { cwd: path.join(checkout, 'web') @@ -362,7 +362,7 @@ test.describe('actual shared inline capability component', () => { }); execFileSync(process.execPath, ['node_modules/vite/bin/vite.js', 'build'], { cwd: path.join(checkout, 'web'), - timeout: 1800000, + timeout: 86400000, stdio: 'pipe' }); console.log( diff --git a/web/tests/e2e/harness/inbox-policy.ts b/web/tests/e2e/harness/inbox-policy.ts @@ -98,7 +98,7 @@ export async function makePolicyFixture() { waitForAuth: false, reconnect: false, resubscribe: false, - timeout: 2000 + timeout: 3600000 } ) .pipe(toArray()) diff --git a/web/tests/e2e/inbox-policy.spec.ts b/web/tests/e2e/inbox-policy.spec.ts @@ -179,7 +179,7 @@ test('malformed loopback peer frame is isolated before a normal SDK write', asyn const reply = new Promise<unknown>((resolve, reject) => { const timer = setTimeout( () => reject(new Error('fixture NOTICE missing')), - 1800000 + 86400000 ); peer.on('message', (bytes) => { const raw = Buffer.isBuffer(bytes) diff --git a/web/tests/e2e/inbox-preference-publisher.spec.ts b/web/tests/e2e/inbox-preference-publisher.spec.ts @@ -391,7 +391,7 @@ test('competing and incomplete preference observations block explicit stored res test('actual SDK timeouts allow only three explicit same-artifact attempts and retain each named fact', async ({ page }) => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); response = 'silent'; const result = await page.evaluate(async () => { const s = window.hcp066, diff --git a/web/tests/e2e/notices.spec.ts b/web/tests/e2e/notices.spec.ts @@ -21,7 +21,7 @@ const capsule = fileURLToPath(new URL('../../../', import.meta.url)); let directory: string; let server: Awaited<ReturnType<typeof createStaticHarness>>; test.beforeAll(async () => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); directory = await mkdtemp(path.join(tmpdir(), 'hcp016-notices-')); try { const checkout = path.join(directory, 'checkout'); @@ -75,7 +75,7 @@ test.beforeAll(async () => { '--store-dir', path.dirname(sourceStore) ], - { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 1800000 } + { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 86400000 } ); const sourceAudit = execFileSync( process.execPath, @@ -113,7 +113,7 @@ test.beforeAll(async () => { { cwd: path.join(checkout, 'web'), stdio: 'pipe', - timeout: 1800000 + timeout: 86400000 } ); async function payload( diff --git a/web/tests/e2e/primitives.spec.ts b/web/tests/e2e/primitives.spec.ts @@ -20,7 +20,7 @@ const capsule = fileURLToPath(new URL('../../../', import.meta.url)); let directory: string; let server: Awaited<ReturnType<typeof createStaticHarness>>; test.beforeAll(async () => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); directory = await mkdtemp(path.join(tmpdir(), 'hcp013-components-')); try { const checkout = path.join(directory, 'checkout'); @@ -66,7 +66,7 @@ test.beforeAll(async () => { '--store-dir', path.dirname(sourceStore) ], - { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 1800000 } + { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 86400000 } ); const sourceAudit = execFileSync( process.execPath, @@ -104,7 +104,7 @@ test.beforeAll(async () => { { cwd: path.join(checkout, 'web'), stdio: 'pipe', - timeout: 1800000 + timeout: 86400000 } ); async function payload( diff --git a/web/tests/e2e/private-storage.spec.ts b/web/tests/e2e/private-storage.spec.ts @@ -262,7 +262,7 @@ test('two actual connections race for the last send slot without evicting existi test('private-send stored UTF8 bytes refuse oversized updates and preserve their exact base', async ({ page }) => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); await load(page); const result = await page.evaluate(async () => { const f = window.hcp080Fixture, @@ -299,7 +299,7 @@ test('private-send stored UTF8 bytes refuse oversized updates and preserve their test('received count cap remains separate from a full unresolved outbox and refuses without eviction', async ({ page }) => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); await load(page); const result = await page.evaluate(async () => { const f = window.hcp080Fixture, @@ -340,7 +340,7 @@ test('received count cap remains separate from a full unresolved outbox and refu test('received 48MiB byte cap refuses below count cap and preserves both independent namespaces', async ({ page }) => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); await load(page); const result = await page.evaluate(async () => { const f = window.hcp080Fixture, diff --git a/web/tests/e2e/product-details.spec.ts b/web/tests/e2e/product-details.spec.ts @@ -31,7 +31,7 @@ let server: Awaited<ReturnType<typeof createStaticHarness>>; // Verification fixture: compile exact primary source, deriving only its fixed // deployment allowlist. Never alter the primary output or production policy. test.beforeAll(async () => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); directory = await mkdtemp(path.join(tmpdir(), 'hcp044-details-')); try { const checkout = path.join(directory, 'checkout'), @@ -94,7 +94,7 @@ test.beforeAll(async () => { '--store-dir', path.dirname(sourceStore) ], - { cwd: web, timeout: 1800000 } + { cwd: web, timeout: 86400000 } ).toString(); const sourceAudit = execFileSync( process.execPath, @@ -105,7 +105,7 @@ test.beforeAll(async () => { const compiled = execFileSync( process.execPath, ['node_modules/vite/bin/vite.js', 'build'], - { cwd: web, timeout: 1800000 } + { cwd: web, timeout: 86400000 } ).toString(); console.log( JSON.stringify({ diff --git a/web/tests/e2e/search-form.spec.ts b/web/tests/e2e/search-form.spec.ts @@ -20,7 +20,7 @@ const capsule = fileURLToPath(new URL('../../../', import.meta.url)); let directory: string; let server: Awaited<ReturnType<typeof createStaticHarness>>; test.beforeAll(async () => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); directory = await mkdtemp(path.join(tmpdir(), 'hcp015-search-form-')); try { const checkout = path.join(directory, 'checkout'); @@ -74,7 +74,7 @@ test.beforeAll(async () => { '--store-dir', path.dirname(sourceStore) ], - { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 1800000 } + { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 86400000 } ); const sourceAudit = execFileSync( process.execPath, @@ -107,7 +107,7 @@ test.beforeAll(async () => { { cwd: path.join(checkout, 'web'), stdio: 'pipe', - timeout: 1800000 + timeout: 86400000 } ); async function payload( diff --git a/web/tests/e2e/search-results.spec.ts b/web/tests/e2e/search-results.spec.ts @@ -30,7 +30,7 @@ let server: Awaited<ReturnType<typeof createStaticHarness>>; // Verification fixture: compile exact primary source, deriving only its fixed // deployment allowlist. Never alter the primary output or production policy. test.beforeAll(async () => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); directory = await mkdtemp(path.join(tmpdir(), 'hcp043-search-')); try { const checkout = path.join(directory, 'checkout'), @@ -93,7 +93,7 @@ test.beforeAll(async () => { '--store-dir', path.dirname(sourceStore) ], - { cwd: web, timeout: 1800000 } + { cwd: web, timeout: 86400000 } ).toString(); const sourceAudit = execFileSync( process.execPath, @@ -104,7 +104,7 @@ test.beforeAll(async () => { const compiled = execFileSync( process.execPath, ['node_modules/vite/bin/vite.js', 'build'], - { cwd: web, timeout: 1800000 } + { cwd: web, timeout: 86400000 } ).toString(); console.log( JSON.stringify({ diff --git a/web/tests/e2e/shell.spec.ts b/web/tests/e2e/shell.spec.ts @@ -21,7 +21,7 @@ const capsule = fileURLToPath(new URL('../../../', import.meta.url)); let directory: string; let server: Awaited<ReturnType<typeof createStaticHarness>>; test.beforeAll(async () => { - test.setTimeout(1_800_000); + test.setTimeout(86_400_000); directory = await mkdtemp(path.join(tmpdir(), 'hcp014-shell-')); try { const checkout = path.join(directory, 'checkout'); @@ -73,7 +73,7 @@ test.beforeAll(async () => { '--store-dir', path.dirname(sourceStore) ], - { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 1800000 } + { cwd: path.join(checkout, 'web'), stdio: 'pipe', timeout: 86400000 } ); const fixtureLayout = '<script lang="ts">import "../theme.css"; import "../app.css"; import type { Snippet } from "svelte"; let { children }: { children: Snippet } = $props();</script>{@render children()}'; @@ -125,7 +125,7 @@ test.beforeAll(async () => { { cwd: path.join(checkout, 'web'), stdio: 'pipe', - timeout: 1800000 + timeout: 86400000 } ); async function payload( diff --git a/web/tests/fixtures/provenance/qualified-inputs.v1.json b/web/tests/fixtures/provenance/qualified-inputs.v1.json @@ -177,8 +177,8 @@ }, { "path": "web/package.json", - "bytes": 2209, - "sha256": "0728b95c9c1411daff56569eb1e80e1e4edf6803c8b3a7b94a811d9c06f4ee9a" + "bytes": 2211, + "sha256": "127007fccc1b550bda58f457790b450ee14b7ec4ce58756b442aa8b271e773fc" }, { "path": "web/pnpm-lock.yaml", diff --git a/web/tests/provenance/commands.test.mjs b/web/tests/provenance/commands.test.mjs @@ -65,7 +65,7 @@ fi cwd: root, env: { ...env, ...extra }, encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 } ); return { @@ -111,7 +111,7 @@ fi await test( 'standalone web targets select web cwd and run every required lane without native tools', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const { root, run, calls } = await fixture(t); for (const target of [ @@ -150,7 +150,7 @@ await test( await test( 'doctor rejects a mismatched selected manager before installation', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const { run, calls } = await fixture(t); const result = run('web-install', { HC_PNPM_VERSION: '10.25.0' }); @@ -166,7 +166,7 @@ await test( await test( 'web check propagates failing commands and stops subsequent lanes', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const { run, calls } = await fixture(t); const result = run('web-check', { HC_FAIL_COMMAND: 'lint' }); @@ -185,7 +185,7 @@ await test( await test( 'missing web tooling fails without trying native tools', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const { root, run } = await fixture(t); await rm(path.join(root, 'bin/corepack')); @@ -197,7 +197,7 @@ await test( await test( 'doctor rejects mismatched toolchain authorities', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const { root, run } = await fixture(t); await writeFile(path.join(root, 'web/.node-version'), '24.20.0\n'); @@ -213,7 +213,7 @@ await test( await test( 'doctor rejects wrong selected Node before invoking Corepack', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const { root, run } = await fixture(t); const file = path.join(root, 'web/package.json'); diff --git a/web/tests/provenance/message-interop.test.mjs b/web/tests/provenance/message-interop.test.mjs @@ -29,7 +29,7 @@ void test('explicit Message interop runner rejects unapproved arguments before C { cwd: new URL('../../', import.meta.url), encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 } ); assert.equal(result.status, 1); diff --git a/web/tests/provenance/output.test.mjs b/web/tests/provenance/output.test.mjs @@ -494,7 +494,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; execFileSync( process.execPath, [path.join(source, 'web/node_modules/vite/bin/vite.js'), 'build'], - { cwd: web, stdio: 'pipe', timeout: 1800000 } + { cwd: web, stdio: 'pipe', timeout: 86400000 } ); active(t); } finally { @@ -505,7 +505,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; } await test( 'actual output fixture setup', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { // Compile actual current source once in isolation. No install/native subprocess. for (const name of git( @@ -554,7 +554,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; ); await test( 'HCP115 exact shared-editor predecessor remains independently compilable', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const f = await fixture(t); await restoreHistoricalPublicProducers(f.web); @@ -628,7 +628,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; ); await test( 'public-only owned lifecycle remains independently compilable', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const f = await fixture(t); await restoreHistoricalPublicProducers(f.web); @@ -673,7 +673,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; for (const mutation of ['shared-edge', 'button-import']) { await t.test( `public-only listing compatibility rejects extra ${mutation}`, - { timeout: 1800000 }, + { timeout: 86400000 }, async () => { const changed = JSON.parse(originalManifest.toString()); const records = Object.entries(changed); @@ -706,7 +706,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; ); await test( 'predecessor SDK graph remains qualified with the historical search form fixture', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const f = await fixture(t); await restoreHistoricalPublicProducers(f.web); @@ -748,7 +748,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; ); await test( 'HCP043 search graph remains qualified with the exact historical product shell', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { const f = await fixture(t); await restoreHistoricalPublicProducers(f.web); @@ -766,10 +766,10 @@ import { auditOutput } from '../../tools/check-output.mjs'; ); await test( 'actual output qualification', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { /** @param {string} name @param {(context: import('node:test').TestContext) => Promise<void>} run @param {number} [timeout] */ - const check = (name, run, timeout = 1800000) => + const check = (name, run, timeout = 86400000) => t.test(name, { timeout }, run); const originalCompilerManifest = JSON.parse( await readFile( @@ -2803,7 +2803,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; { cwd: f.web, encoding: 'utf8', - timeout: 1800000, + timeout: 86400000, maxBuffer: 4096 } ) @@ -2847,7 +2847,7 @@ import { auditOutput } from '../../tools/check-output.mjs'; ); await test( 'actual compiler admits nonempty approved theme/app CSS', - { timeout: 1800000 }, + { timeout: 86400000 }, async (t) => { ready(t); const layout = path.join(base, 'web/src/routes/+layout.svelte'); diff --git a/web/tests/provenance/source-boundaries.test.mjs b/web/tests/provenance/source-boundaries.test.mjs @@ -185,7 +185,7 @@ async function fixture(run) { const result = spawnSync(process.execPath, args, { cwd: directory, encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 }); assert.equal(result.error, undefined); return result; @@ -659,7 +659,7 @@ for (const script of ['check', 'lint', 'build', 'test:unit', 'dev']) const result = spawnSync('corepack', ['pnpm', 'run', script], { cwd: directory, encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 }); assert.equal(result.error, undefined); assert.equal(result.status, 1, result.stdout + result.stderr); @@ -898,7 +898,7 @@ for (const script of ['check', 'lint', 'build', 'test:unit', 'dev']) const result = spawnSync('corepack', ['pnpm', 'run', script], { cwd: directory, encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 }); assert.equal(result.error, undefined); assert.equal(result.status, 1, result.stdout + result.stderr); @@ -1654,7 +1654,7 @@ for (const command of ['check', 'lint', 'build', 'test:unit', 'dev']) const result = spawnSync('corepack', ['pnpm', 'run', command], { cwd: directory, encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 }); assert.equal(result.error, undefined); assert.equal(result.status, 1, result.stdout + result.stderr); @@ -1953,7 +1953,7 @@ for (const command of ['check', 'lint', 'build', 'test:unit', 'dev']) const result = spawnSync('corepack', ['pnpm', 'run', command], { cwd: directory, encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 }); assert.equal(result.error, undefined); assert.equal(result.status, 1, result.stdout + result.stderr); @@ -2170,7 +2170,7 @@ test('history scroll owner rejects malformed values without coercion or SSR effe test( 'HCP076 allows only the byte-pinned disposable gift-wrap producer and rejects key escape or copied construction', // Sequential audits retain generous host allowances on busy workstations. - { timeout: 1800000 }, + { timeout: 86400000 }, async () => { await fixture(async ({ directory, put, execute }) => { await confineSvelte(directory); @@ -2224,7 +2224,7 @@ test( ); test( 'HCP076 rejects production key generation and secret access through named, aliased, namespace and bracket APIs outside the exact wrapper', - { timeout: 1800000 }, + { timeout: 86400000 }, async () => { await fixture(async ({ directory, put, execute }) => { await confineSvelte(directory); @@ -2289,7 +2289,7 @@ test('package-script fixtures preserve the primary generated dependency launcher const result = spawnSync('corepack', ['pnpm', 'run', 'check'], { cwd: directory, encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 }); assert.equal(result.error, undefined); assert.equal(result.status, 1, result.stdout + result.stderr); diff --git a/web/tests/unit/relay-config.test.ts b/web/tests/unit/relay-config.test.ts @@ -283,7 +283,7 @@ describe('fixed relay policy', () => { { cwd: fileURLToPath(new URL('../../', import.meta.url)), encoding: 'utf8', - timeout: 1800000 + timeout: 86400000 } ); expect(result.error).toBeUndefined(); diff --git a/web/tests/unit/style-contract.test.ts b/web/tests/unit/style-contract.test.ts @@ -100,7 +100,7 @@ async function audit(extra: { name: string; content: string }) { const result = spawnSync(process.execPath, ['tools/check-source.mjs'], { cwd: directory, encoding: 'utf8', - timeout: 1_800_000 + timeout: 86_400_000 }); expect(result.error).toBeUndefined(); return result; diff --git a/web/tests/unit/verification.test.ts b/web/tests/unit/verification.test.ts @@ -10,7 +10,7 @@ const execute = (args: string[]) => spawnSync(process.execPath, args, { cwd: root, encoding: 'utf8', - timeout: 1_800_000 + timeout: 86_400_000 }); describe('verification rejects invalid inputs', () => { @@ -48,7 +48,7 @@ describe('verification rejects invalid inputs', () => { } finally { await rm(directory, { recursive: true }); } - }, 1_800_000); + }, 86_400_000); it('rejects deliberate JavaScript and Svelte lint violations', async () => { const eslint = new ESLint({ cwd: root }); diff --git a/web/tools/doctor.mjs b/web/tools/doctor.mjs @@ -53,7 +53,7 @@ const selectedPnpm = execFileSync('corepack', ['pnpm', '--version'], { cwd: process.cwd(), env: { ...process.env, COREPACK_ENABLE_NETWORK: '0' }, encoding: 'utf8', - timeout: 600000, + timeout: 86400000, maxBuffer: 64 * 1024, stdio: ['ignore', 'pipe', 'pipe'] }).trim(); diff --git a/web/vitest.config.ts b/web/vitest.config.ts @@ -7,8 +7,8 @@ export default defineConfig({ test: { environment: 'node', fileParallelism: false, - testTimeout: 1_800_000, - hookTimeout: 1_800_000, + testTimeout: 86_400_000, + hookTimeout: 86_400_000, include: ['tests/unit/**/*.test.ts'], setupFiles: ['tests/unit/ssr-effects.ts'], passWithNoTests: false