-
Notifications
You must be signed in to change notification settings - Fork 20
[code-infra] Update bundle size dashboard #304
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
…TypeScript - Convert circle-ci-artifacts.js to TypeScript with proper typing - Improve page layout with more consistent heading hierarchy - Make commit hash a clickable link to GitHub repository - Format PR number and build number as consistent clickable links - Hide totals section when there is an error in data loading 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Both the increase and decrease of bundle size show up with a "+" sign now |
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.
Nice a v2 on #212, that was painful.
In the future, we could likely tackle: #162 (review).
pnpm-workspace.yaml
Outdated
- 'tools-public' | ||
- 'contributor-dashboard-legacy' |
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.
We could likely adopt the same folder structure as in https://github.com/mui/mui-private https://github.com/mui/mui-private/blob/6fd8a3a565e1ae51a7383fe1a85506bd36dc55f9/pnpm-workspace.yaml#L2
- 'tools-public' | |
- 'contributor-dashboard-legacy' | |
- 'apps/*' |
More context: https://github.com/mui/mui-private/issues/794
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.
I moved it
@@ -3,32 +3,34 @@ | |||
"version": "0.1.0", |
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.
We don't need that since it's private?
"version": "0.1.0", |
I wonder if there is room to change the Netlify config to only build if there is a change in |
It should already be doing that according to the docs. we set the base directory. Let's evaluate if that's working as expected once merged.
|
I have added this logic:
It didn't seem to behave correctly without. |
Is it possible to quantify the difference in having this versus not? Because I'm not keen on having to maintain a secondary dependency chain unless the win is significant. This will have to be kept in sync any time a workspace dependency is added, or a dependency of a workspace dependency is added. e.g. here. Like, why have this on this tiny project that is built so little time and takes such a short time to build and not on e.g. the core docs? edit: it should be possible to list all required folders to check for changes with |
@Janpot The problem is that in #309, Netlify didn't build, but should have. The docs of Netlify say that the default behavior of Netlify is close to: which feels broken. I changed it to: The alternative options:
With render, the issue seems to be on the opposite side, e.g., https://github.com/mui/mui-private/pull/847, it builds stuff for nothing. I get the feeling that we can start with custom logic, and then move to 2 once we need to get more fancy.
Yes, this looks even better. |
Moved to an issue https://github.com/mui/mui-private/issues/886 |
Took my friend Claude for a spin and we revamped the size comparison table.
Live:
to do: