Repository navigation
Conversation
Signed-off-by: Eshan05 <nahareshan05@gmail.com>
🦋 Changeset detectedLatest commit: 73d2758 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Hi @Eshan05. Thanks for taking the time to contribute to Workers SDK. This PR has been automatically closed because you are not currently a registered (vouched) collaborator for this repository. AI tools now let our team generate proposed code changes quickly. Reviewing changes, checking that they solve the right problem, and maintaining code quality over time still take substantial care and effort. We therefore limit PRs to registered collaborators so we can focus that effort where it is most useful. For the majority of external contributors, the most effective way to help is through issues: describing a problem or use case, providing a minimal reproduction, investigating its cause, or helping us verify a fix. Those contributions help us understand what needs to change and are very welcome. We will take an initial look at this PR and decide whether it is something we want to invest time in reviewing and maintaining. We may reopen it if we decide to proceed, but we cannot guarantee that it will be reopened or receive a full review. |
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
Fixes #16324
The plugin caches each Worker's export types in module-level state so that Vite restarts can reuse them. Nothing cleared that cache on
server.close(), so a dev server created later in the same process built its Worker entry from the previous server's exports. That entry left out Durable Object classes the previous Worker didn't export, and workerd failed to start withClass extends value undefined is not a constructor or null.disposeMiniflare()now clears the export types too. It runs only when the server closes, not during a restart, so restarts still reuse them.