Skip to content

fix(internal/legacylibrarian): allow parsing commits with no space#4061

Merged
codyoss merged 1 commit intogoogleapis:mainfrom
codyoss:fixbadcommitmesg
Feb 13, 2026
Merged

fix(internal/legacylibrarian): allow parsing commits with no space#4061
codyoss merged 1 commit intogoogleapis:mainfrom
codyoss:fixbadcommitmesg

Conversation

@codyoss
Copy link
Copy Markdown
Member

@codyoss codyoss commented Feb 13, 2026

A recent commit in googleapis had no space after the conventional commit sperator. We need to be able to parse a commit like this.

Fixes: #4060

A recent commit in googleapis had no space after the conventional
commit sperator. We need to be able to parse a commit like this.

Fixes: googleapis#4060
@codyoss codyoss requested a review from a team as a code owner February 13, 2026 21:43
@codyoss codyoss enabled auto-merge (squash) February 13, 2026 21:45
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.04%. Comparing base (82168a3) to head (6633f90).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4061   +/-   ##
=======================================
  Coverage   82.04%   82.04%           
=======================================
  Files          78       78           
  Lines        6515     6515           
=======================================
  Hits         5345     5345           
  Misses        825      825           
  Partials      345      345           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the conventional commit parsing logic in conventional_commits.go to support commit messages without a space after the type/scope separator (:), with a corresponding test case added in conventional_commits_test.go. The changes are well-tested, clean, and no security vulnerabilities were identified.

@codyoss codyoss merged commit 99bf329 into googleapis:main Feb 13, 2026
15 checks passed
@codyoss codyoss deleted the fixbadcommitmesg branch February 13, 2026 21:55
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.

legacylibrarian: failing to parse googleapis commit message

2 participants