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

[Flight] properly track pendingChunks when changing environment names #30958

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

gnoff
Copy link
Collaborator

@gnoff gnoff commented Sep 13, 2024

When the environment name changes for a chunk we issue a new debug chunk which updates the environment name. This chunk was not beign included in the pendingChunks count so the count was off when flushing

When the environment name changes for a chunk we issue a new debug chunk which updates the environment name. This chunk was not beign included in the pendingChunks count so the count was off when flushing
Copy link

vercel bot commented Sep 13, 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 Sep 13, 2024 5:51pm

@react-sizebot
Copy link

Comparing: 94e4aca...d02fdf0

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 +0.05% 1.82 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 508.72 kB 508.72 kB = 90.98 kB 90.98 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB +0.11% 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 513.65 kB 513.65 kB = 91.70 kB 91.70 kB
facebook-www/ReactDOM-prod.classic.js = 602.81 kB 602.81 kB = 106.63 kB 106.63 kB
facebook-www/ReactDOM-prod.modern.js = 579.08 kB 579.08 kB = 102.76 kB 102.76 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 9401f31

@gnoff gnoff merged commit 6774caa into facebook:main Sep 13, 2024
184 checks passed
@gnoff gnoff deleted the fix-debug-chunk-count branch September 13, 2024 22:55
github-actions bot pushed a commit that referenced this pull request Sep 13, 2024
…#30958)

When the environment name changes for a chunk we issue a new debug chunk
which updates the environment name. This chunk was not beign included in
the pendingChunks count so the count was off when flushing

DiffTrain build for [6774caa](6774caa)
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.

4 participants