You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using unstable_dev in tests, I've run into an issue where it is persisting states across test runs.
I have been able to resolve it by patching wrangler locally to always disable persisting, but the problem originates here. startDevServer only accepts localPersistencePath as a prop, but getLocalPersistencePath function only checks persistTo, not persist here:
Hello @its-jman 👋 Sorry for the delay on getting back to you about this issue. This looks to be a result of removing the --persist flag in v3. We'll take a look into the best way to handle this moving forward.
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.3.0
What version of Node are you using?
No response
What operating system are you using?
Mac
Describe the Bug
When using unstable_dev in tests, I've run into an issue where it is persisting states across test runs.
I have been able to resolve it by patching wrangler locally to always disable persisting, but the problem originates here. startDevServer only accepts localPersistencePath as a prop, but getLocalPersistencePath function only checks persistTo, not persist here:
This is the code to replicate
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: