Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix waitUntil usage in generateDynamicFlightRenderResult #70719

Closed
wants to merge 1 commit into from

Conversation

abhi12299
Copy link
Contributor

@lubieowoce This is meant as a fix for the issue you addressed in PR #70446
I pass the waitUntil argument to FlightRenderResult, which passes it down to RenderResult.
This falls in line with the usage of options.waitUntil in app-render.tsx.

@ijjk
Copy link
Member

ijjk commented Oct 2, 2024

Allow CI Workflow Run

  • approve CI run for commit: f16c54b

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@abhi12299 abhi12299 changed the title Fix waitUntil in generateDynamicFlightRenderResult Fix waitUntil usage in generateDynamicFlightRenderResult Oct 2, 2024
@abhi12299
Copy link
Contributor Author

abhi12299 commented Oct 2, 2024

Given that the PR #70686 is in the works, revalidateTag/revalidatePath will cause errors when invoked during the render context (such as in RSCs) and we no longer need this change. I will close this for now.

@abhi12299 abhi12299 closed this Oct 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants