-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[core] Reference commits in changelog when no PR #44115
[core] Reference commits in changelog when no PR #44115
Conversation
Netlify deploy previewhttps://deploy-preview-44115--material-ui.netlify.app/ Bundle size report |
Signed-off-by: Olivier Tassinari <[email protected]>
Signed-off-by: Olivier Tassinari <[email protected]>
Signed-off-by: Olivier Tassinari <[email protected]>
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
I am ok with the change, but honestly I would advocate against this in general.
If the PR is trivial the PR review time would be very short, so I don't think we should worry about this. On the other hand if the PR is not trivial, we likely want a review anyway.
Yes, but if people see you fixing similar stuff a few times, they may catch up on the idea that this is important and keep an eye for it themselves. So yes, it's trivial or it wouldn't teach people a lot, but it may bring awareness of some issues that people tend to ignore.
This is valuable if you need to do a quick release/publish the docs, otherwise, I don't see the value. |
Agree with @mnajdova's points. Even the simplest changes can leave master in a bad state e.g. a documentation change that introduces a Vale lint error. |
@mnajdova I Agree, the problem is that it: 1. usually takes days. context shifting cost 2. PR overhead (I could look into CLI automation) Maybe the solution is to go back to the PR review timeline that we used to use during v1 to v4 era with Sebastian: 3 days. If no reviews and you have a positive review balance (more reviews left than PR opened), you can merge after 3 days. e.g. I should merge mui/pigment-css#277 before the end of the week (I hesitated to make a direct commit, but wanted to benefit from the opposite of point a.) I would also do batch PRs at that time, e.g. #28381 has 12 small ones. It had a few cases where I was frustrated that it made git blame harder. But I was doing so many of them, x4+ more than today, that it was probably the best compromise.
This sounds about a. I would ideally not work on those but, if the problem, in the opportunity cost referential, look like nice value / low effort, and especially if it has been here for a while. I might as well go for it. I think that seeing (painful enough to be seen) something unsolved for a long time (team spread thin) that can be fixed quickly (<15 minutes) feels like a signal enough that I should prioritize it.
With infra items, we sometimes need to push small changes to Base UI, Pigment CSS, MUI X, MUI Private, MUI Public, and Material UI. 6 PRs. It's tough. I will continue to try to refrain myself on making those direct commits 👍
@aarongarciah Yeah, this is definitely a case of overreach for those commits when it breaks the CI. |
I have created https://www.notion.so/mui-org/GitHub-PRs-7112d03a6c4346168090b29a970c0154?pvs=4#129cbfe7b66080319e93d2d79126dd0a to reflect this discussion. @hasdfa https://github.com/mui/mui-private/commit/84be4928b0cbf7dcb82e37b77094a0811d24bff3 can fit under this policy, but the other ones don't, e.g. https://github.com/mui/mui-private/pull/649, which propose to revert/partially-revert two of those direct to master commits. |
I occasionally, or quite frequently, push commits on the master branch of Material UI, Base UI, MUI X, Pigment CSS, etc. anytime I see a change that:
(I get this balance wrong sometimes, I should likely be more moderate with this). In any case, there are use cases, I think ones that could be open to more team members.
Here is the value of this change, better DX for developers in the GitHub release page: