[PPF] Fix hanging HTML response after a `'use cache'` error (#100673)
When a failing `'use cache'` function is also read by `generateMetadata`, error recovery could leave a tracked cache read pending. With Partial Prefetching enabled, this prevented the embedded runtime prefetch stream and HTML response from finishing. The tracked stream now ends its cache read exactly once on completion, error, or cancellation. Fixes #100666
Showing
Please
register
or
sign in
to comment