Skip to content

Conversation

@Janpot
Copy link
Member

@Janpot Janpot commented Aug 21, 2025

Remove some outdated references to our usage of codesandbox ci

Closes mui/mui-public#509

@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Aug 21, 2025
@mui-bot
Copy link

mui-bot commented Aug 21, 2025

Netlify deploy preview

https://deploy-preview-46797--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 38b7b58

@Janpot Janpot marked this pull request as ready for review August 21, 2025 11:50
@Janpot Janpot requested a review from a team August 21, 2025 11:50
@Janpot Janpot enabled auto-merge (squash) August 21, 2025 12:26
Already reflected in all HEAD and all rulesets.
Signed-off-by: Olivier Tassinari <oliviertassinari@users.noreply.github.com>
@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation. dx labels Aug 23, 2025
"@mui/styled-engine": "^5.0.0-alpha.16",
- "@mui/material": "^5.0.0-alpha.15",
+ "@mui/material": "https://pkg.csb.dev/mui/material-ui/commit/371c952b/@mui/material",
+ "@mui/material": "https://pkg.pr.new/mui/material-ui/@mui/material@b0f26aa",
Copy link
Member

@oliviertassinari oliviertassinari Aug 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going a bit off topic.

What's the rationale for not using --compact option? Vite uses it, Rolldown too, but with our npm package maze, showing the path to the source might be simpler.

I was also thinking of removing the option to change the default https://github.com/mui/mui-public/blob/cf68446433d3e1fcb7a2be55e7fdf866835c36b6/.github/workflows/ci-base.yml#L10. I fail to envision a use case to allow one repository to do it differently from the standard.

Copy link
Member Author

@Janpot Janpot Aug 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the rationale for not using --compact option?

There's not really a "rationale" behind it. It's just not very important to have compact urls. One drawback of it is that packages must have been published at least once, so our current method of listing all public packages would break if someone introduces a new package. We could get around this by expanding our list-workspaces command with a --published-only flag. But it will slow down this command ofcourse. Asking copilot to look into this. I'm also opening mui/mui-public#605.

Personally I don't care that much about the length of those urls, I will always copy them from somewhere anyway. I think long urls are acceptable if as a trade-off we can now preview newly introduced packages without having to publish them yet. But others may make a different trade-off.

Ideally, csbci just removes this flag and automatically provides the compact url if a package is published. I opened stackblitz-labs/pkg.pr.new#402

Copy link
Member

@oliviertassinari oliviertassinari Aug 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just not very important to have compact urls. One drawback of it is that packages must have been published at least once, so our current method of listing all public packages would break if someone introduces a new package.

This makes sense; this would lean toward simply not supporting compact. What I wanted to push for is no options to configure it, so we have it everywhere the same way (unless there is a real reason to allow different things between different repositories, but it seems that there isn't).

@Janpot Janpot disabled auto-merge August 25, 2025 13:51
@Janpot Janpot merged commit 37b40af into mui:master Aug 25, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[code-infra] Complete migration to pkg.pr.new / remove CodeSandbox CI

3 participants