CD
Cloudflare Developersnikhil | helius.dev

Hey guys, seeing this error when adding

Hey guys, seeing this error when adding a new durable object for the first time: Cannot apply new-class migration to class AtlasWebsocket that is already depended on by existing Durable Objects [code: 10074] I am adding this for the first time and I don't see it in use at all in console. This is what I have in the migration
[env.dev.placement]
mode = "smart"

[[migrations]]
tag = "v1"
new_classes = ["AtlasWebsocket"]

[env.dev.durable_objects]
bindings = [
{ name = "ATLAS_WEBSOCKET", class_name = "AtlasWebsocket" },
]

[env.dev.vars]
ENVIRONMENT = "dev"
[env.dev.placement]
mode = "smart"

[[migrations]]
tag = "v1"
new_classes = ["AtlasWebsocket"]

[env.dev.durable_objects]
bindings = [
{ name = "ATLAS_WEBSOCKET", class_name = "AtlasWebsocket" },
]

[env.dev.vars]
ENVIRONMENT = "dev"
Am I doing something wrong? How do I troubleshoot this?
M
milan•19d ago
Hey 👋 , mind walking me through what happened here exactly? FWIW, it looks like your DO does exist internally, and I see it received requests in the last few days (the 23rd) Also make sure to @ me so I get a notification, or feel free to DM