Skip to content

fix: Tighten up SimpleCache resource and error handling - #1587

Draft
TartanLlama wants to merge 1 commit into
mainfrom
sy/close-body-simple-cache
Draft

TartanLlama wants to merge 1 commit into
mainfrom
sy/close-body-simple-cache

Conversation

@TartanLlama

Copy link
Copy Markdown
Contributor

In getOrSet:

  • Propagate more errors from hostcalls rather than generically failing
  • Don't close cache transaction handles if insert_and_stream_back succeeded
  • Close the body handle for the inserted cache entry in the case of a ReadableStream body

@TartanLlama
TartanLlama marked this pull request as draft September 14, 2026 14:21
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