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): |
|
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 |
|
@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 |
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:
Suspensein a version of React that didn't include that component yet).The text was updated successfully, but these errors were encountered: