Which Cloudflare product(s) does this pertain to?
Vite Plugin
What versions & operating system are you using?
wrangler:4.12.0, @cloudflare/vite-plugin:1.0.8
Please provide a link to a minimal reproduction
https://github.com/woodybriggs/lucky-term-181e
Describe the Bug
Secrets store is unable to find bound secret when using @cloudflare/vite-plugin in development.
I have dug around, and as far as i can get is that the miniflare instance that holds the secret_store does not have a bound store
packages/miniflare/src/workers/secrets-store/secret.worker.ts line:14
this.env.store is an empty KvNamespace; In that the response of this.env.store.list() returns an empty list using vite dev but with wrangler dev it returns the correct list of secrets.
This seems like it could be a miniflare configuration issue that is caused by the vite-plugin.
Please provide any relevant error logs
No response
Which Cloudflare product(s) does this pertain to?
Vite Plugin
What versions & operating system are you using?
wrangler:4.12.0, @cloudflare/vite-plugin:1.0.8
Please provide a link to a minimal reproduction
https://github.com/woodybriggs/lucky-term-181e
Describe the Bug
Secrets store is unable to find bound secret when using @cloudflare/vite-plugin in development.
I have dug around, and as far as i can get is that the miniflare instance that holds the secret_store does not have a bound store
packages/miniflare/src/workers/secrets-store/secret.worker.ts line:14this.env.storeis an empty KvNamespace; In that the response of this.env.store.list() returns an empty list using vite dev but with wrangler dev it returns the correct list of secrets.This seems like it could be a miniflare configuration issue that is caused by the vite-plugin.
Please provide any relevant error logs
No response