Skip to content

Drop unused small ID Zod statics#26908

Merged
kitlangton merged 3 commits into
devfrom
cleanup/drop-small-id-zod-statics
May 11, 2026
Merged

Drop unused small ID Zod statics#26908
kitlangton merged 3 commits into
devfrom
cleanup/drop-small-id-zod-statics

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

@kitlangton kitlangton commented May 11, 2026

Summary

  • Remove unused derived .zod statics from small ID schemas: PtyID, QuestionID, PermissionID, ProjectID, and EventID.
  • Replace the remaining test-only ProjectID.zod.parse(...) usage with ProjectID.make(...).

Testing

  • bun typecheck from packages/opencode
  • bun test --timeout 5000 test/session/schema-decoding.test.ts
  • bunx prettier --check <changed files>
  • bunx oxlint <changed files> (existing warnings only, no errors)

Stack

  1. Clean up post-Hono references #26903
  2. Simplify single-backend HttpApi exerciser #26906
  3. Drop unused small ID Zod statics #26908 👈 current

@kitlangton kitlangton force-pushed the cleanup/httpapi-exercise-single-backend branch from c124ec7 to 5fd50fb Compare May 11, 2026 17:21
@kitlangton kitlangton force-pushed the cleanup/drop-small-id-zod-statics branch from d0afe8e to 0424586 Compare May 11, 2026 17:21
Base automatically changed from cleanup/httpapi-exercise-single-backend to dev May 11, 2026 17:22
@kitlangton kitlangton merged commit 8d9b971 into dev May 11, 2026
4 checks passed
@kitlangton kitlangton deleted the cleanup/drop-small-id-zod-statics branch May 11, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant