Skip to content

Conversation

unstubbable
Copy link
Collaborator

The Flight Server option filterStackFrame plays an essential role in collecting and emitting I/O info. Therefore it is important that we properly define it in our tests, so that only user space code is included. Otherwise we might end up chasing ghosts when debugging those tests.

The Flight Server option `filterStackFrame` plays an essential role in
collecting and emitting I/O info. Therefore it is important that we
properly define it in our tests, so that only user space code is
included. Otherwise we might end up chasing ghosts when debugging those
tests.
@meta-cla meta-cla bot added the CLA Signed label Oct 14, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Oct 14, 2025
@react-sizebot
Copy link

Comparing: 5f2b571...e877fe7

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 = 605.41 kB 605.41 kB = 107.22 kB 107.21 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 = 664.38 kB 664.38 kB = 117.09 kB 117.09 kB
facebook-www/ReactDOM-prod.classic.js = 688.25 kB 688.25 kB = 121.13 kB 121.13 kB
facebook-www/ReactDOM-prod.modern.js = 678.67 kB 678.67 kB = 119.49 kB 119.48 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against e877fe7

@unstubbable unstubbable marked this pull request as ready for review October 14, 2025 18:19
@sebmarkbage
Copy link
Collaborator

We used to do this and indeed it should really be the default. But @eps1lon wanted to include built-ins which is what the Next.js overridden filterStackFrame does. So we should be testing what a framework might reasonably include. That's why there's stuff like new Promise in there.

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.

3 participants