Skip to content

Generated application.yml writes gitgalaxy.culture.zone, but MainframeClock reads gitgalaxy.zone: the yml's zone is dead config #3934

Closed

Description

@squid-protocol

Found while building the Cultural Gauntlet's India slice (#3834 part 2), whose cells declare culture.zone: Asia/Kolkata.

What: with a non-default culture, cobol_to_java_build_forge._culture_yml writes gitgalaxy.culture.zone: "Asia/Kolkata" (and the other culture keys) into the generated application.yml, and its docstring says generated code reads @Value("${gitgalaxy.culture.zone:UTC}"). But the generated MainframeClock (#3824, cobol_to_java_batch_forge.py) reads a different property: @Value("${gitgalaxy.zone:Asia/Kolkata}"). Nothing reads gitgalaxy.culture.zone.

Today the result is still right, because the configured zone is also baked in as the @Value default. But an operator who changes the zone the way the generated application.yml invites -- editing gitgalaxy.culture.zone -- changes nothing: the clock keeps the baked zone, and FUNCTION CURRENT-DATE's offset silently stays the old one.

Fix direction: one property name. Either the clock reads gitgalaxy.culture.zone (keeping gitgalaxy.zone as an alias for the equivalence harness, which sets it), or the yml writes gitgalaxy.zone; and the docstring matches. A test: a generated project with culture.zone: Asia/Kolkata, the yml key changed to Europe/Berlin, the clock's zone follows.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    legacy-modernization
    priority: low
    on Sep 27, 2026
  2. added a commit that references this issue on Sep 28, 2026
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

    buglegacy-modernizationpriority: low

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions