Skip to content

Conversation

poteto
Copy link
Member

@poteto poteto commented Aug 27, 2025

Also noticed that we added a limit to the number of workers in the compiler playground workflow. I added it previously out of precaution to prevent flakiness, but now I think it's unnecessary as the underlying issue was already fixed.


Stack created with Sapling. Best reviewed with ReviewStack.

poteto added 2 commits August 27, 2025 14:24
I happened to notice that I forgot to cache playwright in run_devtools_e2e_tests, so it would try to install it every time which can randomly take a while to complete (I'm not sure why it's not deterministic, but the dependencies appear to be installed inconsistently across multiple workflows).

This PR adds the same cache we use for other steps that use playwright, which should shave off some time from this workflow when the cache is warm.

Additionally I omitted the standalone install-deps command as it appears to be redundant and adds a lot of extra time to CI, due to the fact that it installs many unrelated dependencies.
Also noticed that we added a limit to the number of workers in the compiler playground workflow. I added it previously out of precaution to prevent flakiness, but now I think it's unnecessary as the underlying issue was already fixed.
@meta-cla meta-cla bot added the CLA Signed label Aug 27, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Aug 27, 2025
@react-sizebot
Copy link

Comparing: b870042...471fc5c

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 = 530.31 kB 530.31 kB = 93.39 kB 93.39 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 = 655.96 kB 655.96 kB = 115.31 kB 115.31 kB
facebook-www/ReactDOM-prod.classic.js = 675.73 kB 675.73 kB = 118.54 kB 118.54 kB
facebook-www/ReactDOM-prod.modern.js = 666.15 kB 666.15 kB = 116.87 kB 116.87 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 471fc5c

@poteto
Copy link
Member Author

poteto commented Aug 27, 2025

Ah I see, playwright defaults to 2 workers, so this was setting it higher. Closing this PR

@poteto poteto closed this Aug 27, 2025
@poteto poteto deleted the pr34321 branch August 27, 2025 18:37
poteto added a commit that referenced this pull request Aug 27, 2025
I happened to notice that I forgot to cache playwright in
run_devtools_e2e_tests, so it would try to install it every time which
can randomly take a while to complete (I'm not sure why it's not
deterministic, but the dependencies appear to be installed
inconsistently across multiple workflows).

This PR adds the same cache we use for other steps that use playwright,
which should shave off some time from this workflow when the cache is
warm.

Additionally I omitted the standalone install-deps command as it appears
to be redundant and adds a lot of extra time to CI, due to the fact that
it installs many unrelated dependencies.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34320).
* #34321
* __->__ #34320
github-actions bot pushed a commit to code/lib-react that referenced this pull request Aug 31, 2025
I happened to notice that I forgot to cache playwright in
run_devtools_e2e_tests, so it would try to install it every time which
can randomly take a while to complete (I'm not sure why it's not
deterministic, but the dependencies appear to be installed
inconsistently across multiple workflows).

This PR adds the same cache we use for other steps that use playwright,
which should shave off some time from this workflow when the cache is
warm.

Additionally I omitted the standalone install-deps command as it appears
to be redundant and adds a lot of extra time to CI, due to the fact that
it installs many unrelated dependencies.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34320).
* facebook#34321
* __->__ facebook#34320

DiffTrain build for [0a1f1fc](facebook@0a1f1fc)
github-actions bot pushed a commit to code/lib-react that referenced this pull request Aug 31, 2025
I happened to notice that I forgot to cache playwright in
run_devtools_e2e_tests, so it would try to install it every time which
can randomly take a while to complete (I'm not sure why it's not
deterministic, but the dependencies appear to be installed
inconsistently across multiple workflows).

This PR adds the same cache we use for other steps that use playwright,
which should shave off some time from this workflow when the cache is
warm.

Additionally I omitted the standalone install-deps command as it appears
to be redundant and adds a lot of extra time to CI, due to the fact that
it installs many unrelated dependencies.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34320).
* facebook#34321
* __->__ facebook#34320

DiffTrain build for [0a1f1fc](facebook@0a1f1fc)
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.

2 participants