Skip to content

refactor: remove remaining Zod usage after valibot migration #1371

Description

@jared-outpost

Follow-up to #1370 / #1367.

Remaining Zod usage that was intentionally left behind:

  • @sentry/api/zod coupling in src/types/sentry.ts, src/types/feedback.ts, src/lib/api/replays.ts
  • Central response validator in src/lib/api/infrastructure.ts (uses ZodError.issues for telemetry)
  • Zod internals introspection in src/lib/formatters/output.ts (_def.typeName)

These require either upstream valibot schemas, an interop layer, or repo-wide telemetry changes.

Once addressed, we can drop the zod dependency entirely.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

jaredTrigger the Jared agent to work on stuffrisk: highPR risk score: high

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions