ci: Add ORA_TZFILE workaround to ruby_head#2804
Merged
Merged
Conversation
ruby_head.yml runs the same CRuby + Instant Client matrix that hit ORA-01805 in rsim#2734, but was not updated when test.yml was. Mirror the ORA_TZFILE workaround into ruby_head.yml so the nightly head/debug/asan jobs stop failing on TIMESTAMP WITH TIME ZONE examples when the gvenzl/oracle-free server image and the rolling-latest Instant Client ship different TZ data versions. jruby_head.yml does not need this because the JDBC driver ships its own TZ data and ignores Instant Client's embedded copy. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mirror PR #2734's
ORA_TZFILEworkaround into.github/workflows/ruby_head.yml.ruby_head.ymlruns the same Oracle Instant Client (rolling-latest, currently 23.26.2.0.0) against the samegvenzl/oracle-free:latestserver image (currently 23.26.1.0.0) used bytest.yml. Without the workaround, every CRuby row of the head/debug/asan matrix producesORA-01805: possible error in date/time operationon the fourTIMESTAMP WITH TIME ZONEexamples inspec/active_record/oracle_enhanced/type/timestamp_spec.rb— exactly the failure mode #2734 was opened to fix.Change
Insert the same step that
test.ymlalready runs between "Create database user" and "Bundle install":Why only
ruby_head.yml?test.ymltest_prepared_statements_false.ymlruby_head.ymljruby_head.ymltest_11g.ymltest_11g_ojdbc11.ymlTest plan
ruby_headviaworkflow_dispatchonyahonda/oracle-enhancedand confirm the matrix passes, in particularspec/active_record/oracle_enhanced/type/timestamp_spec.rb.rsim/oracle-enhancedonce merged (next nightly cron at 00:00 UTC).🤖 Generated with Claude Code