Skip to content

Switch CLI from Zod to Valibot #1367

Description

@sentry-junior

Switch the Sentry CLI runtime validation from Zod to Valibot to reduce startup overhead.

  • CLI currently uses Zod for config, OAuth, API response validation, and related types
  • Valibot chosen over ArkType for lower startup cost; ArkType is a better fit for long-running processes
  • Related context on Zod memory overhead: https://x.com/bentlegen/status/2084750022063579522

Requested by Burak Yigit Kaya.

--

View Junior Session [Sentry]

Metadata

Metadata

Assignees

Labels

jaredTrigger the Jared agent to work on stuff

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions