mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-05 08:13:06 +08:00
Give the zod3-infer npm case the long per-case timeout
A sanitized build of zod3-infer compiles zod 3's types module, as zod3's does, and takes about as long as the default 120 s on a CI runner.
This commit is contained in:
@@ -112,10 +112,15 @@ const KNOWN: Record<string, Known> = {
|
||||
const cases = shardSelect(npmCases(fixturesRoot), (c) => c.name);
|
||||
|
||||
/** Per-case timeouts past the default 120 s: the undici cases compile the
|
||||
* built-in undici implementation's module graph, and zod3 compiles zod 3's
|
||||
* 3,700-line types module. A sanitized build of either takes minutes on a
|
||||
* CI runner. */
|
||||
const TIMEOUTS: Record<string, number> = { undici5: 600_000, undici7: 600_000, zod3: 600_000 };
|
||||
* built-in undici implementation's module graph, and zod3 and zod3-infer
|
||||
* compile zod 3's 3,700-line types module. A sanitized build of either
|
||||
* takes minutes on a CI runner. */
|
||||
const TIMEOUTS: Record<string, number> = {
|
||||
undici5: 600_000,
|
||||
undici7: 600_000,
|
||||
zod3: 600_000,
|
||||
"zod3-infer": 600_000,
|
||||
};
|
||||
|
||||
interface RunResult {
|
||||
stdout: Buffer;
|
||||
|
||||
Reference in New Issue
Block a user