Skip to content

fix(deploy): retire orphaned RoomDO namespace in hosted Wrangler exports #454

Description

@sota009

Problem

Deploying current main to the existing hosted agent-call.app Worker fails during Durable Object exports reconciliation:

[orphaned_provisioned_namespace] class 'RoomDO' has a provisioned Durable Object namespace but is neither in code nor in exports

PR #430 removed the Room code, binding, and live export, but the hosted account still has the previously provisioned RoomDO namespace. The repository's dry-run bundle and pnpm verify both pass because they cannot compare against live account state.

Fix

Keep a hosted-config deletion tombstone in apps/relay/wrangler.jsonc:

"RoomDO": { "type": "durable-object", "state": "deleted" }

The self-host example should remain unchanged because a new self-hosted account never provisioned RoomDO.

Acceptance

  • pnpm verify passes.
  • Hosted wrangler deploy --dry-run passes.
  • Real hosted deployment reconciles and retires the orphaned namespace.
  • agent-call.app/.well-known/agent-card.json remains healthy after deployment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions