Skip to content

Conversation

@threepointone
Copy link
Collaborator

  • getServerByName now propagates errors from the internal set-name request instead of silently swallowing them.
  • onStart failures no longer permanently brick the Durable Object. Errors are caught inside blockConcurrencyWhile (preserving the input gate) and the status is reset, allowing subsequent requests to retry initialization.
  • fetch() now retries initialization when a previous onStart attempt failed, instead of skipping it because the name was already set.
  • Errors in fetch() (including onStart failures and malformed props) are now caught and returned as proper 500 responses instead of crashing as unhandled exceptions.
  • WebSocket handlers (webSocketMessage, webSocketClose, webSocketError) are now wrapped in try/catch so that transient onStart failures don't kill the connection — the next message will retry.

- `getServerByName` now propagates errors from the internal `set-name` request instead of silently swallowing them.
- `onStart` failures no longer permanently brick the Durable Object. Errors are caught inside `blockConcurrencyWhile` (preserving the input gate) and the status is reset, allowing subsequent requests to retry initialization.
- `fetch()` now retries initialization when a previous `onStart` attempt failed, instead of skipping it because the name was already set.
- Errors in `fetch()` (including `onStart` failures and malformed props) are now caught and returned as proper 500 responses instead of crashing as unhandled exceptions.
- WebSocket handlers (`webSocketMessage`, `webSocketClose`, `webSocketError`) are now wrapped in try/catch so that transient `onStart` failures don't kill the connection — the next message will retry.
@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2026

🦋 Changeset detected

Latest commit: 8fe851c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
partyserver Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@threepointone threepointone merged commit 353da20 into main Feb 9, 2026
4 of 5 checks passed
@threepointone threepointone deleted the fix-set-name branch February 9, 2026 11:20
@github-actions github-actions bot mentioned this pull request Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant