Skip to content

[Fizz] Clean up row that was blocked by an aborted boundary #33318

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

Merged
merged 3 commits into from
May 21, 2025

Conversation

sebmarkbage
Copy link
Collaborator

Fixes a bug that we caused us to hang after an abort because we didn't manage the ref count correctly.

@sebmarkbage sebmarkbage requested review from gnoff and eps1lon May 20, 2025 20:39
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label May 20, 2025
@react-sizebot
Copy link

react-sizebot commented May 20, 2025

Comparing: 50389e1...88098cc

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 = 529.83 kB 529.83 kB = 93.52 kB 93.51 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 = 651.57 kB 651.57 kB = 114.78 kB 114.78 kB
facebook-www/ReactDOM-prod.classic.js = 675.81 kB 675.81 kB = 118.87 kB 118.87 kB
facebook-www/ReactDOM-prod.modern.js = 666.09 kB 666.09 kB = 117.26 kB 117.26 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-experimental/react-server/cjs/react-server.development.js +0.24% 209.08 kB 209.59 kB +0.21% 36.20 kB 36.28 kB
oss-stable-semver/react-server/cjs/react-server.production.js +0.24% 130.97 kB 131.28 kB +0.18% 22.97 kB 23.01 kB
oss-stable/react-server/cjs/react-server.production.js +0.24% 130.97 kB 131.28 kB +0.18% 22.97 kB 23.01 kB
oss-experimental/react-server/cjs/react-server.production.js +0.23% 149.22 kB 149.56 kB +0.22% 25.69 kB 25.75 kB
oss-stable-semver/react-server/cjs/react-server.development.js +0.21% 189.16 kB 189.56 kB +0.15% 33.61 kB 33.66 kB
oss-stable/react-server/cjs/react-server.development.js +0.21% 189.16 kB 189.56 kB +0.15% 33.61 kB 33.66 kB

Generated by 🚫 dangerJS against 88098cc

@@ -4636,7 +4629,6 @@ function abortTask(task: Task, request: Request, error: mixed): void {
}
}
} else {
boundary.pendingTasks--;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since some of the paths below here are going to take the finishedTask path and that does all the decrementing we need, we don't need to release anything above it. This is causing an extra task to be released (ending up in negative probably).

@sebmarkbage sebmarkbage merged commit 9c7b10e into facebook:main May 21, 2025
240 checks passed
github-actions bot pushed a commit that referenced this pull request May 21, 2025
Fixes a bug that we caused us to hang after an abort because we didn't
manage the ref count correctly.

DiffTrain build for [9c7b10e](9c7b10e)
github-actions bot pushed a commit to code/lib-react that referenced this pull request May 21, 2025
…#33318)

Fixes a bug that we caused us to hang after an abort because we didn't
manage the ref count correctly.

DiffTrain build for [9c7b10e](facebook@9c7b10e)
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