Skip to content

librarian(bug): librarian release init fails with failed to fetch conventional commits for library for recently configured library #2628

@parthea

Description

@parthea

I ran librarian release init on a branch with PR googleapis/google-cloud-python#14791 however the command failed with error failed to find tag google-cloud-gkerecommender-v0.0.0: tag not found.

partheniou@partheniou-vm-3:~/git/google-cloud-python$ librarian release init
time=2025-10-21T09:28:27.913Z level=INFO msg="Temporary working directory" dir=/tmp/librarian-3061479323
time=2025-10-21T09:28:27.914Z level=INFO msg="repo not specified, using current working directory as repo root" path=/usr/local/google/home/partheniou/git/google-cloud-python
time=2025-10-21T09:28:27.914Z level=INFO msg="Opening repository" dir=/usr/local/google/home/partheniou/git/google-cloud-python
time=2025-10-21T09:28:35.963Z level=INFO msg="source not specified, skipping service config population"
time=2025-10-21T09:28:35.966Z level=INFO msg="Initiating a release" dir=/tmp/librarian-3061479323/output
time=2025-10-21T09:28:35.968Z level=INFO msg="failed to fetch conventional commits for library, google-cloud-gkerecommender: failed to get commits for library google-cloud-gkerecommender: failed to find tag google-cloud-gkerecommender-v0.0.0: tag not found"

A potential solution could be to skip searching for git tags when the library version is 0.0.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions