Skip to content

[DevTools] Ignore duplicate commit tree adds#36474

Open
yudin-s wants to merge 1 commit into
facebook:mainfrom
yudin-s:fix-devtools-duplicate-commit-node
Open

[DevTools] Ignore duplicate commit tree adds#36474
yudin-s wants to merge 1 commit into
facebook:mainfrom
yudin-s:fix-devtools-duplicate-commit-node

Conversation

@yudin-s
Copy link
Copy Markdown

@yudin-s yudin-s commented May 14, 2026

Summary

Fixes #36124.
Fixes #36006.

The Profiler commit tree can receive duplicate add operations for a fiber that is already present in the reconstructed tree. Instead of throwing while rendering Profiler charts, skip the duplicate add payload and continue applying later operations for that commit.

How did you test this change?

  • yarn test --build --project devtools packages/react-devtools-shared/src/tests/profilingCommitTreeBuilder-test.js --runInBand

@meta-cla meta-cla Bot added the CLA Signed label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant