Skip to content

Pullfrog [zfkvi]

Pullfrog [zfkvi] #127

Manually triggered February 11, 2026 14:20
Status Success
Total duration 3m 0s
Artifacts

pullfrog.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

4 errors
pullfrog
output: fatal: bad revision 'main...fix/treeify-error-nested-union-paths'
pullfrog
bash command failed with exit code 1: cd /home/runner/work/zod/zod && git diff main...fix/treeify-error-nested-union-paths -- packages/zod/src/v4/core/errors.ts | grep -A3 -B3 "processError"
pullfrog
output: node:internal/modules/cjs/loader:1207 const err = new Error(message); ^ Error: Cannot find module './packages/zod/src/index.ts' Require stack: - /tmp/test_format_error.ts at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15) at nextResolveSimple (/home/runner/work/zod/zod/node_modules/.pnpm/tsx@4.19.3/node_modules/tsx/dist/register-DCnOAxY2.cjs:3:942) at /home/runner/work/zod/zod/node_modules/.pnpm/tsx@4.19.3/node_modules/tsx/dist/register-DCnOAxY2.cjs:2:2550 at /home/runner/work/zod/zod/node_modules/.pnpm/tsx@4.19.3/node_modules/tsx/dist/register-DCnOAxY2.cjs:2:1624 at resolveTsPaths (/home/runner/work/zod/zod/node_modules/.pnpm/tsx@4.19.3/node_modules/tsx/dist/register-DCnOAxY2.cjs:3:760) at /home/runner/work/zod/zod/node_modules/.pnpm/tsx@4.19.3/node_modules/tsx/dist/register-DCnOAxY2.cjs:3:1038 at m._resolveFilename (file:///home/runner/work/zod/zod/node_modules/.pnpm/tsx@4.19.3/node_modules/tsx/dist/register-RyGUjI6j.mjs:1:789) at Module._load (node:internal/modules/cjs/loader:1038:27) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) { code: 'MODULE_NOT_FOUND', requireStack: [ '/tmp/test_format_error.ts' ] } Node.js v20.20.0
pullfrog
bash command failed with exit code 1: cd /home/runner/work/zod/zod && cat > /tmp/test_format_error.ts << 'EOF' import * as z from './packages/zod/src/index.ts'; // Test formatError with nested union const innerUnion = z.union([ z.object({ type: z.literal("a"), value: z.string() }), z.object({ type: z.literal("b"), value: z.number() }), ]); const schema = z.string().or( z.object({ settings: z.object({ name: z.string() }).and(innerUnion), }), ); const result = schema.safeParse({ settings: { name: 123, type: "x", value: true }, }); if (!result.success) { console.log("Raw issues:"); console.log(JSON.stringify(result.error.issues, null, 2)); console.log("\nformatError result:"); const formatted = z.formatError(result.error); console.log(JSON.stringify(formatted, null, 2)); console.log("\ntreeifyError result:"); const tree = z.treeifyError(result.error); console.log(JSON.stringify(tree, null, 2)); } EOF npx tsx /tmp/test_format_error.ts