Skip to content

fix(deps): bump zod to 4.6.6 to resolve Dependabot alerts - #8844

Open
AviPeltz wants to merge 1 commit into
mainfrom
fix/dependabot-2026-10-24
Open

AviPeltz wants to merge 1 commit into
mainfrom
fix/dependabot-2026-10-24

Conversation

@AviPeltz

@AviPeltz AviPeltz commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Bumps zod 4.6.5 → 4.6.6 in every workspace manifest that pins it (8 apps, 13 packages). Lockfile refreshed.

Alerts resolved, all high: "Zod can exhaust memory while validating oversized constrained collections" (< 4.6.6):

This also replaces #8825 (packages/mcp) and #8824 (packages/sandbox). They bump one directory each, so Sherif's multiple-dependency-versions check fails on both. The zod pin can only move in all workspaces at once.

@agentclientprotocol/claude-agent-acp pins zod 4.6.5 exactly, so the lockfile keeps one nested 4.6.5 copy for it. A manifest bump here cannot change that; it needs an upstream release.

Not in this PR (already covered by open PRs):

Test plan

  • bun install (Bun 1.4.3, the repo's packageManager); Sherif postinstall clean, native modules rebuilt
  • bun run lint:fix (clean, no fixes)
  • bun run lint (clean)
  • bun run typecheck (root, all workspaces)
  • CI

Summary by CodeRabbit

  • Chores
    • Updated the data-validation library to version 4.6.6 across the product suite. No user-facing feature or behavior changes are noted in this update.

Bumps zod 4.6.5 -> 4.6.6 in all 21 workspace manifests and refreshes
bun.lock. Resolves Dependabot alerts #423-#443 (high): zod can exhaust
memory while validating oversized constrained collections.

All manifests move together because Sherif's multiple-dependency-versions
check fails on a partial bump. This replaces #8824 and #8825.
@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d573c376-4d88-45c7-a29f-74d693aba539
Commits

Reviewing files that changed from the base of the PR and between 0fd3fda and 47b6ffe.

Files ignored due to path filters: 1
  • bun.lock is excluded by !**/*.lock
Files selected for processing: 21
  • apps/api/package.json
  • apps/desktop/package.json
  • apps/docs/package.json
  • apps/gate/package.json
  • apps/marketing/package.json
  • apps/mobile/package.json
  • apps/usercontent/package.json
  • apps/web/package.json
  • packages/auth/package.json
  • packages/chat-runtime/package.json
  • packages/chat/package.json
  • packages/cli/package.json
  • packages/db/package.json
  • packages/email/package.json
  • packages/host-service/package.json
  • packages/local-db/package.json
  • packages/mcp/package.json
  • packages/sandbox/package.json
  • packages/shared/package.json
  • packages/trpc/package.json
  • packages/ui/package.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The Zod dependency version changes from 4.6.5 to 4.6.6 in package manifests for eight apps and thirteen packages.

Changes: Zod dependency update

Layer / File(s) Summary
Align Zod versions
apps/*/package.json, packages/*/package.json
The Zod dependency version changes from 4.6.5 to 4.6.6 across the listed app and package manifests.

Priority: Normal

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Bug fix

Suggested reviewers: saddlepaddle

Merge Risk: Minimal · up to 47b6f

No actionable merge-blocking risk was identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the main change: zod is bumped from 4.6.5 to 4.6.6 across the workspace manifests to resolve Dependabot alerts. It follows conventional commit format and is specific. It does not menti…
Description check Passed The description covers the required template sections. The 'What & why' content is present: it states the zod bump from 4.6.5 to 4.6.6 across 8 apps and 13 packages, lists the Dependabot alerts resolv…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: zod is bumped from 4.6.5 to 4.6.6 across the workspace manifests to resolve Dependabot alerts. It follows conventional commit format and is specific. It does not mention the lockfile refresh, but that detail is expected to be omitted.

Full details: Description check

Explanation

The description covers the required template sections. The 'What & why' content is present: it states the zod bump from 4.6.5 to 4.6.6 across 8 apps and 13 packages, lists the Dependabot alerts resolved, and gives the reasons for the coordinated bump. It also replaces PRs #8824 and #8825. The 'How I tested it' section is present with a concrete test plan (bun install, lint, lint:fix, typecheck). The checklist from the template is absent. The description also does not include a screenshot section, which is not needed for a dependency bump with no user-visible change. It does not link an issue in the template form, but it does reference Dependabot alerts. The missing checklist and the unchecked CI item are minor gaps.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (21 skipped: 21 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The PR appears safe to merge; no actionable issues were found.

Summary

Updates zod from 4.6.5 to 4.6.6 across 8 apps and 13 packages, with matching changes in bun.lock.

  • Apps and packages now use Zod 4.6.6 for validation.

Reviews (1) · Last reviewed commit: "fix(deps): bump zod to 4.6.6 to resolve ..." · Reviewed by Greptile

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

🔗 Preview Links

Service Status Link
Neon Database (Neon) ✅ View Branch
Vercel API (Vercel) ✅ Open Preview
Vercel Web (Vercel) ✅ Open Preview
Vercel Marketing (Vercel) ✅ Open Preview
Vercel Docs (Vercel) ✅ Open Preview

Preview updates automatically with new commits

@expo

expo Bot commented Oct 24, 2026

Copy link
Copy Markdown

Preview update published for development build db42788c (fingerprint e28b4b490ccc). Open the build on your phone and scan:

Update group 6c250f2e

This branch was previously deployed

1 inactive deployment
preview — 47b6ffe0 Deployed Oct 24, 2026 by AviPeltz via Deploy Docs #12686
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant