-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
[code-infra] Remove useless test step #46679
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
Conversation
Netlify deploy previewhttps://deploy-preview-46679--material-ui.netlify.app/ Bundle size report
|
|
History #24188 |
|
Ok, so that hasn't been doing anything then at least since #37853, where the |
| git add -f packages/mui-material/build || echo '/material declarations do not exist' | ||
| git add -f packages/mui-lab/build || echo '/lab declarations do not exist' | ||
| git add -f packages/mui-utils/build || echo '/utils declarations do not exist' | ||
| pnpm -r build:stable && pnpm -r build:types |
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.
pnpm -r build:stable && pnpm -r build:typesShouldn't we keep this step? Otherwise, I don't see how:
node scripts/testBuiltTypes.mjscan work.
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.
Fixing in #46735
The test is testing whether our path aliasing causing imports outside of the package folder during our declaration generation. Better would be to just remove path aliasing altogether from declaration generation and fix all the inconsistencies in our setup. I did that as part of #46500. Will extract these changes on their own.
I'm sure at some point this was testing something useful, but currently, this is testing exactly nothing. Those build folders are always empty at the start of this step and they are gitignored. The whole step is a no-op and has been for a long time.
This will save roughly 1m40s from the runtime