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

Add regression test for #30172 #30198

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

unstubbable
Copy link
Contributor

@unstubbable unstubbable commented Jul 3, 2024

The issue reported in #30172 was fixed with #29823. The PR also added the test should resolve deduped objects that are themselves blocked, which tests a similar scenario. However, the existing test would have also succeeded before applying the changes from #29823. Therefore, I believe it makes sense to add an additional test should resolve deduped objects in nested children of blocked models, which does not succeed without #29823, to prevent regressions.

The issue reported in facebook#30172 was fixed with facebook#29823. This PR also added
the test [`should resolve deduped objects that are themselves
blocked`](https://github.com/facebook/react/blob/6d2a97a7113dfac2ad45067001b7e49a98718324/packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMBrowser-test.js#L348-L393),
which tests a similar scenario. However, this test would have also
succeeded before applying the changes from facebook#29823. Therefore, I believe
it makes sense to add this additional test, which does not succeed
without facebook#29823, to prevent regressions.
Copy link

vercel bot commented Jul 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 8:55am
@react-sizebot
Copy link

Comparing: 3db98c9...985e4a6

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 497.99 kB 497.99 kB = 89.27 kB 89.27 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 502.81 kB 502.81 kB = 89.97 kB 89.97 kB
facebook-www/ReactDOM-prod.classic.js = 597.08 kB 597.08 kB = 105.33 kB 105.33 kB
facebook-www/ReactDOM-prod.modern.js = 571.42 kB 571.42 kB = 101.27 kB 101.27 kB
test_utils/ReactAllWarnings.js Deleted 62.88 kB 0.00 kB Deleted 15.69 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
test_utils/ReactAllWarnings.js Deleted 62.88 kB 0.00 kB Deleted 15.69 kB 0.00 kB

Generated by 🚫 dangerJS against 985e4a6

@eps1lon eps1lon mentioned this pull request Jul 3, 2024
@eps1lon eps1lon requested a review from sebmarkbage July 3, 2024 09:09
@sebmarkbage sebmarkbage merged commit 9c68069 into facebook:main Jul 3, 2024
139 checks passed
@unstubbable unstubbable deleted the regression-test-30172 branch July 3, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants