Skip to content

refactor(storage): remove not found wire serializer#27416

Merged
kitlangton merged 1 commit into
devfrom
err/storage-notfound-wire
May 14, 2026
Merged

refactor(storage): remove not found wire serializer#27416
kitlangton merged 1 commit into
devfrom
err/storage-notfound-wire

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

  • Remove legacy { name, data } serialization from Storage.NotFoundError.
  • Keep storage not-found as a domain tagged error; HTTP not-found wire shape remains handled by ApiNotFoundError at route boundaries.

Verification

  • bun test --timeout 30000 test/storage/storage.test.ts
  • bun test --timeout 30000 test/server/httpapi-schema-error-body.test.ts
  • bun typecheck
  • bunx prettier --check src/storage/storage.ts
  • bunx oxlint packages/opencode/src/storage/storage.ts (0 errors; existing warnings only)
  • git diff --check

@kitlangton kitlangton merged commit 681594b into dev May 14, 2026
12 checks passed
@kitlangton kitlangton deleted the err/storage-notfound-wire branch May 14, 2026 01:39
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
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