GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [sdk-platform-java] investigate if test golden files are orphaned · Issue #12399 · googleapis/google-cloud-java

[sdk-platform-java] investigate if test golden files are orphaned #12399

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[sdk-platform-java] investigate if test golden files are orphaned#12399
Copy link
Assignees
blakeli0
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.type: cleanupAn internal cleanup or hygiene concern.

Description

@zhumin8
zhumin8
opened on Jan 7, 2025
Issue body actions

context: googleapis/sdk-platform-java#3550
At start of 2025, googleapis/sdk-platform-java#3547 causes test failures on license header year difference. These tests are missed in the original fix, and did not cause any ci test failures without the fix.
Suspecting that these tests are not actually used in test assert, or might be orphaned golden files that used to be used, and did not remove.
Investigate and remove these golden files if not used.

Activity

  1. zhumin8
    added
    type: cleanupAn internal cleanup or hygiene concern.
    priority: p3Desirable enhancement or fix. May not be included in next release.
    on Jan 7, 2025
  2. zhumin8
    changed the title [-]verify if test golden files are orphaned[/-] [+]investigate if test golden files are orphaned[/+] on Jan 7, 2025
  3. zhumin8
    added a commit that references this issue on Jan 7, 2025

    test: Update the gapic-generator and hermetic-build golden files' cop…

    816f155
  4. lqiu96
    added a commit that references this issue on Feb 20, 2025

    test: Update the gapic-generator and hermetic-build golden files' cop…

    85020a9
  5. chingor13
    added a commit that references this issue on Mar 24, 2026

    test: Update the gapic-generator and hermetic-build golden files' cop…

    9cd2328
  6. chingor13
    changed the title [-]investigate if test golden files are orphaned[/-] [+][sdk-platform-java] investigate if test golden files are orphaned[/+] on Apr 1, 2026
  7. chingor13
    added
    type: cleanupAn internal cleanup or hygiene concern.
    priority: p3Desirable enhancement or fix. May not be included in next release.
    on Apr 1, 2026
  8. chingor13
    transferred this issue fromgoogleapis/sdk-platform-javaon Apr 1, 2026
  9. jjmew
    assigned
    blakeli0
    on Nov 19, 2026
  10. blakeli0 commented on Nov 19, 2026

    @blakeli0
    blakeli0
    on Nov 19, 2026
    Contributor
    More actions

    Closing as not planned after investigating:

    • The 122 sample .golden files updated in test: Update the gapic-generator and hermetic-build golden files' copyright to 2025 sdk-platform-java#3550 are not orphaned — they are exercised by ServiceClientClassComposerTest, ServiceSettingsClassComposerTest, and ServiceStubSettingsClassComposerTest via Assert.assertGoldenSamples. (The 2 hermetic_build golden files were also actively tested before hermetic_build/ was removed from sdk-platform-java/.)
    • The reason those sample golden files did not fail CI without PR Fix tableinfo javadoc #3550 is a test-helper bug introduced in 75b068ec372 (feat: Use gapic-generator-java jar in the client library generation process sdk-platform-java#918): GoldenFileWriter.saveSampleCodegenToFile is missing the updateUnitGoldens system property guard, causing Assert.assertGoldenSamples to overwrite each sample .golden file on disk immediately before diffing it.
  11. blakeli0
    closed this as not plannedon Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @blakeli0
    blakeli0

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.