Skip to content

Commit af70c87

Browse files
authored
fix(graphql): add deleted_classes:[UserDetails] migration (#387)
#384 removed the UserDetails Durable Object from every server but only added the delete-class migration to the two servers that own the class (workers-observability, workers-builds). graphql's deployed worker still depends on UserDetails, so `wrangler deploy` rejected the new version with code 10064 and aborted the staging and production deploys; it also blocked workers-observability from applying its own deleted_classes migration (code 10061). Adding the delete-class migration lets graphql deploy and releases the binding. Validated on staging: graphql + observability deploy cleanly and the staging UserDetails namespace is removed.
1 parent 5a53e80 commit af70c87

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'graphql-mcp-server': patch
3+
---
4+
5+
Add a `deleted_classes: ["UserDetails"]` Durable Object migration to the graphql server.
6+
7+
\#384 removed the `UserDetails` Durable Object (and its bindings) from every server, and added the
8+
required delete-class migration to the two servers that *own* the class (`workers-observability`,
9+
`workers-builds`). The graphql worker's already-deployed version still depends on `UserDetails`, so
10+
`wrangler deploy` rejected the new version with `code: 10064` ("New version of script does not export
11+
class 'UserDetails' which is depended on by existing Durable Objects"), which aborted the staging and
12+
production deploys. Adding the delete-class migration lets graphql deploy and releases the binding that
13+
was blocking `workers-observability` from applying its own `deleted_classes` migration (`code: 10061`).
14+
15+
Validated on staging: graphql + observability deploy cleanly and the staging `UserDetails` namespace is
16+
removed.

apps/graphql/wrangler.jsonc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
{
1313
"new_sqlite_classes": ["GraphQLMCP"],
1414
"tag": "v1"
15+
},
16+
{
17+
"deleted_classes": ["UserDetails"],
18+
"tag": "v2"
1519
}
1620
],
1721
"observability": {

0 commit comments

Comments
 (0)