Repository navigation
Conversation
0.5.2 adds a Nitro plugin (runtime/server/plugins/request-lifetime) that registers each Worker response with waitUntil. Nitro cached functions and Nuxt Content share one in-flight promise per key across requests in an isolate. When a visitor leaves, Cloudflare cancels that request, and the shared promise can never settle. Later requests then fail with "This promise was created by a request that has since ended". 0.5.2 raises its own floors to @nuxt/kit 4.6.4, nitropack 2.13.6, and unstorage 1.17.6. The lockfile already held each of those versions. Source: harlan-zw/harlan-nuxt#209
Contributor
🤖 READY · 78/100
Comment |
Contributor
There was a problem hiding this comment.
Harlan Agent Kit posted this automated review. AI open source policy.
Automated Review: READY.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Linked issue
Related to harlan-zw/harlan-nuxt#209
❓ Type of change
📚 Description
Nitro cached functions and Nuxt Content share one in-flight promise per key across requests in a Worker isolate. When a visitor leaves, Cloudflare cancels that request, and the shared promise can never settle. Later requests then fail with "This promise was created by a request that has since ended".
@harlan-zw/nuxt-cloudflare0.5.2 adds a Nitro plugin,runtime/server/plugins/request-lifetime, that registers each Worker response withwaitUntil. This bumps the catalog pin from 0.5.1 to 0.5.2.0.5.2 raises its own floors to
@nuxt/kit4.6.4,nitropack2.13.6, andunstorage1.17.6. The lockfile already held all three, so@harlan-zw/nuxt-cloudflareis the only new package version. pnpm also re-pointed a few shared transitive edges to versions already in the lockfile.