chore(open-next): avoid the use of DurableObjects by using queueCache with memoryQueue instead#8878
Conversation
…e` with `memoryQueue` instead
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8878 +/- ##
==========================================
+ Coverage 73.18% 73.23% +0.04%
==========================================
Files 102 102
Lines 8623 8623
Branches 314 313 -1
==========================================
+ Hits 6311 6315 +4
+ Misses 2311 2307 -4
Partials 1 1 ☔ View full report in Codecov by Sentry. |
vicb
left a comment
There was a problem hiding this comment.
LGTM (I can not approve here it seems).
Do we need to add a delete migration for former DOs?
Thanks 🙂
I think a delete migration is used when a class is deleted but the durable object binding is still used. |
+1 |
Description
The use of DurableObjects breaks the open-next skew protection, so in order to make sure skew protection works this PR updates the queue to use
queueCachewithmemoryQueueinstead of durable objectsValidation
Site built and deployed to my personal account: https://8bf0874a-nodejs-website-1.dario-test.workers.dev
Related Issues
Check List
pnpm formatto ensure the code follows the style guide.pnpm testto check if all tests are passing.pnpm buildto check if the website builds without errors.