Skip to content

chore(miniflare): Add KV ArrayBuffer & stream tests#13561

Draft
NuroDev wants to merge 2 commits intomainfrom
NuroDev/local-explorer-kv-tests
Draft

chore(miniflare): Add KV ArrayBuffer & stream tests#13561
NuroDev wants to merge 2 commits intomainfrom
NuroDev/local-explorer-kv-tests

Conversation

@NuroDev
Copy link
Copy Markdown
Member

@NuroDev NuroDev commented Apr 16, 2026

Fixes N/A.

Summary

  • Adds KV & local explorer tests for ArrayBuffer
  • Adds KV & local explorer tests for streams

  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: Internal tooling changes

A picture of a cute animal (not mandatory, but encouraged)

@NuroDev NuroDev self-assigned this Apr 16, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 16, 2026

⚠️ No Changeset found

Latest commit: f1d084d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Apr 16, 2026
@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Apr 16, 2026

Good — Uint8Array.from() creates a new typed array with a tightly-sized ArrayBuffer, so bytes.buffer is safe to use here (no offset/length mismatch issues).

The tests are well-structured, follow existing patterns in the file, use correct APIs, and cover meaningful new scenarios (binary ArrayBuffer and stream round-trips). No logic issues, no security concerns, no backward compatibility problems.

LGTM

github run

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 16, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@13561

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@13561

miniflare

npm i https://pkg.pr.new/miniflare@13561

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@13561

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@13561

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@13561

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@13561

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@13561

wrangler

npm i https://pkg.pr.new/wrangler@13561

commit: f1d084d

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

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

2 participants