From 9d0ca5f641547b49fb05625aa9ead0115b8bda97 Mon Sep 17 00:00:00 2001 From: Chris Tate Date: Mon, 26 Oct 2026 20:50:23 -0500 Subject: [PATCH] Give the native layout and metadata emission test 600 seconds The sanitized run of "native LLVM layout and metadata emission (llvm)" takes 170 to 300 seconds in its CI shard beside the shard's other tests, against the suite's 300-second test timeout. On a quiet 8-vCPU machine it takes 130 to 160 seconds. --- tests/harness/self-hosting-emission.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/harness/self-hosting-emission.test.ts b/tests/harness/self-hosting-emission.test.ts index 3977ede29..e6364b855 100644 --- a/tests/harness/self-hosting-emission.test.ts +++ b/tests/harness/self-hosting-emission.test.ts @@ -59,7 +59,9 @@ test("the production layout and metadata stage lowers statically", async () => { }); for (const backend of ["llvm"] as const) { - test(`native LLVM layout and metadata emission (${backend})`, async () => { + // The sanitized dev build of the stage takes 170 to 300 s of CI time beside + // its shard's other tests. + test(`native LLVM layout and metadata emission (${backend})`, { timeout: 600_000 }, async () => { const dir = mkdtempSync( join(process.platform === "win32" ? tmpdir() : "/tmp", "scriptc-native-emission-"), );