Channels
workers-help
pages-help
general-help
durable-objects
workers-discussions
pages-discussions
wrangler
coding-help
kv
🦀rust-on-workers
miniflare
stream
general-discussions
functions
zaraz
⚡instant-logs
email-routing
r2
pubsub-beta
analytics-engine
d1-database
queues-beta
workers-for-platforms
workerd
web3
🤖turnstile
radar
web-research
logs-engine
cloudflare-go
terraform-provider-cloudflare
workers-ai
browser-rendering-api
analytics
next-on-pages
cloudflare-ai
build-caching-beta
hyperdrive
vectorize-beta
ai-gateway-beta
HTTP Header size limit
@MrBBot I'm trying to use a WASM binary
esbuild
to bundle each worker so I can watch for changes and run 17 workers from a single process. The trouble is esbuild
is getting to the './foo.wasm'
import first, which is resulting in the CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder
(I think that's because the WASM plugin is shoving it into a namespace rather than allowing Miniflare t...Thanks Adam! I got to try it out this
Applying D1 migrations in tests
Gave this a go here, https://github.com/
ProtocolError: Protocol error (Browser.getVersion): Target closed.
😦 I don't have any more time to keep hacking on this today, but I'll leave it here if you wanted to take a look. Let me know if you get anywhere with it! 🙂Help setting up tests for Durable
does anyone know why the jest
global
so that I now have to use globalThis
? starting in version 3 I thinkUnable to get local issuer certificate
workerd/jsg/util.c++:276: error: e = kj/compat/tls.c++:215: failed: TLS peer's certificate is not trusted; reason = unable to get local issuer certificate
it only appears when I use service bindings like this:
```
serviceBindings[bindingName] = req => {...MrBBot Any idea what s going on here
Those API options should enable
workerd
's logging. Wrangler actually uses the DevTools inspector protocol for logging instead.Hey there I found a behavior difference
env.R2_BUCKET.put(key, request.body)
you will get an error like "Provided readable stream must have a known length (request/response body or readable half of FixedLengthStream)".
1. It's working when deployed on Cloudflare workers
2. It's a request.body...Any idea for when there will be
Cache deserialization error
CacheError [ERR_DESERIALIZATION]: Unable to deserialize stored cached data due to missing metadata.
The cached data storage format changed in Miniflare 2. You cannot load cached data created with Miniflare 1 and must delete it.
CacheError [ERR_DESERIALIZATION]: Unable to deserialize stored cached data due to missing metadata.
The cached data storage format changed in Miniflare 2. You cannot load cached data created with Miniflare 1 and must delete it.
Is wrangler3 miniflare3 planning to add
I was gonna use miniflare jest to test
🔌 Multiple Workers · Miniflare
`describe('bluegreen routing', () => { const mf = new Miniflare({ envPath: true,...
Continuing into my testing for workers
import { BetaDatabase } from "@miniflare/d1";
fails with the error Module '"@miniflare/d1"' has no exported member 'BetaDatabase'
- anyone seen this before?MrBBot 4470 I m writing tests `vitest
vitest-environment-miniflare
) for a worker that binds another worker. The other worker has a DO, and I've bound that DO to the original worker as well. I want to seed an instance of the DO for tests, but I'm running into trouble because constructing that DO requires the other worker's env
(to fetch another bound worker). Is there a way to get the other env
, or a different pattern I should be using to seed the DO?I m trying to test some worker code
jest.config.js
to test D1 use?