GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix[react-devtools/ci]: fix configurations for e2e testing by hoxyq · Pull Request #29016 · react/react

Conversation

@hoxyq

@hoxyq hoxyq commented May 7, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

This should fix failing DevTools e2e tests on main.

With these changes, running tests locally successfully passes all cases.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hoxyq
hoxyq requested review from gnoff and kassens May 7, 2024 15:03
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels May 7, 2024
hoxyq
hoxyq commented May 7, 2024
View reviewed changes
Comment thread package.json
"scripts": {
"build": "node ./scripts/rollup/build-all-release-channels.js",
"build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react-dom/index,react-dom/client,react-dom/unstable_testing,react-dom/test-utils,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh,react-art --type=NODE",
"build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react/compiler-runtime,react-dom/index,react-dom/client,react-dom/unstable_testing,react-dom/test-utils,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh,react-art --type=NODE",

@hoxyq hoxyq May 7, 2024

Copy link
Copy Markdown
Collaborator Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Adding react/compiler-runtime here after #28954

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hoxyq
fix[react-devtools/ci]: fix configurations for e2e testing
3d5f1f1
@hoxyq
hoxyq force-pushed the react-devtools/fix-ci branch from 69ac373 to 3d5f1f1 Compare May 7, 2024 15:05
hoxyq
hoxyq commented May 7, 2024
View reviewed changes
Comment thread packages/react-devtools-shell/webpack-server.js
Comment on lines -147 to -154
'react-dom/client': resolve(
builtModulesDir,
clientAsSeparateBuild ? 'react-dom/unstable_testing' : 'react-dom/client',
),
'react-dom': resolve(
builtModulesDir,
clientAsSeparateBuild ? 'react-dom' : 'react-dom/unstable_testing',
),

@hoxyq hoxyq May 7, 2024

Copy link
Copy Markdown
Collaborator Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This has been introduced in #28271.

This specific config is actually for DevTools (not for react-devtools-shell, which may use legacy versions of React). RDT always using React from source, so we don't need to fork it here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@react-sizebot

react-sizebot commented May 7, 2024

Copy link
Copy Markdown

Comparing: 1d618a9...3d5f1f1

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.66 kB 6.66 kB = 1.82 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 492.61 kB 492.61 kB = 87.88 kB 87.88 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.67 kB 6.67 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 498.86 kB 498.86 kB = 88.93 kB 88.93 kB
facebook-www/ReactDOM-prod.classic.js = 591.22 kB 591.22 kB = 103.96 kB 103.96 kB
facebook-www/ReactDOM-prod.modern.js = 567.44 kB 567.44 kB = 100.36 kB 100.36 kB
test_utils/ReactAllWarnings.js Deleted 64.26 kB 0.00 kB Deleted 16.02 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 64.26 kB 0.00 kB Deleted 16.02 kB 0.00 kB

Generated by 🚫 dangerJS against 3d5f1f1

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hoxyq

hoxyq commented May 8, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator Author

I am going to land this to fix the CI and publish a new release of DevTools. If there are any changes you want to request, please leave a comment here, I will publish a forward-fix.

cc @kassens @gnoff

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hoxyq
hoxyq merged commit e150a32 into react:main May 8, 2024
@hoxyq
hoxyq deleted the react-devtools/fix-ci branch May 8, 2024 11:04
@hoxyq hoxyq mentioned this pull request May 8, 2024
React DevTools 5.1.0 -> 5.2.0 #29022
Merged
hoxyq added a commit that referenced this pull request May 8, 2024
@hoxyq
React DevTools 5.1.0 -> 5.2.0 (#29022)
1717ab0
Full list of changes (not a public changelog):
* fix[react-devtools/ci]: fix configurations for e2e testing
([hoxyq](https://github.com/hoxyq) in
[#29016](#29016))
* feat[react-devtools]: display forget badge for components in profiling
session ([hoxyq](https://github.com/hoxyq) in
[#29014](#29014))
* fix[react-devtools]: add backwards compat with legacy element type
symbol ([hoxyq](https://github.com/hoxyq) in
[#28982](#28982))
* Expose "view source" options to Fusebox integration
([motiz88](https://github.com/motiz88) in
[#28973](#28973))
* Enable inspected element context menu in Fusebox
([motiz88](https://github.com/motiz88) in
[#28972](#28972))
* Check in `frontend.d.ts` for react-devtools-fusebox, include in build
output ([motiz88](https://github.com/motiz88) in
[#28970](#28970))
* Devtools: Fix build-for-devtools
([eps1lon](https://github.com/eps1lon) in
[#28976](#28976))
* Move useMemoCache hook to react/compiler-runtime
([kassens](https://github.com/kassens) in
[#28954](#28954))
* warn -> error for Test Renderer deprecation
([acdlite](https://github.com/acdlite) in
[#28904](#28904))
* [react-dom] move all client code to `react-dom/client`
([gnoff](https://github.com/gnoff) in
[#28271](#28271))
* Rename the react.element symbol to react.transitional.element
([sebmarkbage](https://github.com/sebmarkbage) in
[#28813](#28813))
* Rename Forget badge ([jbonta](https://github.com/jbonta) in
[#28858](#28858))
* Devtools: Add support for useFormStatus
([eps1lon](https://github.com/eps1lon) in
[#28413](#28413))
@eps1lon eps1lon mentioned this pull request May 16, 2024
Update React from 4508873393 to 04b058868c vercel/next.js#65864
Merged
eps1lon added a commit to vercel/next.js that referenced this pull request May 16, 2024
@eps1lon
Update React from 4508873393 to 04b058868c (#65864)
c045f0f
Completes #65845 which only
updated Canary not Experimental.

<details>
<summary> React upstream changes</summary>

- react/react#29026
- react/react#29025
- react/react#28743
- react/react#29022
- react/react#29023
- react/react#29015
- react/react#29016
- react/react#28988
- react/react#28987
- react/react#28986
- react/react#29014
- react/react#28982
- react/react#29006
- react/react#28973
- react/react#28841
- react/react#28964
- react/react#28990
- react/react#29003
- react/react#28989
- react/react#28893
- react/react#28887
- react/react#28807
- react/react#28978
- react/react#28963
- react/react#28972
- react/react#28970
- react/react#28816
- react/react#28977
- react/react#28974
- react/react#28976
- react/react#28975
- react/react#28969
- react/react#28966
- react/react#28056

</details>
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@hoxyq
fix[react-devtools/ci]: fix configurations for e2e testing (react#29016)
513869a
This should fix failing DevTools e2e tests on `main`.

With these changes, running tests locally successfully passes all cases.
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@hoxyq
React DevTools 5.1.0 -> 5.2.0 (react#29022)
a5c9d54
Full list of changes (not a public changelog):
* fix[react-devtools/ci]: fix configurations for e2e testing
([hoxyq](https://github.com/hoxyq) in
[react#29016](react#29016))
* feat[react-devtools]: display forget badge for components in profiling
session ([hoxyq](https://github.com/hoxyq) in
[react#29014](react#29014))
* fix[react-devtools]: add backwards compat with legacy element type
symbol ([hoxyq](https://github.com/hoxyq) in
[react#28982](react#28982))
* Expose "view source" options to Fusebox integration
([motiz88](https://github.com/motiz88) in
[react#28973](react#28973))
* Enable inspected element context menu in Fusebox
([motiz88](https://github.com/motiz88) in
[react#28972](react#28972))
* Check in `frontend.d.ts` for react-devtools-fusebox, include in build
output ([motiz88](https://github.com/motiz88) in
[react#28970](react#28970))
* Devtools: Fix build-for-devtools
([eps1lon](https://github.com/eps1lon) in
[react#28976](react#28976))
* Move useMemoCache hook to react/compiler-runtime
([kassens](https://github.com/kassens) in
[react#28954](react#28954))
* warn -> error for Test Renderer deprecation
([acdlite](https://github.com/acdlite) in
[react#28904](react#28904))
* [react-dom] move all client code to `react-dom/client`
([gnoff](https://github.com/gnoff) in
[react#28271](react#28271))
* Rename the react.element symbol to react.transitional.element
([sebmarkbage](https://github.com/sebmarkbage) in
[react#28813](react#28813))
* Rename Forget badge ([jbonta](https://github.com/jbonta) in
[react#28858](react#28858))
* Devtools: Add support for useFormStatus
([eps1lon](https://github.com/eps1lon) in
[react#28413](react#28413))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kassens kassens Awaiting requested review from kassens
@gnoff gnoff Awaiting requested review from gnoff

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@hoxyq @react-sizebot @facebook-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.