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
Setup CI infra to run DevTools tests against multiple React versions #19371
Comments
I would like to take this as my first issue , please guide me from where I can start |
@RitikPandey1 You are welcome to work on this issue if you would be interested! Unfortunately, it would have to be self-guided work. I don't have any more of an outline for what needs to be done than what is written in the issue. |
Okay, @bvaughn I will try to figure this out . |
@bvaughn, not sure if this is easily done with checking out older code. Another issue is, that older checkouts have too restrictive devEngines requirements to be installed with modern node, see this. |
Also tried it by just installing the old dependencies via npm, with similar results. Maybe some of the tests are testing internals, and hence are coupled to internals of the latest code? |
The This task is about using the DevTools to connect to applications written with multiple (usually older) versions of React. Replacing the The precedent here would be our "legacy" tests: These tests using NPM aliasing to run an older version of React with DevTools (which is still built with the latest experimental build): react/packages/react-devtools-shared/src/__tests__/legacy/inspectElement-test.js Lines 76 to 84 in 480626a
|
Thanks for the elaboration, I will check it out! |
@MoSattler can i help you with that task? |
This task is still up for grabs, if you're interested, @ktfth |
@bvaughn I'm totally interested on that task, can you update me with the needs to complete them? |
Please feel free to work on it then! Unfortunately other than my comment above (#19371 (comment)) this is a self-guided task. I don't have the bandwidth to provide much support for it. |
I'm gonna work to get all information needed. Thank you |
I don't know what you mean by "just legacy code" Ideally probably at least each minor version of React |
The legacy test code showed by you on comment, do you remember? |
@bvaughn Maybe is not clear what is need to do on that task, can elaborate more about the case is need to cover with the setup? |
Was referring to my comment above: #19371 (comment) |
I don't have a lot of time to go into much detail here, but the idea is that we currently run automated DevTools tests against two flavors of React:
Ideally we would also run against every minor release of 16. There are a couple of challenges here:
|
@bvaughn Great this clarify the work, thank you |
I have made some tests here to create a case on CI there is the result first change, second change and the pipeline |
I'm gonna update here to you @bvaughn can review my changes and get the job done |
Okay. Keep me posted when your PR is ready for a look 👍🏼 |
Now i need to reproduce the same tests of legacy for other versions like 16 for every minor? |
Sorry about a lot of questions, but you have some example to give on that part? |
No, sorry. |
Some updates on config based on @MoSattler work to test every version of react with the result on ci. The limits of service was reached. @bvaughn how can we continue? |
Sorry @ktfth, but I don't have much bandwidth to support this task. Unfortunately it has to be self-guided 😦 I'll make time to review a PR but I don't think I can be involved in the troubleshooting phase at the moment. |
@bvaughn I'm gonna make a PR, thank you so much |
Can I take up this issue? If it isn't fixed up yet @bvaughn |
@hardikshah197 If you'd like to take a look at #21166 and maybe lend a hand? |
Sure, I'll give it a look on and try it out. Thanks |
Yes. |
I want to work on this. |
This issue is all yours, @Albert-Jokelin! 😄 I've added the "good first issue (taken)" label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let me know so that I can remove the label and free it up for someone else to claim. Cheers! |
Ok
…On Thu, Aug 19, 2021 at 3:41 PM Albert Jokelin ***@***.***> wrote:
I want to work on this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#19371 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUHXHZTBLKEBV2KXXOJQ263T5VM6XANCNFSM4O2UU54Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
@bvaughn My account with CircleCI doesn't allow me to test the pipeline completely (get stuck at the paywall), is there anyway where I could use React's pipeline? |
@Albert-Jokelin Creating a PR on this repo (even just a Draft PR) should enable that, no? |
Nope, it isn't working |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you! |
PR #19108 caused some Suspense-related DevTools regressions (more info available on #19368) which we did not catch because of the fact that DevTools tests are only run against the version of React in master.
We should follow the precedent of the regression fixtures tests and have CI run DevTools tests against multiple React versions, including v15, all v16 minors, and the current HEAD of master branch.
Setting this up will involve several things:
Suspense
in a version of React that didn't include that component yet).Which React versions should we test?
In addition to testing against the latest React version in source, I propose that we should also test every minor version going back as far as we support (e.g. starting with v15). We could automate this process like so:
The text was updated successfully, but these errors were encountered: