You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated application.yml writes gitgalaxy.culture.zone, but MainframeClock reads gitgalaxy.zone: the yml's zone is dead config #3934
bugUnintended behavior or logic failure in the enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizations
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.
bugUnintended behavior or logic failure in the enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizations
Activity
#3934 / #3930: the yml's culture.zone reaches the clock; tickets refe…