Skip to content

Version.java are not preserved for java-health and java-maps-mapmanagement #13194

Closed

Description

@zhumin8

Noticed in this generation pr, java-health/google-cloud-health/src/main/java/com/google/devicesandservices/health/v4/stub/Version.java is overriden to 0.0.0-SNAPSHOT, because it is not preserved.
Same for java-maps-mapmanagement/google-maps-mapmanagement/src/main/java/com/google/maps/mapmanagement/v2beta/stub/Version.java

https://screenshot.googleplex.com/5oCp53ndDDFzzMJ

I believe these are new libraries added recently, non-cloud. So the https://github.com/googleapis/google-cloud-java/blob/main/java-health/.OwlBot-hermetic.yaml is missing preserve item.

@blakeli0 @diegomarquezp I propose to fix these separately, and merge this generation pr now so that the googleapis commitsh matches generated code again in this repo.

Originally posted by @zhumin8 in #13188 (comment)

Activity

  1. diegomarquezp commented on May 19, 2026

    @diegomarquezp
    Contributor

    #12862 was intended to handle the general case. Not sure what fails in these two libraries.

  2. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Aug 28, 2026
  3. lqiu96 commented on Aug 28, 2026

    @lqiu96
    Member

    @zhumin8 is this still an issue or an ETA on the fix?

  4. zhumin8 commented on Sep 2, 2026

    @zhumin8
    ContributorAuthor

    I believe they are fixed after migrating to librarian:


    Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions