Skip to content

Conversation

@brijeshb42
Copy link
Contributor

@brijeshb42 brijeshb42 requested review from a team November 20, 2025 05:44
@brijeshb42 brijeshb42 added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Nov 20, 2025
@mui-bot
Copy link

mui-bot commented Nov 20, 2025

Netlify deploy preview

https://deploy-preview-47350--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 cc82117

@brijeshb42 brijeshb42 force-pushed the changelog-util branch 2 times, most recently from 093965c to 812f4a2 Compare November 20, 2025 06:54
output: process.stdout,
});
const startMessage = githubToken
? `You have provided a GitHub token via --githubToken. It is not recommended to pass it now since we will deprecate this flag in the future.`
Copy link
Member

Choose a reason for hiding this comment

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

Would it make sense to show a message, but further ignore anything user provided? e.e. "you've provided a deprecated --githubToken argument, this will be ignored."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Or we can just remove this support since the Github app auth is anyway seemless and extra steps are required only the first time. Its used by us and not @mui/material users, so IMO, it should be fine to just ignore --githubToken or env var.

@brijeshb42
Copy link
Contributor Author

The CI failing is because release:changelog also runs in CI and with the new flow, it doesn't work. So we'll have to support GITHUB_TOKEN env flow, at least in the core repo.

@brijeshb42 brijeshb42 force-pushed the changelog-util branch 2 times, most recently from c3d695b to ee0df78 Compare November 20, 2025 12:18
const bTags = parseTags(b.message);
if (aTags === bTags) {
return commitsItemsByDateDesc.indexOf(a) - commitsItemsByDateDesc.indexOf(b);
return commitsItemsByOrder.get(a) - commitsItemsByOrder.get(b);
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be reversed now if we don't reverse commitsItems anymore?

Suggested change
return commitsItemsByOrder.get(a) - commitsItemsByOrder.get(b);
return commitsItemsByOrder.get(b) - commitsItemsByOrder.get(a);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks correct in CI

Copy link
Member

@Janpot Janpot Nov 20, 2025

Choose a reason for hiding this comment

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

Compared with master I see a different ordering. Not sure what version is correct, but, the .reverse is removed, and the .get should return the same as the .indexOf from before. So if we don't inverse this subtraction, the order will be different than before.

Copy link
Contributor Author

@brijeshb42 brijeshb42 Nov 20, 2025

Choose a reason for hiding this comment

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

Screenshot 2025-11-20 at 7 18 13 PM

Left is master and right is this PR. Both match fully. Funny thing is even after inverting, its the same output. Inverted anyways since the output is same.

Copy link
Member

Choose a reason for hiding this comment

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

They're not matching, e.g. check the "[code-infra] Enable Next.js ...." line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah. I was just looking at the start tags.

@brijeshb42 brijeshb42 enabled auto-merge (squash) November 20, 2025 14:15
new Set(
commits
.filter((commit) => !!commit.author?.login)
.map((commit) => {
Copy link
Member

@Janpot Janpot Nov 20, 2025

Choose a reason for hiding this comment

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

@brijeshb42 nitpick, but any reason to use a different function style here vs.the above?

Suggested change
.map((commit) => {
.map((commit) => commit.author.login)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually i copied it over from Base UI's code.

@brijeshb42 brijeshb42 merged commit c08f469 into mui:master Nov 20, 2025
18 checks passed
@brijeshb42 brijeshb42 deleted the changelog-util branch November 20, 2025 15:13
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).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants