Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Do you plan to implement a workload IAM

Do you plan to implement a workload IAM solution where we can restrict the level of access to specific D1/R2 resources we provide to a function?

Are we going to be able to deploy

Are we going to be able to deploy FastMCP projects with Python Workers?

can send emails be used now?

can send emails be used now?

wen vite plugin for sveltekit ๐Ÿ™‚

wen vite plugin for sveltekit ๐Ÿ™‚

?link your account if you're still

?link your account if you're still seeing please @xetic

Release wrangler@4.28.0 ยท cloudflare/wor...

I have recently updated wrangler in my codebase from old 4.16.0 to 4.37.0 and now I am facing an annoying issue with my debug level logs fully disappeared and I genuinely think introducing it was a bad idea I have a custom logger in my Hono application which uses env to decide the log level Seems like after https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.28.0 you have to specify --log-level in wrangler dev command to get debug logs...

All of a sudden on my machine `npx

All of a sudden on my machine npx wrangler dev fails to handle any requests. When I enable debug logs I see a constant stream of exceptions: ``` workerd/io/worker.c++:2103: info: uncaught exception; source = Uncaught (in promise); stack = Error: Network connection lost....

Is this the correct way of defining a

Is this the correct way of defining a constant in build time?
No description

how can I disable wrangler's automatic

how can I disable wrangler's automatic log-to-disk feature? it's using 20GB, that's absolutely unacceptable

I have one project that is flapping

I have one project that is flapping every time I run wrangler deploy. Attempt 1 it says there's an issue with permissions, I run it again without any change, and it works. Next attempt can be blocked again. It feels to me something like cf bot detection false positives. Could that be the case? How can I possibly troubleshoot this?

Are you the team working on the Vite

Are you the team working on the Vite plugin? I've been enjoying that for local dev and may have found an edge case when running Astro with other Vite plugins.

Is there an option to configure preview

Is there an option to configure preview URL's for each branch of the repo? I can see that when a PR is created, it auto creates a preview URL only then

Any plans for CLI access to Workers/DO

Any plans for CLI access to Workers/DO analytics?

yes, our team also manages our opennext

yes, our team also manages our opennext integration, what's the question/issue? ๐Ÿ™‚

They have different use cases.

They have different use cases. Environments are more for when you want to have isolated deployments with different bindings etc. (e.g. staging and production). What is it you want to achieve?

Hi everyone. New to wrangler. Having

Hi everyone. New to wrangler. Having trouble getting setup for local dev in a monorepo. Currently have a sveltekit app that uses cloudflare-adapter. Also have a separate app as a queue consumer. Currently, because the sveltekit app doesnโ€™t use wrangler dev, Iโ€™m having trouble accessing local bindings. Reaching out to see if anyone has a recommendation. I have both setup with persist to a local folder, correct environments.

Not sure if anyone has reported this,

Not sure if anyone has reported this, but when I run wrangler types to get my worker-configuration.d.ts, it contains 2 definitions for interface Cloudflare.Env with the second one being blank. This is causing my typescript to not see any of the properites in my Env.

it does but i just set it up in wrangler

it does but i just set it up in wrangler.jsonc, and then update cloudflare type to update the env from get cloudflare context

wrangler d1 command debugging

tried with and without a wrangler.toml

if Im using my own bundler config do I

if Im using my own bundler config do I need to pass in the --no-bundle flag? Right now I am just running my own build and then setting the "main" property in wrangler.jsonc to my bundled output at dist/index.js. So to clarify: if I set the entrypoint to my custom bundler's output, do I still need to pass in --no-bundle flag?