mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #979] [MERGED] fix: unstable_io() returns hanging promise during prerendering #1000
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#1000
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/979
Author: @Divkix
Created: 4/30/2026
Status: ✅ Merged
Merged: 5/1/2026
Merged by: @james-elicx
Base:
main← Head:fix/972-unstable-io-prerender-hang📝 Commits (7)
ea50693fix: unstable_io() returns hanging promise during prerendering (#972)f415e57fix: add knip entries for prerender-work-unit and work-unit types (#972)035a54ffix(prerender): address PR review feedback for unstable_io work unit store7963603fix(app-rsc-entry): place route option in correct location0617b21fix: address prerender hanging promise review feedback01b5c18fix: resolve merge conflicts with main for prerender work unitfeab64bfix: resolve merge conflicts with main for test files📊 Changes
9 files changed (+1239 additions, -2941 deletions)
View changed files
📝
knip.ts(+6 -0)📝
packages/vinext/src/entries/app-rsc-entry.ts(+98 -399)➕
packages/vinext/src/server/prerender-work-unit-setup.ts(+34 -0)📝
packages/vinext/src/shims/cache.ts(+48 -5)➕
packages/vinext/src/shims/internal/make-hanging-promise.ts(+64 -0)📝
packages/vinext/src/shims/internal/work-unit-async-storage.ts(+46 -4)📝
tests/__snapshots__/entry-templates.test.ts.snap(+504 -2388)📝
tests/app-router.test.ts(+317 -145)📝
tests/shims.test.ts(+122 -0)📄 Description
Fixes #972
Summary
What changed
Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.