Skip to content

Prevent overly long LLM-generated commit messages - #1292

Open
MattiSG wants to merge 2 commits into
mainfrom
commitlint
Open

MattiSG wants to merge 2 commits into
mainfrom
commitlint

Conversation

@MattiSG

@MattiSG MattiSG commented Nov 2, 2026

Copy link
Copy Markdown
Member

When reviewing #1290, I saw that some commits have a very long commit message (e.g. 66f1315). These messages are generated by LLM assistants and provide, in my opinion, too much text to be useful and end up being pollution. I thus suggest to limit the size of commit messages.
I chose 300 characters based on a random sample of messages in the historical commit log.

@MattiSG
MattiSG requested a review from Ndpnt November 2, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant