Skip to content

Fix Flight manifest chunk asset ordering - #38456

Open
senapati484 wants to merge 1 commit into
react:mainfrom
senapati484:fix/flight-manifest-asset-order
Open

senapati484 wants to merge 1 commit into
react:mainfrom
senapati484:fix/flight-manifest-asset-order

Conversation

@senapati484

Copy link
Copy Markdown

Summary

  • skip non-JavaScript assets while collecting Flight client manifest chunks
  • skip hot-update JavaScript files instead of aborting the entire chunk scan
  • add regression coverage for CSS and hot-update files preceding the runtime JavaScript file

Fixes #38453.

Testing

  • git diff --check ✅
  • Focused Jest test added: packages/react-server-dom-webpack/src/__tests__/ReactFlightWebpackPlugin-test.js
  • Could not execute Jest locally because dependency installation is blocked by corrupted Yarn cache artifacts, and npm cannot resolve the repository's Yarn link: workspace dependency. CI should run the focused test in the PR environment.

@meta-cla

meta-cla Bot commented Nov 29, 2026

Copy link
Copy Markdown

Hi @senapati484!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@github-actions

Copy link
Copy Markdown

A size report will appear here when the build finishes.

Generated by sizebot against da2b7ef

@meta-cla

meta-cla Bot commented Nov 29, 2026

Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@meta-cla meta-cla Bot added the CLA Signed label Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[react-server-dom-webpack] Flight client manifest lists empty chunks when a non-JavaScript asset appears first in a chunk

1 participant