Skip to content

librarian(bug): release-init-request.json doesn't match container contract #2035

@parthea

Description

@parthea

The changes section of release-init-request.json doesn't match the container contract. See Example release-init-request.json in https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#release-init. Either this is a bug in librarian or the contract is out of date.

{
    "image": "us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-dev/python-librarian-generator:latest",
    "libraries": [
        {
            "id": "google-cloud-dlp",
            "version": "3.32.0",
            "last_generated_commit": "0ef98bcac4467753c04fae34ae1fa15ed96e88c1",
            "changes": [
                {
                    "Type": "feat",
                    "Scope": "",
                    "Description": "some feat",
                    "Body": "",
                    "LibraryID": "google-cloud-dlp",
                    "Footers": {},
                    "IsBreaking": False,
                    "IsNested": False,
                    "SHA": "80485641b4cc32afaedb469160c6b71ebd764c5d",
                    "When": "2025-09-10T15:01:18Z",
                }
            ],
            "apis": [
                {
                    "path": "google/privacy/dlp/v2",
                    "service_config": "dlp_v2.yaml",
                    "status": "",
                }
            ],
            "source_roots": ["packages/google-cloud-dlp"],
            "preserve_regex": [
                ".OwlBot.yaml",
                "packages/google-cloud-dlp/CHANGELOG.md",
                "docs/CHANGELOG.md",
                "docs/README.rst",
                "samples/README.txt",
                "tar.gz",
                "gapic_version.py",
                "samples/generated_samples/snippet_metadata_",
                "scripts/client-post-processing",
            ],
            "remove_regex": ["packages/google-cloud-dlp"],
            "tag_format": "{id}-v{version}",
            "release_triggered": True,
        }
    ],
}

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