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 — Tests should not automatically start failing when new year comes · Issue #3547 · googleapis/sdk-platform-java

This repository was archived by the owner on Oct 29, 2026. It is now read-only.
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Tests should not automatically start failing when new year comes #3547

Copy link
Copy link
Closed
#4036
Closed
Tests should not automatically start failing when new year comes#3547
#4036
Copy link
Assignees
blakeli0
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@blakeli0
blakeli0
opened on Jan 6, 2025
Issue body actions

See the issue in #3512 and the fix in #3513, all the golden tests started failing when 2025 came. This is due to the copyright year for GAPIC generated files are automatically set to current year. While this logic makes sense, we should have a way for the tests to not automatically failing when new year comes.

Potential solutions: Maybe add a conditional flag that is passed to all tests that if the generator knows it is running from a test, then the copyright year would be fixed.

Activity

  1. blakeli0
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p3Desirable enhancement or fix. May not be included in next release.
    on Jan 6, 2025
  2. blakeli0
    added a commit that references this issue on Jan 6, 2025

    tests: Update the golden files' copyright to 2025 (#3513)

    8e5d662
  3. zhumin8 commented on Jan 7, 2025

    @zhumin8
    zhumin8
    on Jan 7, 2025
    Contributor
    More actions

    fyi - same issue also exist in hermetic-build library-generation-unit-test, context: #3550

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

    tests: Update the golden files' copyright to 2025 (#3513)

    8ec7757
  5. blakeli0
    self-assigned this
    on Dec 15, 2025
  6. blakeli0
    added a commit that references this issue on Jan 5, 2026

    tests: Use fixed copyright year in tests. (#4036)

    6f59f7c
  7. blakeli0
    closed this as completedin #4036on Jan 5, 2026
  8. lqiu96
    added a commit that references this issue on Feb 12, 2026

    tests: Use fixed copyright year in tests. (#4036)

    ba1b26e
  9. chingor13
    added 2 commits that reference this issue on Mar 24, 2026

    tests: Update the golden files' copyright to 2025 (#3513)

    3bbe85a

    tests: Use fixed copyright year in tests. (#4036)

    2503b5c
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: 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

    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.