Uint8Array no longer crashes wrangler dev Workflows
@cloudflare/workflows-shared@0.11.1
Patch Changes
-
#14134
262dfc2Thanks @matingathani! - Fixwrangler devWorkflows crashing withSQLITE_TOOBIGwhen a step returns a largeUint8ArrayJSON.stringifyencodes each byte of aUint8Arrayas a separate numeric key ({"0":1,"1":2,...}), producing a string ~10× larger than the array's byte length. A 200 KBUint8Arraybecame a ~2 MB JSON string that exceeded SQLite's blob limit, crashing the Workflow step. The same bytes returned as anArrayBuffersucceeded becauseJSON.stringify(ArrayBuffer)→{}.The step log metadata (used by the local Workflows explorer) now stores a human-readable description for
TypedArrayandArrayBufferoutputs ([Uint8Array(200000 bytes)]) instead of attempting to JSON-serialise the raw bytes. The actual step value is unaffected — it is preserved in Durable Object key-value storage via structured clone for replay by subsequent steps.
Fetched June 1, 2026


