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:

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.

4 participants