Skip to content

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Sep 3, 2025

Following up after mui/mui-public#632

I believe we could optimize here:

  • positive checks for push instead of negative, only on release branches, would we need any other?
  • sync paths and paths-ignore and branches and branches-ignore between ci.yml and ci-check.yml. If I understand the linked documentation correctly, the goal is for the test-dev job in those workflow files to be fully mutually exclusive. (@oliviertassinari would love a review if you know more about this)
  • remove examples from the ignored paths as we are using those as templates in pkg.pr.new

To do:

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

mui-bot commented Sep 3, 2025

Netlify deploy preview

https://deploy-preview-46860--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 c43d72e

@Janpot Janpot requested a review from a team September 3, 2025 15:22
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

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

@oliviertassinari would love a review if you know more about this

I recall we iterated on this problem in #35028, but I didn't understand it. Why is there even a second GitHub Action? Adding ci-check.yml felt broken. I was expecting a logic like this in ci.yml to filter our changes:

# latest commit where internal-scripts was changed
FOLDER_COMMIT=$(git log -1 --format=format:%H --full-diff packages-internal/scripts)
if [ $FOLDER_COMMIT = $LATEST_COMMIT ]; then
echo "changes, let's run the tests"

If we can indeed delete ci-check.yml, great.

paths-ignore:
# should sync with ci-check.yml as a workaround to bypass github checks
- 'examples/**'
- 'docs/**'
Copy link
Member

Choose a reason for hiding this comment

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

@oliviertassinari oliviertassinari added type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. type: bug It doesn't behave as expected. and removed type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. labels Sep 7, 2025
@Janpot Janpot marked this pull request as ready for review September 8, 2025 13:07
@Janpot Janpot merged commit ccaf003 into mui:master Sep 15, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). type: bug It doesn't behave as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants