Skip to content
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

[docs-infra] Fail CI on Vale error #40944

Merged
merged 5 commits into from Mar 17, 2024

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Feb 5, 2024

@oliviertassinari oliviertassinari added the scope: docs-infra Specific to the docs-infra product label Feb 5, 2024
@mui-bot
Copy link

mui-bot commented Feb 5, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 902d760

@alexfauquette
Copy link
Member

This conflicts with #40403

The issue is that the action that display comment in the PR fails if it has more than 50 comments to do. Usually it's not an issue, but as soon as you move files, you can easily reach it

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Feb 11, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 17, 2024
@oliviertassinari oliviertassinari force-pushed the vale-error branch 3 times, most recently from 12e02d6 to c35328b Compare March 17, 2024 00:57
@oliviertassinari oliviertassinari added the new feature New feature or request label Mar 17, 2024
@oliviertassinari
Copy link
Member Author

oliviertassinari commented Mar 17, 2024

This conflicts with #40403. The issue is that the action that display comment in the PR fails if it has more than 50 comments to do. Usually it's not an issue, but as soon as you move files, you can easily reach it

@alexfauquette Arf you are right, in that PR the problem is:

SCR-20240317-dfqb

I added a comment in the GitHub Action to link the related GitHub issue errata-ai/vale-action#89. We effectively can't use the GitHub Action to report the status of the CI, only to leave annotations. I have tried to use the other reporter https://github.com/reviewdog/reviewdog?tab=readme-ov-file#reporter-github-pullrequest-review-comment--reportergithub-pr-review but the UX of this is a huge mess (why @mui-bot is involved here).

The solution is to use CircleCI to lint the files. I did this. I also went through the codebase (meaning MUI X, Base UI, Toolpad, Material UI) to fix all the errors. We should be good now 😌.

SCR-20240317-rgvu

Benchmark:

Extra notes:

@oliviertassinari oliviertassinari force-pushed the vale-error branch 6 times, most recently from ec01f5a to ef5f448 Compare March 17, 2024 17:20
@oliviertassinari oliviertassinari force-pushed the vale-error branch 2 times, most recently from 30da176 to 8e0acfc Compare March 17, 2024 17:29
@oliviertassinari oliviertassinari force-pushed the vale-error branch 2 times, most recently from 918d561 to 0eb4a9b Compare March 17, 2024 17:50
@oliviertassinari oliviertassinari force-pushed the vale-error branch 2 times, most recently from c1b2b1d to ac6585b Compare March 17, 2024 18:40
@oliviertassinari oliviertassinari added test docs Improvements or additions to the documentation labels Mar 17, 2024
@oliviertassinari oliviertassinari enabled auto-merge (squash) March 17, 2024 18:52
@oliviertassinari oliviertassinari enabled auto-merge (squash) March 17, 2024 19:02
@oliviertassinari oliviertassinari merged commit aa49a25 into mui:master Mar 17, 2024
21 checks passed
@oliviertassinari oliviertassinari deleted the vale-error branch March 17, 2024 19:56
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 new feature New feature or request scope: docs-infra Specific to the docs-infra product test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants