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

[ci] Fix Flight fixture #32070

Merged
merged 2 commits into from
Jan 14, 2025
Merged

[ci] Fix Flight fixture #32070

merged 2 commits into from
Jan 14, 2025

Conversation

eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Jan 14, 2025

Fixes https://github.com/facebook/react/actions/runs/12777123487/job/35617499327#step:10:95

Current version is not compatible with Ubuntu 24.04 (see microsoft/playwright#30368).

The version in the compiler playground is already compatible. We need at least 1.44 and there we have 1.47.

Closes #31834

Current version is not compatible with Ubuntu 24.04 which all our GH runners will switch soon to since we're using `ubuntu-latest`

The version in the compiler playground is already compatible. We need at least 1.44 and there we have 1.47.
We installed an old version of `react-server-dom-webpack` without a dependency on `webpack-sources`.
So Yarn decided to hoist v2 which is not compatible with the `webpack-sources` newever versions of `react-server-dom-webpack` uses.

Best fix would be to ditch `predev` in favor of `file:` or `link:` protocols.
`yarn install` in `predev` and `file:` protocols might be the safest option though slower. Will keep an eye out if we encounter these issues more often.
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Jan 14, 2025
Comment on lines -7949 to +7951
version "0.0.0-experimental-6ebfd5b0-20240818"
resolved "https://registry.yarnpkg.com/react-server-dom-webpack/-/react-server-dom-webpack-0.0.0-experimental-6ebfd5b0-20240818.tgz#56df6a7a406a033897f9bdd33b649e6e956adcef"
integrity sha512-kDPLVKaSKwDpuxGKxWS4w0VEY1O0IUJVksfA39H7nENjmFCuHybZ6rvi+hlXgJcwV3TvVeISLSmf27yvZWUriQ==
version "0.0.0-experimental-b3a95caf-20250113"
resolved "https://registry.yarnpkg.com/react-server-dom-webpack/-/react-server-dom-webpack-0.0.0-experimental-b3a95caf-20250113.tgz#a2175829be7395acc4d25e0befbd92b233a764c6"
integrity sha512-/6/IP8sP/I1CKIBsXvuF3mQEO0Vw/Nu85QyNliCx+K6WT7plTbjpFlEnbJKWoZdh/9uQkG17IZZiGlOgExmjbA==
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to regenerate this entry.

We installed an old version of react-server-dom-webpack without a dependency on webpack-sources.
So Yarn decided to hoist v2 which is not compatible with the webpack-sources newer versions of react-server-dom-webpack need.

Best fix would be to ditch predev in favor of file: or link: protocols.
yarn install in predev and file: protocols might be the safest option though slower. Will keep an eye out if we encounter these issues more often.

@eps1lon eps1lon merged commit f0edf41 into facebook:main Jan 14, 2025
187 of 188 checks passed
@eps1lon eps1lon changed the title Fix Flight fixture CI [ci] Fix Flight fixture Jan 14, 2025
github-actions bot pushed a commit that referenced this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants