Skip to content

fix(scripts): make validate-commands work with zod 4 and node 24 - #980

Open
ugcodrr wants to merge 3 commits into
mainfrom
fix/validate-commands-zod
Open

ugcodrr wants to merge 3 commits into
mainfrom
fix/validate-commands-zod

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Description: validate-commands crashed on Node 24 and didn't work with zod 4.

Testing: start the bot once so it writes commands.json, then run pnpm scripts validate-commands. It passes.

Supersedes the validate-commands part of #922.

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
statsify Ignored Ignored Oct 22, 2026 12:25am UTC

Stopping at the first invalid command is how it worked before, and
reporting every invalid command isn't needed for the fix. Only the
Node 24 and zod 4 changes remain.
@ugcodrr ugcodrr reopened this Oct 22, 2026

This branch was previously deployed

1 inactive (outdated) deployment
Preview — 6ab166b7 Deployed Oct 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant